Nim
rust
Nim | rust | |
---|---|---|
355 | 2,777 | |
16,737 | 100,462 | |
0.7% | 1.6% | |
9.9 | 10.0 | |
3 days ago | 3 days ago | |
Nim | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Nim
-
Zig's Comptime Is Bonkers Good
All these organizations[1] using nim in production must disagree with you then.
[1]: https://github.com/nim-lang/Nim/wiki/Organizations-using-Nim
-
Rust traits are a local maxima
With function overloading and templates
You just use a `hash` function in your library code and user has to implement a version of it that accepts the Foo type.
To resolve the scope problem, Nim uses templates[1] with `dirty` pragma (makes template unhygienic), but there is also a `mixin`[2] statement for later static binding.
0 - https://github.com/nim-lang/Nim/lib/pure/collections/tables....
1 - https://github.com/nim-lang/Nim/blob/78983f1876726a49c69d656...
2 - https://nim-lang.org/docs/manual.html#generics-mixin-stateme...
- Nim for Python Programmers
-
My first experience with Gleam Language
Check out Nim[0] - it's strongly typed, with good type inference, clean elegant syntax, memory management is automatic (optional gc, default is ARC + small footprint cycle collector), compiles to small single binaries (Hello World is less than 100 kb), has powerful metaprogramming and lsp support.
Nim compiles to C/C++ and then to native code, so performance is on the same level as Rust/C/C++. You can also compile Nim to js/wasm and run the same code in the web.
[0] - https://nim-lang.org
-
tohray - microblogging application in nim
Programming Language: Nim
-
Recent Performance Improvements in Function Calls in CPython
Take a look at Nim.
You get C performance, with the readability of Python.
https://nim-lang.org/
-
Nim 2.2 release candidate is available for testing
It’s not exhaustive/definitive yet (should be for the actual release), but this might be helpful:
https://github.com/nim-lang/Nim/blob/devel/changelog.md
- The search for easier safe systems programming
- 3 years of fulltime Rust game development, and why we're leaving Rust behind
-
Top Paying Programming Technologies 2024
22. Nim - $80,000
rust
- Rust's New Sort Algorithms
-
KEON is a human-readable serde format that syntactic similar to Rust
With some notable exceptions. I'll never love the turbofish [1] for example.
[1] https://github.com/rust-lang/rust/blob/master/tests/ui/parse...
-
2025’s Must-Know Tech Stacks
Rust
- Loco 0.14 on Cathyos: 始め方
-
Loco 0.14 on Cathyos: Getting started
Loco is a relatively new Rust web framework which first appeared around 2021. It is strongly inspired by Ruby on Rails, and designed to bring developers productivity as various functionality on routing, middlewares, and request handling. They aim to provide a modern and intuitive development experience.
-
Getting Started with Blockchain: A Guide for Beginners
Developer: Learn programming languages like Solidity (Ethereum) or Rust (Polkadot).
-
SSH port forwarding from within code
Port forwarding is a common technique used to access some service behind jump host from your local machine. It is a daily bread of many administrative tasks. In this post I'll show how to create such connections on demand from within Raku or Rust code (without relying on ssh -L system command).
-
Optimizing uint64_t Digit Counting: A Method that Beats Lemire's by up to 27%
This is for integer log 10, but could be adapted for number of digits. It needs a wrapper for 64 bit to invoke it multiple times, but most numbers in a JSON are small, so it might even be competitive; it needs only 4 cycles with enough instruction level parallelism.
I gathered this idea from the output of a superoptimizer, it was fun to figure out how it works. For spoilers, see [1].
[1] https://github.com/rust-lang/rust/blob/master/library/core/s...
- Weird Rust Expressions
-
Four limitations of Rust's borrow checker
At least based on the comments on lobste.rs [0] and /r/rust, these seem to be actively worked on and/or will be solved Soon (TM):
1. Checking does not take match and return into account: I think this should be addressed by Polonius? https://rust.godbolt.org/z/8axYEov6E
2. Being async is suffering: I think this is addressed by async closures, due to be stabilized in Rust 2024/Rust 1.85: https://rust.godbolt.org/z/9MWr6Y1Kz
3. FnMut does not allow reborrowing of captures: I think this is also addressed by async closures: https://rust.godbolt.org/z/351Kv3hWM
4. Send checker is not control flow aware: There seems to be (somewhat) active work to address this? No idea if there are major roadblocks, though. https://github.com/rust-lang/rust/pull/128846
[0]: https://lobste.rs/s/4mjnvk/four_limitations_rust_s_borrow_ch...
[1]: https://old.reddit.com/r/rust/comments/1hjo0ds/four_limitati...
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
go - The Go programming language
Odin - Odin Programming Language
crystal - The Crystal Programming Language
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
Rustup - The Rust toolchain installer
haxe - Haxe - The Cross-Platform Toolkit
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]