llvm-js VS emception

Compare llvm-js vs emception and see what are their differences.

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
llvm-js emception
1 6
16 337
- 0.0%
10.0 2.9
about 13 years ago about 1 year ago
C++ C++
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

llvm-js

Posts with mentions or reviews of llvm-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-02.
  • Using Firecracker and Go to run short-lived, untrusted code execution jobs
    9 projects | news.ycombinator.com | 2 Aug 2022
    Here are some more ports of LLVM and clang to the browser:

    * https://github.com/kripken/llvm-js

    * https://github.com/tbfleming/cib

    * https://github.com/jprendes/emception

    LLVM just does pure computation, really, so it's not hard to port to wasm - much simple than say Python (which has also been ported several times). The only challenges with LLVM are the build system (which has self-execution), working around some issues like clang wanting to open a subprocess, and adding some ifdefs.

emception

Posts with mentions or reviews of emception. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-11.
  • Show HN: ToyWithRaylib, compile and run raylib games on the browser
    2 projects | news.ycombinator.com | 11 Apr 2025
    Some months ago, I created https://toywithraylib.com/, a little project that uses emception (https://github.com/jprendes/emception)

    It allows you to build and run raylib projects entiretly on the browser (It is compiled and run entirely locally!)

    It has raylib 5.6, rlImGui and box2d included! It can be used to run any C++ project, allowing configuring the build options using python (which also runs entirely in the website)

    Once you are finished testing, you can download the code or download the game in order to share, which will be stored in a single-file HTML file, it also has basic link-sharing capabilities but I don't expect them to work with large examples since it is url-based.

    The project is opensourced, I just wanted to hack it to get it working, but if somebody wants to improve it or fork it, is more than welcomed to do so :)

    Project link: https://github.com/Rucadi/emception_raylib

  • Show HN: Compiling C in the browser using WebAssembly
    12 projects | news.ycombinator.com | 7 Oct 2024
    See: emception

    https://github.com/jprendes/emception

  • Using Firecracker and Go to run short-lived, untrusted code execution jobs
    9 projects | news.ycombinator.com | 2 Aug 2022
    Here are some more ports of LLVM and clang to the browser:

    * https://github.com/kripken/llvm-js

    * https://github.com/tbfleming/cib

    * https://github.com/jprendes/emception

    LLVM just does pure computation, really, so it's not hard to port to wasm - much simple than say Python (which has also been ported several times). The only challenges with LLVM are the build system (which has self-execution), working around some issues like clang wanting to open a subprocess, and adding some ifdefs.

  • Is that possible to use a Nim compiler in the browser?
    2 projects | /r/nim | 18 May 2022
    I have just stumbled upon this project which does exactly that - compiles C/C++ to WASM right in the browser. The included demo wouldn't load on my machine for some reason though. But it is the exact scenario I have thought of, running your whole 'IDE' in the browser, while serving the page's files simply with a GitHub page.
  • Rust programming concepts for JavaScript developers
    3 projects | news.ycombinator.com | 22 Nov 2021
    It takes some work (mostly due to LLVM building code to run later in its build system as it goes), but it's very feasible. LLVM has been ported to Wasm (and before that to JS) many times, for example:

    https://github.com/jprendes/emception (2021)

    https://github.com/tbfleming/cib (2017)

    https://github.com/kripken/llvm.js (2012)

    I agree it would be great to see this repl running 100% in the browser!

  • The Emscripten compiler itself has been compiled to WebAssembly
    1 project | news.ycombinator.com | 5 Nov 2021

What are some alternatives?

When comparing llvm-js and emception you can also consider the following projects:

cib - clang running in browser (wasm)

Theta - θ A statically typed, functional programming language that compiles to WebAssembly

skybison - A fork of Instagram's experimental performance oriented greenfield implementation of Python. It features small objects; a moving GC; hidden classes; bytecode inline caching; type-specialized bytecode; an experimental template JIT.

x86-64-playground - An online assembly editor and debugger for the x86-64 architecture

windmill - Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal.

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that C++ is
the 7th most popular programming language
based on number of references?