For a course at the university I have to demonstrate asm.js. I found a tutorial (http://www.sitepoint.com/understanding-asm-js/) which was exactly what I was looking for. So I created the given C++-File and compiled it with Emscripten. The result was a nearly 10000-lines long file. Nowhere to find the "use asm"-statement. And by comparison to the handwritten JavaScript-File it is much slower.
I'm using a portable Emscripten-SDK-package and updated it before using it.
How can I get Emscripten to generate good asm-Code?
UPDATE: I found a different solution for my demonstration without Emscipten: https://gist.github.com/dherman/3d0b4733303eaf4bae5e. Maybe someone need this to.