Software Alternatives & Reviews

Emscripten VS Cython

Compare Emscripten VS Cython and see what are their differences

Emscripten logo Emscripten

Emscripten is an LLVM to JavaScript compiler.

Cython logo Cython

Cython is a language that makes writing C extensions for the Python language as easy as Python...
  • Emscripten Landing page
    Landing page //
    2021-08-02
  • Cython Landing page
    Landing page //
    2023-10-15

Emscripten videos

Monster Madness Online (Emscripten Web Technology Overview)

Cython videos

Stefan Behnel - Get up to speed with Cython 3.0

More videos:

  • Review - Cython: A First Look
  • Review - Simmi Mourya - Scientific computing using Cython: Best of both Worlds!

Category Popularity

0-100% (relative to Emscripten and Cython)
Email Marketing
100 100%
0% 0
Website Builder
0 0%
100% 100
IDE
100 100%
0% 0
Website Design
0 0%
100% 100

User comments

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

Social recommendations and mentions

Cython might be a bit more popular than Emscripten. We know about 47 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 / 12 months ago
View more

Cython mentions (47)

  • Ask HN: C/C++ developer wanting to learn efficient Python
    Https://cython.org can help with that. - Source: Hacker News / 24 days ago
  • How to make a c++ python extension?
    The approach that I favour is to use Cython. The nice thing with this approach is that your code is still written as (almost) Python, but so long as you define all required types correctly it will automatically create the C extension for you. Early versions of Cython required using Cython specific typing (Python didn't have type hints when Cython was created), but it can now use Python's type hints. Source: 11 months ago
  • Codon: Python Compiler
    Just for reference, * Nuitka[0] "is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11." * Pypy[1] "is a replacement for CPython" with builtin optimizations such as on the fly JIT compiles. * Cython[2] "is an optimising static compiler for both the Python programming language and the extended Cython programming language... Makes writing C... - Source: Hacker News / 12 months ago
  • Any faster Python alternatives?
    Profile and optimize the hotspots with cython (or whatever the cool kids are using these days... It's been a while.). Source: about 1 year ago
  • What exactly is 'JIT'?
    JIT essentially means generating machine code for the language on the fly, either during loading of the interpreter (method JIT), or by profiling and optimizing hotspots (tracing JIT). The language itself can be statically or dynamically typed. You could also compile a dynamic language ahead of time, for example, cython. Source: about 1 year ago
View more

What are some alternatives?

When comparing Emscripten and Cython, 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.

Numba - Numba gives you the power to speed up your applications with high performance functions written...

LLVM - LLVM is a compiler infrastructure designed for compile-time, link-time, run-time, and...

nuitka - Nuitka is a Python compiler.

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

PyInstaller - PyInstaller is a program that freezes (packages) Python programs into stand-alone executables...