TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Asm.js performance closing in on GCC (Android and Desktop)

6 pointsby fursundalmost 11 years ago

2 comments

flohofwoealmost 11 years ago
This reminds me of my &quot;conversion&quot; from non-believer to believer nearly 2 years ago: <a href="http://flohofwoe.blogspot.de/2012/10/mea-culpa.html" rel="nofollow">http:&#x2F;&#x2F;flohofwoe.blogspot.de&#x2F;2012&#x2F;10&#x2F;mea-culpa.html</a><p>I don&#x27;t quite understand the &quot;Implications for Development&quot; part at the end though, emscripten provides a very standard GCC style toolchain, so it&#x27;s relatively easy to get makefile-based projects compiled (personally I prefer cmake since it also generates IDE project files). The output of emscripten isn&#x27;t meant to be maintained, instead it should be treated like compiled binary code, and recompiled from their C&#x2F;C++ sources. There&#x27;s no really useful interactive debugging (although there is support for source-maps), but I usually just debug a native desktop version of a project in Xcode or VisualStudio. For emscripten platform-specific bugs the generated (non-minified) JS code is actually quite readable.<p>Finally, I had much less problems porting my code and build system to emscripten then to Android&#x27;s NDK. And if the code is already running on Native Client, an emscripten port should be relative easy, because (apart from missing pthreads support in emscripten), the limitations of running in a browser environment are quite similar.
rogerdpackalmost 11 years ago
and speed vs libjpeg-turbo? please? [disappointed to see I couldn&#x27;t actually post comments on the site itself]