News for hackers. Stuff that matters.
Re:Microsoft's CoreRT turns C# into cross-platform C++ by valarauca1 on Monday October 31, 2016 @03:00PM (#12839854)
The use case is advertised as allowing you to port code to new devices. But the github repo says it only supports Ubuntu, OSX, and Windows. Lastly C++ isn't generally considered a portable language.

Frankly the idea of porting a C# runtime to a new platform sounds more exciting then debugging 10,000SLoC of machine generated C++ to a new arch.

Re:Microsoft's CoreRT turns C# into cross-platform C++ by charlesdm on Monday October 31, 2016 @03:21PM (#12840034)
If they only use a limited subset of C++, it is a pretty portable language. If they use all bells and whistles the language has to offer, then it will be a nightmare.
Re:Microsoft's CoreRT turns C# into cross-platform C++ by RantyDave on Monday October 31, 2016 @06:17PM (#12841465)
Why the limited subset? I know that STL and embedded aren't the best of friends but where else is there a problem? Is it the threading stuff?
Re:Microsoft's CoreRT turns C# into cross-platform C++ by charlesdm on Monday October 31, 2016 @06:26PM (#12841533)
Embedded devices usually can't compile the entire C++ language, because of limited hardware and/or compiler tools.