Nim Language

Open-source Nim projects categorized as Language

Top 4 Nim Language Projects

  • Nim

    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).

    Project mention: Removing Garbage Collection from the Rust Language (2013) | news.ycombinator.com | 2023-09-11

    20 milliseconds? On my 7 year old Linux box, this little Nim program https://github.com/c-blake/bu/blob/main/wsz.nim runs to completion in 275 microseconds when fully statically linked with musl libc on Linux. That's with a stripped environment (with `env -i`). It takes more like 318 microseconds with my usual 54 environment variables. The program only does about 17 system calls, though.

    Additionally, https://github.com/c-blake/cligen makes decent CLI tools a real breeze. If you like some of Go's qualities but the language seems too limited, you might like Nim: https://nim-lang.org. I generally find getting good performance much less of a challenge with Nim, but Nim is undeniably less well known with a smaller ecosystem and less corporate backing.

  • nlvm

    LLVM-based compiler for the Nim language

    Project mention: Nim v2.0 Released | news.ycombinator.com | 2023-08-01

    That looks interesting. Unfortunately it looks like it hasn't been updated in a while? Is that because it's complete or a lack of interest?

    For example, the approach mentioned at the bottom of the README of integrating via nlvm (https://github.com/arnetheduck/nlvm) sounded great but appears to be unpursued.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • nimskull

    An in development statically typed systems programming language; with sustainability at its core. We, the community of users, maintain it.

    Project mention: A Tour of C++, 3rd edition (covering C++20 plus a few likely features of C++23) | news.ycombinator.com | 2022-10-30

    There's a looming feeling that C++17 is really going to be the last version of C++ (practically, in production). The Vasa is now half-sunk [0][1], but the alternatives are yet to be truly born. The current issues surrounding the language standards:

    - The important but half-baked features of C++20 that has never really been polished enough for actual production usage (modules, coroutines)

    - Unnecessary "hyper-modern" C++ features which are dead on arrival (ranges)

    - The dramatic increase in build times due to the STL library (which are accelerated by those hyper-modern C++ features) [2]

    - The fleeing of LLVM/Clang engineers to other projects (as you've said, Apple engineers shifting work to Swift, and Google abandoning Clang and moving to Carbon).

    - Implosions in the ISO committee (notably the controversy surrounding the rape convict)

    It's really not looking good, but there aren't that much alternatives so I think people will just stick to C++17 for the moment. Listing the worthwhile competitors:

    - Rust is a bit too awkward to use in many cases where C++ is used (particularly with unsafe Rust), and inherits some of the hyper-modern complexities/insanities of C++.

    - Zig is still too unstable, they just finished reworking the compiler

    - Jai is not even released to the public

    - D might be a candidate but IMO they should really commit 100% fully for GC-less betterC mode...

    - Nim still has many warts and unbaked features, and also the dev community was split into half recently [3]

    [0] https://www.aristeia.com/TalkNotes/C++vstheVasa2-ups.pdf

    [1] https://www.stroustrup.com/P0977-remember-the-vasa.pdf

    [2] https://old.reddit.com/r/cpp/comments/o94gvz/what_happened_w...

    [3] https://github.com/nim-works/nimskull

  • pancake

    stack-oriented pain-maximising toy programming language (by ab9st8)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-11.

Nim Language related posts

Index

What are some of the best open-source Language projects in Nim? This list will help you:

Project Stars
1 Nim 15,526
2 nlvm 636
3 nimskull 216
4 pancake 15
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com