I am having trouble understanding this comment on the link 
https://kripken.github.io/emscripten-site/docs/porting/guidelines/portability_guidelines.html
 
:

"Code relying on a big-endian architecture. Emscripten-compiled code 
currently requires a little-endian host to run on, which accounts for 99% 
of machines connected to the internet. This is because JavaScript typed 
arrays (used for views on memory) obey the host byte ordering and LLVM 
needs to know which endianness to target."

1. Is it possible to transpile portable C/C++ to Javascript on a big endian 
architecture like SPARC ? What I mean by portable here is that the code 
makes no assumption about the underlying machine's endianness. Like 
towers.c, gcc-loops.c benchmarks in JetStream 1.1 (
http://browserbench.org/JetStream/in-depth.html)
2. My interest is in running JS benchmarks like jetstream on SPARC. Can I 
do that with emscripten ?

I also asked the question here on stackoverflow, but no response yet 
http://stackoverflow.com/questions/43812491/how-can-i-generate-asm-js-from-c-c-on-big-endian-architecture

Thanks in advance !
CVanc

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to