this post was submitted on 27 Jun 2023
43 points (97.8% liked)
Programmer Humor
32532 readers
431 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Crab is Rust, but the last one...
Apparently it's called nim.
https://en.m.wikipedia.org/wiki/Nim_(programming_language)
Looking at the Wikipedia article, it seems like it has some weird syntax choices. And even though it compiles to C code, I'm not convinced that it's as fast as C or Rust, since it has a garbage collector.
I'm pretty skeptical it could be as fast and safe as Rust without the added challenge. Like, even doing what Rust did was a big deal.
Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C
And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)
Technically, it all compiles to assembly, but Python is still a lot slower than C or Rust. Speed is lost along the way through those layers of abstraction.
So it doesn't have a garbage collector? I'm going to have to actually look into this myself.