So I have started learning c++ and saw an article on Microsoft website talking about Which is I guess supposed to compete with c++ would this be as fast or still slower than c++?
Its just .NET im code recompiled to native code, more like ngen’ed images. Maybe a bit faster, but as far as I know Microsoft will only use it for ‘modern’ apps and the Windows Runtime.
Thanks I was just wondering as I saw that it could be used for games.
Theoretically the same because at that point both C++ and Native .NET will be compiled to same CPU machine code, quastion is more if .NET core liberies are slower then C++ Standard Library which a lot slimer and C++ usally direclly talk to system
Thanks guys for the quick response and help.
I’ve talked about this with the product manager for Visual Studio/.Net last year on TechEd. Its not ngen’ed images, its more than that. What happens in the background is that the Visual C++ compiler is instructed to compile the byte code to native code as if it was C++ source code(instead its using the byte code as input). Very interesting! BUT!!! Last year the state was: only for Windows Store applications. There were no plans to make this available for non-Windows-Store applications(like a console application, normal Windows/WPF application etc). It had something to do with Windows Phone: when you compile a .Net application for Windows Phone 10, it gets compiled in the background with Visual C++(dont know if that happens in Microsoft Store or local on your machine) so it runs native on the phone without a .Net runtime.
I urged the product manager to make this technology available for all types of .Net applications(or at least class libraries and normal Console/Windows). He replied ‘hmm, ehmm… well… we will look in to it’ which I interpreted as ‘no way in hell, go away’ Was a very cool guy btw, talked a lot about how the development process works at MS. Very interesting!
Interesting