Software Alternatives & Reviews

Emscripten VS LLVM

Compare Emscripten VS LLVM and see what are their differences

Emscripten logo Emscripten

Emscripten is an LLVM to JavaScript compiler.

LLVM logo LLVM

LLVM is a compiler infrastructure designed for compile-time, link-time, run-time, and...
  • Emscripten Landing page
    Landing page //
    2021-08-02
  • LLVM Landing page
    Landing page //
    2019-11-06

Emscripten videos

Monster Madness Online (Emscripten Web Technology Overview)

LLVM videos

Interview with LLVM Foundation President Tanya Lattner

More videos:

  • Review - [COSCUP2021] A trip about how I contribute to LLVM
  • Review - Introduction to LLVM Building simple program analysis tools and instrumentation

Category Popularity

0-100% (relative to Emscripten and LLVM)
Email Marketing
51 51%
49% 49
IDE
45 45%
55% 55
CRM
49 49%
51% 51
Project Management
44 44%
56% 56

User comments

Share your experience with using Emscripten and LLVM. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

LLVM might be a bit more popular than Emscripten. We know about 51 links to it since March 2021 and only 45 links to Emscripten. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Emscripten mentions (45)

  • Software Applications Incorporated
    Https://infinitemac.org, which is https://basilisk.cebix.net compiled for the web using https://emscripten.org. - Source: Hacker News / 5 months ago
  • How does one get started with unit testing?
    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
  • Playing with low-level memory in WebAssembly
    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
  • Is there any alternative other than JavaScript to deal with web frontend?
    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 builds for WASI since 3.41.0
    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 / 11 months ago
View more

LLVM mentions (51)

  • Ask HN: Which books/resources to understand modern Assembler?
    'Computer Architeture: A Quantitative Apporach" and/or more specific design types (mips, arm, etc) can be found under the Morgan Kaufmann Series in Computer Architeture and Design. "Getting Started with LLVM Core Libraries: Get to Grips With Llvm Essentials and Use the Core Libraries to Build Advanced Tools " "The Architecture of Open Source Applications (Volume 1) : LLVM" https://aosabook.org/en/v1/llvm.html... - Source: Hacker News / 11 days ago
  • Programming from Top to Bottom - Parsing
    You can never mistake type_declaration with an identifier, otherwise the program will not work. Aside from that constraint, you are free to name them whatever you like, there is no one standard, and each parser has it own naming conventions, unless you are planning to use something like LLVM. If you are interested, you can see examples of naming in different language parsers in the AST Explorer. - Source: dev.to / 2 months ago
  • Why do lifetimes need to be leaky?
    C++ compiler which compiles the Rust as if it were C++ (LLVM). Source: 5 months ago
  • Bring garbage collected programming languages efficiently to WebAssembly
    LLVM isn't a virtual machine, but WASM is. That's obviously a common misconception given the name -- LLVM was meant to be a VM early in its life, but never was, and isn't now. It's clarified in the first sentence of a home page - https://llvm.org/ It's basically a bunch of C++ libraries that implements an IR that changes over time, which help you write compilers. Curiously, I think a decade or more ago there was... - Source: Hacker News / 6 months ago
  • I'm wanting to write my first compiler, but getting a little bit mixed up in general.
    This will be much easier using tools like LLVM, but this is the basic outline of creating a compiler. Source: 10 months ago
View more

What are some alternatives?

When comparing Emscripten and LLVM, you can also consider the following products

Tiny C Compiler - The Tiny C Compiler is an x86, x86-64 and ARM processor C compiler created by Fabrice Bellard.

GNU Compiler Collection - The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting...

WebAssembly - Application and Data, Languages & Frameworks, and Languages

clang - C, C++, Objective C and Objective C++ front-end for the LLVM compiler.

NASM - The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler designed for portability and...

Cheerp - Enterprise-grade C/C++ compiler for Web applications. Compiles to WASM/JavaScript