5 ms·
Very interested in this technology, would like to see some examples created with this technology, more than games. Are there any cpu/gpu heavy applications out
by inDigiNeous 12y ago
Very interested in this technology, would like to see some examples created with this technology, more than games. Are there any cpu/gpu heavy applications out there that compile from C++ to asm.js ?
Or any good examples of writing the whole webpage with C++ somehow? All the current examples I've seen utilize webgl canvas and handle the interaction there. How about interaction with a regular HTML interface ?
- andrewchambers 12y agoThere are examples of python and lua interpreters being compiled, a pdf renderer, graphviz, a 2d physics engine, and a speech synthesizer. you just need to google it. I myself have modified an emulator to run aswell.
- flohofwoe 12y agoOh right! I almost forgot another cool side project I did last christmas with emscripten: use JSMESS to restore some of my old 8-bit games I wrote as kid in the 80's on an obscure East-German home computer: http://www.flohofwoe.net/history.html http://www.flohofwoe.net/history.html
- arcatek 12y agoffmpeg - http://bgrins.github.io/videoconverter.js/ http://bgrins.github.io/videoconverter.js/
- Kurtz79 12y agoAs impressive as it is, I think it shows some limitations of the system: "The ffmpeg.js file is around 24.1 MB or so. It ends up being around 6.1 MB gzipped. The ffmpeg-all-codecs.js file is around 27.5 MB or so. It ends up being around 6.9 MB gzipped." EDIT: With a fast connection it´s actually not so bad. https://video-funhouse.herokuapp.com/ https://video-funhouse.herokuapp.com/ I imagine it would be possible to generate a smaller version selecting only a subset of features/codecs. Has someone tried it ?
- Ono-Sendai 12y agoI wrote this in C++: http://suprsede.com/ http://suprsede.com/ Go easy on it!
- dividuum 12y agoNot C++ but C, but I did get a basic port of my program info-beamer running in a few hours. It's a C program that's controlled by Lua scripts and renders to OpenGL. The example scene just shows an image that gets modified by a GLSL shader. http://dividuum.de/experiments/info-beamer-js/ http://dividuum.de/experiments/info-beamer-js/
- u124556 12y agoIt would be interesting to see node.js and meteor working with emscripten. Then you can forget javascript and keep it all in c++.