3 ms·
All true, but you're forgetting that Mono can AOT compile C# to native code using LLVM. That's how Xamarin.iOS works. So il2cpp doesn't really bring anything ne
by Skinney 12y ago
All true, but you're forgetting that Mono can AOT compile C# to native code using LLVM. That's how Xamarin.iOS works. So il2cpp doesn't really bring anything new to the table.
- pdaddyo 12y agoBut it does solve their biggest issue - ultimately enabling Unity projects to publish to the web without plugins (WebGL / javascript). Once all code in a Unity project eventually ends up as C++ (even if it started as C#), they can leverage Emscripten, asm.js and related technologies to enable Unity devs to use C# in the editor, which is converted to C++, and ultimately Javascript. It seems crazy, but it might just work!
- cwyers 12y ago"But it does solve their biggest issue - ultimately enabling Unity projects to publish to the web without plugins (WebGL / javascript)." I'm not really sure that is their biggest issue; HTML5 publishing of Unity games seems mostly a novelty at this point.
- azakai 12y agoIt is still pretty new, yes, but it seems to work well (see for example https://hacks.mozilla.org/2014/10/unity-games-in-webgl-owlchemy-labs-conversion-of-aaaaa-to-asm-js/ https://hacks.mozilla.org/2014/10/unity-games-in-webgl-owlch... ), and it's been one of the most-asked for features by Unity users on their forums.
- Skinney 12y agoRegarding the C# -> C++ -> JS thing, it really must alot easier to do a C# -> JS conversion...