Saturday, December 18, 2010

Emscripten 0.7!

Main changes in this release:
  • Lots of minor fixes and additions, in order to get CPython working. As a result there is now a web demo of Python, which seems to work quite well aside for being very slow in Chrome.
  • Figuring out what to do with LLVM optimizations. It looks like all of them generate suitable code except for -instcombine, which apparently combines instructions in a CPU-specific way (so, it isn't portable, and confuses Emscripten). All the tests now pass with LLVM optimizations enabled (all but the problematic one just mentioned).
So, not much in the way of new features: As mentioned before, we are already pretty much feature complete at this point.

3 comments:

  1. Can LLVM and clang itself be translated to Javascript using Emscripten?

    ReplyDelete
  2. @Ed: In principle yes, but we would probably need to write some additional libc stuff we don't have yet.

    ReplyDelete