Better HN
top
new
best
ask
show
jobs
Log in
Sign up
C/C++ to LLVM IR to asm.js to C benchmarks | Better HN
C/C++ to LLVM IR to asm.js to C benchmarks
(article.gmane.org)
9 points · by
mechazawa
· 12y ago · 2 comments
Comments
[–]
bkaradzic
12y ago
It's ~3x slower than native on my test (native vs asm.js vs PNaCl):
https://github.com/bkaradzic/bgfx#30hz-test-for-browsers
[–]
cordite
12y ago
If the entire codebase gets through to this process, it seems like it would be no effort to port to another architecture (arm, mips, etc.)
Not saying it is an optimal way to cross compile.