Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No, but I'd say it's low-level language specific. C, C++, Pascal, Swift, Go, D and the like. Not C# or Java.

asm.js is directly relatable to something like C, yes. But languages like C# are possible as well, if you add another step. For example, Unity compile C# into C++, then C++ into asm.js.

This would be even harder for arbitrary JS, of course, as it's much more dynamic than C#. Still, it would be an interesting experiment.



I'm not sure you really can compile C# directly to native code. A subset, maybe, but not C# proper.


Yes, I think it's a subset, some of the more dynamic things are probably not supported.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: