3 ms·
> The closest I've seen to this working is maybe games written in C++ that can be fairly easily built for different mobile platforms with a few native language
by fhd2 13y ago
> The closest I've seen to this working is maybe games written in C++ that can be fairly easily built for different mobile platforms with a few native language bits done via a bridge where needed.
Speaking for the game industry, C++ is probably the only thing you can use almost everywhere. Some handhelds/consoles have certification gates and their own weird compilers. And almost every platform that runs games can run native code to some extent. Even browsers lately, if indirectly, with stuff like Emscripten and PNaCl.
So languages that compile to C (like Chicken) or have embeddable lightweight interpreters (like Lua) are similarly portable.
- cageface 13y agoIt's pretty ironic but it's true. C++ is your best option if you need code that works on multiple platforms. You could always write in C I guess but personally I find C too low level for app development.