3 ms·
I'm most impressed by the compact size of the Javascript blob (around 6.5 MB gzipped for the FSP demo, unless I'm missing something), since this is C# code cros
by flohofwoe 13y ago
I'm most impressed by the compact size of the Javascript blob (around 6.5 MB gzipped for the FSP demo, unless I'm missing something), since this is C# code cross-compiled to C, and then cross-compiled to JS, including the Mono and Unity runtimes, I was expecting this to be a lot more.
- matthew-wegner 13y agoRegarding the Mono runtime: To convert the .NET game code (your C# and UnityScript scripts) into JavaScript, we developed a new technology in-house which we call IL2CPP. IL2CPP takes .NET bytecode and converts it to corresponding C++ source files, which we can then compile using any C++ compiler — such as emscripten to get your scripts converted to JavaScript. Expect more information on IL2CPP soon.
- pjmlp 13y agoThere are some rumours on Unity forums how IL2CPP might influence the existent issues with the legacy Mono runtime on Unity.