Kang Su Gatlin - What's the advantage to writing managed code in Visual C++?
- Posted: Jul 13, 2004 at 10:51 AM
- 31,634 Views
- 7 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- WMV (WMV Video)
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Thanks,
Kang Su Gatlin
Visual C++ Program Manager
Kang,
I have enormous appreciation for MC++. The ability to bridge managed and unmanaged code is so powerful. It takes a lot of smarts to allow for such seamless Interoperability and optimization work that VC++ team has made, with each product release. Congratulations!
My wish would only be if MC++ could be possible on the .NET Compact Framework. As on the desktop, the embedded type devices (Windows CE base) have system level features only exposed thru native API. P/Invoke is too limiting and primitive comparing to the power and flexibility of MC++.
Is it feasible to have MC++ on Compact Framework in the near future? (I am sure that VC++ team does not shy away from a challenge)
Mike M
WinInsider.com
Microsoftonian
But thank you for the feedback.
Thanks,
Kang Su Gatlin
Visual C++ Program Manager
I can't imagine writing any new managed code using STL or templates unless I had a good reason.
Templates in general give you the great advantage of runtime efficiency, while being Turing Complete (yes, you can express any computable function with templates).
And there still is no equivalent to the algorithms and containers in the STL -- that I've seen at least. Remember you can have user-defined specialization, and partially specialized templates.
Let me refer you to a couple of articles:
http://www.developer.com/net/cplus/article.php/10919_3367531_1
http://weblogs.asp.net/branbray/archive/2003/11/19/51023.aspx
I think you'll never look at generics and templates the same way again.
Kang Su Gatlin
visual C++ Program Manager
I think the point I was trying to make is that I would like to use common library type functions suchas strings, containers and iterators from the .NET framework, and these classes should be optimised for performance. To be honest, in the future, I don't really want to see multiple libraries from Microsoft with overlapping functionality. But thats just my 10 cents.
In the past the STL implementation and in fact the template implementation in Microsoft C++ was quite poor. Just resolving compile errors was a pain,intellisense was useless and debugging a nightmare. So you might understand why I am scheptical about use of templates.
Thanks for the links and insight.
Question:
For C++ software targeting the x86 CPUs, what are the trade-offs for using a 64-bit or 32-bit exe? If the answers are seperate managed and unmanaged code, that would be interesting also. ISVs need some solid criteria to base a decision on.
Question Background:
Obviously some things, like anything to run in kernel space must be 64bit. But if the application does not gain in features (ex: does not need more memory space) does it make sense to rebuild? Take mspaint.exe for example. Microsoft chose to release that as a 64-bit exe, but is anyone going to try to paint a bmp that exceeds the 32-bit limit? (I suspect there was an order from on high that everything would be 64bit in the 64-bit windows so no per-application decision was made on that). I am seeing 20-60% increase in memory consumption between a 32-bit and 64-bit build of the same code. Even though you can add more memory you still have to pay for it! I work mostly in the Terminal Server area, and when we talk about 200 or more instances running on a server of a 20MB versus 30MB app it becomes important (especially because the server farm may typically be 5-10 servers - That is a lot of money for the extra memory for just one app). Those parts are relatively obvous, but what about 32/64 performance? Is it "close enough to not matter"? The extra registers and all. And anything else that Microsoft learned so far with all the porting it has done?
Thanks
Remove this comment
Remove this thread
close