Software Alternatives & Reviews

Nim (programming language) VS Cython

Compare Nim (programming language) VS Cython and see what are their differences

Nim (programming language) logo Nim (programming language)

The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.

Cython logo Cython

Cython is a language that makes writing C extensions for the Python language as easy as Python...
  • Nim (programming language) Landing page
    Landing page //
    2021-07-31
  • Cython Landing page
    Landing page //
    2023-10-15

Nim (programming language) videos

No Nim (programming language) videos yet. You could help us improve this page by suggesting one.

+ Add video

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 Nim (programming language) and Cython)
Programming Language
92 92%
8% 8
Website Builder
18 18%
82% 82
Generic Programming Language
Website Design
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, Nim (programming language) should be more popular than Cython. It has been mentiond 142 times since March 2021. 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.

Nim (programming language) mentions (142)

  • 3 years of fulltime Rust game development, and why we're leaving Rust behind
    I'd be interested to hear the author's take on Nim [1], which seems to be better suited for game development than Rust by staying out of the dev's way [2], and supports hot-reloading (at least in Unreal Engine 5) [3]? [1] https://nim-lang.org/ [2] https://youtu.be/d2VRuZo2pdA?si=E3N62oUJ-clXozCg [3] https://www.youtube.com/watch?v=Cdr4-cOsAWA. - Source: Hacker News / 8 days ago
  • "14 Years of Go" by Rob Pike
    I think the right answer to your question would be NimLang[0]. In reality, if you're seeking to use this in any enterprise context, you'd most likely want to select the subset of C++ that makes sense for you or just use C#. [0]https://nim-lang.org/. - Source: Hacker News / 2 months ago
  • Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
    I don't think it's a rust-inspired language, but since it has strong typing and compiles to javascript, did you give a look at nim [0] ? For what it takes, I find the language very expressive without the verbosity in rust that reminds me java. And it is also very flexible. [0] : https://nim-lang.org/. - Source: Hacker News / 4 months ago
  • Nim
    FYI, on the front page, https://nim-lang.org, in large type you have this: > Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. - Source: Hacker News / 5 months ago
  • Things I've learned about building CLI tools in Python
    You better off with using a compiled language. If you interested in a language that's compiled, fast, but as easy and pleasant as Python - I'd recommend you take a look at [Nim](https://nim-lang.org). And to prove what Nim's capable of - here's a cool repo with 100+ cli apps someone wrote in Nim: [c-blake/bu](https://github.com/c-blake/bu). - Source: Hacker News / 6 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 / 26 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 Nim (programming language) and Cython, you can also consider the following products

Crystal (programming language) - Programming language with Ruby-like syntax that compiles to efficient native code.

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

D (Programming Language) - D is a language with C-like syntax and static typing.

nuitka - Nuitka is a Python compiler.

V (programming language) - Simple, fast, safe, compiled language for developing maintainable software.

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