by mynegation · 10y ago · 0 comments
This is small, probably supports most things.
This can be used to show small hacks about programming(c++ has many of them) and share with others. The developer can experiment in the browser.
cern uses a c interpreter for real. This is just bringing it to a wider audience with a friendlier interface.
i wonder if it works with cuda... http://llvm.org/docs/CompileCudaWithLLVM.html
It only got production quality for Objective-C and Swift interoperability.
Also it relied on an external description files, instead of extending C++.
This is false, it is used in production at Google for over 200+ million lines of C++. In fact, it's the only modules implementation actually used in production, AFAIK.
"It only got production quality for Objective-C and Swift interoperability."
Also false :)
"Also it relied on an external description files, instead of extending C++." Which means what, precisely? This is a means to compatibility, nothing else.
The other proposal basically breaks everything to make modules work (IE a non-modules compiler cannot work with the code once converted to modules). That may or may not be worth the cost compared to enabling incremental transitions.
Saying "it didn't extend C++" is a non-sequitur. What the standard accepts are extensions of C++. If the standard accepts that proposal, it's an extension of C++.
You could say using header files were "external description files" that didn't extend C++ before they were part of the standard.