Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority). (by nim-lang)

Nim Alternatives

Similar projects and alternatives to Nim

  • zig

    Nim VS zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • crystal

    Nim VS crystal

    The Crystal Programming Language

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • rust

    Nim VS rust

    Empowering everyone to build reliable and efficient software.

  • go

    Nim VS go

    The Go programming language

  • julia

    Nim VS julia

    The Julia Programming Language

  • Odin

    Nim VS Odin

    Odin Programming Language

  • haxe

    Nim VS haxe

    Haxe - The Cross-Platform Toolkit

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Godot

    Nim VS Godot

    Godot Engine – Multi-platform 2D and 3D game engine

  • nimpy

    Nim VS nimpy

    Nim - Python bridge

  • pixie

    Nim VS pixie

    Full-featured 2d graphics library for Nim. (by treeform)

  • v-mode

    Nim VS v-mode

    🌻 An Emacs major mode for the V programming language.

  • TypeScript

    Nim VS TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • Arraymancer

    Nim VS Arraymancer

    A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends

  • Numba

    Nim VS Numba

    NumPy aware dynamic Python compiler using LLVM

  • dmd

    Nim VS dmd

    dmd D Programming Language compiler

  • Box

    Nim VS Box

    Python dictionaries with advanced dot notation access

  • v

    Nim VS v

    Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation.

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • jester

    Nim VS jester

    A sinatra-like web framework for Nim.

  • RFCs

    Nim VS RFCs

    A repository for your Nim proposals. (by nim-lang)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Nim alternative or higher similarity.

Nim reviews and mentions

Posts with mentions or reviews of Nim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-25.
  • Choosing Nim out of a crowded market for systems programming languages
    3 projects | | 25 Nov 2022
    My issue is that Nim has some awkward problems with static linking:

  • Man, Rust has me addicted!
    5 projects | | 18 Nov 2022
    Have you tried Nim? It's like Python syntax-wise but with static typing and compiles to C (then to assembly) / WASM / Javascript. It also has a garbage collector which you can disable and manage memory manually if you want.
  • Using Go as a data engineer
    2 projects | | 16 Nov 2022
    By the way, I am personally experimenting with Nimlang though. The syntax is pretty close to Python, so I am liking it more than Go. But compared to Nim, Go is more suitable for production work in a team setting.
  • Why I enjoy using the Nim programming language at Reddit.
    10 projects | | 14 Nov 2022
    Hey, I am Andre and I work on internal analytics and data tools here at Reddit. I have worked at Reddit for five years and have used Nim nearly every day during that time. The internal data tool I am working on is written primarily in Nim. I have developed a tiny but powerful data querying language similar to SQL but that is way easier to use for non technical people. I also have written my own visualizations library that supports a variety of charts, graphs, funnels and word clouds. Everything is wrapped with a custom reactive UI layer that uses websockets to communicate with the cluster of data processing nodes on the backend. Everything is 100% Nim. I really enjoy working with Nim and have become a Nim fanatic.
  • Just a quick question, can a programming language be as fast as C++ and efficient with as simple syntax like Python?
    4 projects | | 11 Nov 2022
  • Javascript compilation: any type system ?
    4 projects | | 11 Nov 2022
    You might be looking for sourcemaps?
  • A Cost Model for Nim
    11 projects | | 11 Nov 2022
    I did some work on Nim's hash tables back in 2020, specifically with OrderedTable, comparable to a Python dict where insertion order is preserved. I stumbled on this table module in a roundabout way, via Nim's database module, db_sqlite. The db_sqlite module was much slower than Python for simple tests, and on investigation, I found that it didn't automatically handled prepared statement caching like Python's sqlite3 module. There were some other issues with db_sqlite, like blob handling and null handling, which led me to a different SQLite interface, tiny_sqlite. This was a big improvement, handling both nulls and blobs, and the developer was great to work with. But it also didn't support prepared statement caching. I filed an issue and he implemented it, using Nim's OrderedTable to simulate an LRU cache by adding a new prepared statement and deleting the oldest one if the cache was too big:

    Performance was hugely improved. There was another LRUCache implementation I played with, and when using that for the statement cache, performance was 25% faster than OrderedTable. That didn't make much sense to me for a 100-entry hash table, so I started running some tests comparing LRUCache and OrderedTable. What I discovered is that OrderedTable delete operations created an entirely new copy of the table, minus the entry being deleted, on every delete. That seemed pretty crazy, especially since it was already showing up as performance problems in a 100-entry table.

    The tiny_sqlite developer switched to LRUCache, and I did some work on the OrderedTable implementation to make deletes O(1) as expected with hash table operations:

    After spending a lot of time on this, I finally gave up. The problems were:

    - the JSON implementation used OrderedTables and never did deletes. JSON benchmark performance was rather sacred, so changing OrderedTables to be slightly slower/larger (I used a doubly-linked list) was not desirable, even if it changed delete performance from O(n) to O(1)

    - the Nim compiler also used OrderedTables and never did deletes

    - Nim tables allowed multiple values for the same key (I did help get that deprecated).

    - alternatives were proposed by others that maintained insertion order until a deleted occurred, but then it could become unordered. That made no sense to me.

    The TLDR is, if you use Nim tables, don't use OrderedTable unless you can afford to make an copy of the table on every deleted.

    Current Nim OrderedTable delete code:

    Issue for db_sqlite not handling nulls, blobs, statement cache:

  • Looking to help
    4 projects | | 10 Nov 2022 Hope this helps!
  • Rust vs Golang: Coming from Python (I know technically it's not necessarily the right comparison)
    4 projects | | 6 Nov 2022
  • What’s Ruby used for most nowadays?
    9 projects | | 30 Oct 2022
    Part of this is partially because Python is "simple" and has very few language rules to learn. Thus teachers and managers gravitated towards Python, as it was easier to learn, teach, review, and already has a large community. However, the downside to this "simplicity" is that Python is very boring to write since it lacks many shortcuts, and so Python developers have to write more code than what Ruby developers would have to write. The same argument can also be applied to Golang vs. Rust/Nim/Crystal). Also, for a short period of time in the 2000s Google required all of their managers learn Python and contributed to it's development which helped make Python popular. However, Python is becoming over-saturated by programming bootcamps, and I feel like new programmers will eventually get bored of Python and start to explore other languages.
  • A note from our sponsor - Scout APM | 3 Dec 2022
    Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀. Learn more →


Basic Nim repo stats
5 days ago
The context switching struggle is real
Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!