Blogspot - mozakai.blogspot.com - azakai
General Information:
Latest News:
Outlining: a workaround for JITs and big functions 22 Aug 2013 | 11:38 pm
Just In Time (JIT) compilers, like JavaScript engines, receive source code and compile it at runtime. That means that end users can notice how long things take to compile, and avoiding noticeable comp...
What asm.js is and what asm.js isn't 20 Jun 2013 | 10:34 pm
This is going to be a bit long, so tl;dr asm.js is a formalization of a pattern of JavaScript that has been developing in a natural way over years. It isn't a new VM or a new JIT or anything like that...
Lua in JavaScript: Running a VM in a VM 30 May 2013 | 09:45 pm
Lua is a cool language, and it would be great to run it on the web. It isn't easy to do that though, see this answer (and the thread around it), [Converting/running Lua in JavaScript] is a recurrent ...
The Elusive Universal Web Bytecode 14 May 2013 | 11:09 pm
It's often said that the web needs a bytecode. For example, the very first comment in a very recent article on video codecs on the web says A proper standardized bytecode for browsers would (most lik...
Heap corruption checking in Emscripten 22 Feb 2013 | 12:49 am
I've seen a few weird things when porting codebases, where it just doesn't behave properly. Sometimes this is a bug in the compiler, but it can also be that the source is not fully portable. It can be...
Emscripten News: LLVM 3.2, etc. 22 Dec 2012 | 04:57 am
LLVM 3.2 was just released today, and as with every LLVM release emscripten is switching to it. (We only support a single LLVM version at a time; if you don't want to upgrade to LLVM 3.2 just yet, you...
Emscripten Compiler Upgrades 13 Nov 2012 | 01:51 am
Several major architecture improvements have landed in the last few weeks in Emscripten, here is an overview. New Eliminator The eliminator optimization phase was originally written by Max Shawabkeh....
Emscripten News: BananaBread, Nebula3, GDC Online, Websockets, Worker API, Performance, etc 25 Oct 2012 | 10:14 pm
I haven't found time to blog about individual things, so here is one post that summarizes various Emscripten-related things that happened over the last few months. BananaBread BananaBread, a port of ...
BananaBread (or any compiled codebase) Startup Experience 25 Jul 2012 | 12:54 am
This post talks about startup experience improvements in BananaBread. BananaBread is a specific 3D game engine compiled from C++ to JavaScript, but the principles are general and could be applied to a...
Experimenting with an LLVM backend for JavaScript 20 Jul 2012 | 01:30 am
We have started to experiment with an LLVM backend for JavaScript. The reasons, approach and other notes are all on the relevant emscripten wiki page. If you know LLVM and JavaScript and want to help...