Question

I'm developing a cross-mobile platform framework using C as base. Then i will make some wrappers for each specific platform (like ios, android, bb). One of my targets platform is firefox-os. I de like to know if will be possible to use c libs in firefox-os, but i couldn't find anything about it.

Was it helpful?

Solution

If you look at the following Firefox OS architecture document it should answer your questions: https://wiki.mozilla.org/B2G/Architecture

For example, under Gaia it says, "Its only interface to the underlying operating system is through Open Web APIs, which are implemented by Gecko." That means that Javascript is the only interface you have to lower-level calls provided they are available via the Open Web APIs.

OTHER TIPS

A workaround would be compiling your C code to JavaScript with emscripten. Firefox will implement asmjs in the near future, so the compiled code will probably be very performant (since emscripten will target asmjs as output).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top