3 ms·
With Firefox OS you could also write C or C++ (possibly Rust eventually) thanks to emscripten and asm.js. But, crucially, asm.js makes them portable. No compili
by TazeTSchnitzel 12y ago
With Firefox OS you could also write C or C++ (possibly Rust eventually) thanks to emscripten and asm.js. But, crucially, asm.js makes them portable. No compiling for different architectures.
- deleted 12y ago[deleted]
- Kankuro 12y agoMy experience: I considered porting Ankidroid (a flashcard app) from Android to FirefoxOS (because it is a must-have for my phone). Its storage is based on SQLite, which is ported into Javascript via emscripten. Problem: it only support in-memory operations. Because my SQLite file is 70Mo+ large, it is not an option. In SQLite you can write a abstraction layer for the I/O, but the operations are synchronous, and all the I/O operations in Firefox OS are asynchronous (so it would require modifying heavily the library). So I gave up, and maybe I will start the day FirefoxOS provides supports natively SQLite. Sad thing: Firefox addons have native support for SQLite.