4 ms·
I do wonder why more people don't make use of a C physics engine (portable everywhere, including browsers via asm.js), and code the logic in a higher level lang
by tehwalrus 12y ago
I do wonder why more people don't make use of a C physics engine (portable everywhere, including browsers via asm.js), and code the logic in a higher level language which can compile down to C (like Python via Cython.)
I guess the problem is that you need different rendering code? OpenGL works on PC and mobile, but you'd need to mock it out for WebGL. Has someone already done this for asm.js?
Presumably there is some other huge hole in my thinking...
- highCs 12y agoThat is the goal of Haxe[1] I've always thought it is a good idea. That may be under appreciated. [1]: http://haxe.org/ http://haxe.org/
- tehwalrus 12y agoThat looks awesome, and not just for games. Thanks for the recommendation!
- wtracy 12y agoHaxe looks really cool, but the last time I looked at it, the documentation left a lot to be desired (most of it assumed familiarity with the Flash drawing APIs). It does look like the situation has improved since then, but I'm guessing that documentation is a big reason for Haxe being so underappreciated.