Asm.js- native apps in
web world
Michał Koźmiński <@michalkozminski>
Emscripten
LLVM to asm.js
Asm.js vs Javascript
Interacting with browser
Automation
Javascript in C++
Community
• http://beta.unity3d.com/jonas/DT2/
• http://vps2.etotheipiplusone.com:30176/redmine/proj
ects/emscripten-qt
• https://gi...
Thanks for watching
Meet.js: asm.js - native apps in web world
Meet.js: asm.js - native apps in web world
Meet.js: asm.js - native apps in web world
Upcoming SlideShare
Loading in …5
×

Meet.js: asm.js - native apps in web world

566 views
511 views

Published on

Published in: Internet, Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
566
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Emscripten takes in C/C++ code, passes it through LLVM, and converts the LLVM-generated bytecode into Asm.js.
    If the compiled Asm.js code is doing some rendering then it is most likely being handled by WebGL (and rendered using OpenGL).
  • Works with old browsers,
    lazy compile (we can skip evaluation by wrapping code in function, eval),
    hard to debug,
    2 compilers: Mandreel, Emscripten(in this presentation)
    types, no garbage collection
  • There are to ways that we can interact with browser. There are 2 ways to interact expose c++ methods to javascript or go other hipster way and show js libs to our c++ code
  • Lets go other way emscripten offers us also evaluation of javascript inside c++. We use for that val type to store global scope.
  • Emmscripten supports SDL 1.2 out of box but community added support for QT4 and OpenGL ES, BOX 2D and Unity 3d is supported as alpha.
  • Meet.js: asm.js - native apps in web world

    1. 1. Asm.js- native apps in web world Michał Koźmiński <@michalkozminski>
    2. 2. Emscripten LLVM to asm.js
    3. 3. Asm.js vs Javascript
    4. 4. Interacting with browser
    5. 5. Automation
    6. 6. Javascript in C++
    7. 7. Community
    8. 8. • http://beta.unity3d.com/jonas/DT2/ • http://vps2.etotheipiplusone.com:30176/redmine/proj ects/emscripten-qt • https://github.com/kripken/box2d.js/ • http://www.libraw.org/
    9. 9. Thanks for watching

    ×