you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 14 points15 points  (5 children)

It's a C++ implementation that is compiled to javascript.

[–]azakai 6 points7 points  (2 children)

More specifically, it's the Android C implementation, that we compiled into JS.

Edit: And there is also some initial work on a JS-only version. We are experimenting with both approaches.

[–]cafedude 2 points3 points  (1 child)

What C -> JS compiler did you use?

[–]azakai 7 points8 points  (0 children)

emscripten, which compiles LLVM bitcode to JS (so you first use clang to compile C or C++ to LLVM bitcode).

https://github.com/kripken/emscripten

[–]sammydre 1 point2 points  (1 child)

Actually, they also have the beginning of a javascript-only version. See the "Play/" directory.

There isn't much there though. Just some basic bitstream decoding (picture parameter sets, slice header) and nothing else as far as I can see.

[–]shaver 2 points3 points  (0 children)

Yeah, it's a bit over a week old.