Https://infinitemac.org, which is https://basilisk.cebix.net compiled for the web using https://emscripten.org. - Source: Hacker News / 5 months ago
One place that I’ve found some real, open source unit tests to look at for an example is in the emsdk for emscripten: https://emscripten.org. Source: 5 months ago
I am playing around with Emscipten which wraps around clang to compile C/C++ code in WASM binary and provide some glue-code API to embed WASM binary into JavaScript. Look into MDN Docs and Emscripten SDK to get started. - Source: dev.to / 8 months ago
Elm is a different approach that compiles into JavaScript. In the extreme case, you have Emscripten which will compile many language into JavaScript but will feel really clumsy compared to using JavaScript in a lot of cases. Source: 11 months ago
SQLite is a pretty popular database and it's a critical dependency for many different applications. By compiling it to Wasm32-wasi, you can add it to any WebAssembly module. This enables a new set of possibilities for Wasm and SQLite. For example, now you can run a full WordPress application in the browser [1][2] / server [3] using the same Wasm module. Note that for the browser these projects use Emscripten [4],... - Source: Hacker News / 12 months ago
The emscripten interface for the assimp library. It runs entirely in the browser, and allows you to import 40+ 3D file formats and access the result in JSON or glTF format. This is not a full port of assimp, but an easy to use interface to access it's functionality. Source: 12 months ago
Three.js is written in JS and loads like a JS library on a modern website. Godot is a binary application transpiled to WASM (with the help of emscripten), resulting in a pretty large initial payload. Godot provides JS integration, but it feels less "native" with its layers of abstraction. Source: about 1 year ago
WebAssembly's origins date back to Alon Zakai's incredible effort to build C++ to JavaScript. In 2015, we demonstrated the power of this technology to make scientific computational sustainable and accessible. Try it -- reproducibility is still possible all these years later, with no installation (or maintenance!) required. - Source: dev.to / over 1 year ago
Afaik they use C++ with emscripten with WebGL for their rendering. Source: over 1 year ago
Then use Emscripten (the C++ -> js, asm.js, wasm compiler) to cross compile to the web. Source: over 1 year ago
To bring the mocap data the browser I used emscripten to compile the project to WebAssembly. It's amazing how nowadays you can develop your app as a desktop application, and then bring it to the web by compiling it to WASM. Source: over 1 year ago
For Node.js or the Browser, build the project with the default Emscripten toolchain. - Source: dev.to / over 1 year ago
Windows has very weak sandboxing built in but potentially them running it in a web browser (i.e you compiling your program with Emscripten C++ -> JS/WebAssembly). Source: over 1 year ago
Implementing said things, however, can be tricky, and the community is kind of spread all over the place. Rust is popular, but involves a lot of crates and boilerplate code being strapped on. C/C++ is an easy way of targeting WASM using Emscripten, and I'm sure it works well, but I feel it fits in the same place as Rust where a lot needs to be strapped on to bring you up to production speed. - Source: dev.to / over 1 year ago
Post-university, I've learned most everything I've learned at work. I've done a few projects outside of work with non-work-related tech, like using emscripten to compile C++ to run in a web browser. Source: over 1 year ago
The tool for C++ to WASM compilation is called Emscripten. I personally haven't used it, never had the use case, but I've heard and seen good results from it. Source: over 1 year ago
I've been doing quite a bit of work with Emscripten, trying to build traditional C++ classes to manage a website, fed through jquery. I quite like Emscripten, and the produced WebAssembly code is crazy fast. All-in-all, I'd recommend giving it a try. Source: over 1 year ago
If you want to do it this way and use imgui, you can create your imgui c++ application as you would for a regular desktop and use Emscripten which now supports webassembly. Source: over 1 year ago
And WebAssembly is growing in popularity. It is not a language directly; it enables other languages client-side, including C# and C++. If you doubt that C++ can be used in a browser then you need to learn about Emscripten and WebAssembly. Source: over 1 year ago
I put WebAssembly (Wasm) first here because I'm a big fan of this technology. It allows all kind of software developers to use the programming language that they love. I prefer to work with the emscripten compiler tool chain and find it quite convenient for me. - Source: dev.to / almost 2 years ago
For example, it's common to convert languages like C++ into machine code, then ask the user to provide a CPU (basically, an interpreter implemented using pure silicon) to run the machine code. Alternatively, we might do something like convert C++ into WebAssembly or JavaScript using Emscriptem, which can be interpreted by a web browser (which is just an extremely complicated interpreter). Source: almost 2 years ago
Do you know an article comparing Emscripten to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Emscripten. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.