loops
link
fedilink
51Y

What are the last two? I know Python and C, but haven’t seen the last two.

Crab is Rust, but the last one…

Justin
link
fedilink
9
edit-2
1Y

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.

OH… NIM NIM NIM NIM NIM FUCKING NIM

OH… NIM NIM NIM NIM NIM FUCKING NIM

OH… NIM NIM NIM NIM NIM FUCKING NIM

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.

I could be wrong, but based on the Wikipedia article it seems like it’s more trying to be a python replacement than a rust/c++/Java/etc replacement. The big thing with rust is that it’s rules allow memory safety without a garbage collector, while unless I missed something it seems like nim just uses a garbage collector. Not that that’s necessarily some huge problem or anything, but you know, different purposes

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)

Can compile to C which then compiles using your favourite compiler. So it can operate at the speed of C

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.

And the new memory management system is similar to rusts system (and can be fully disabled if you want manual memory management)

So it doesn’t have a garbage collector? I’m going to have to actually look into this myself.

The third one is rust which has become a meme at this point. Programmers like it because it has almost as much performance as C but has a lot of safeguards preventing memory errors and vulnerabilities. I have no idea what the last one is tho

loops
link
fedilink
11Y

Did rust change it’s logo? I thought it was a gear. :s

It did not change logo. This is the mascot.

I think it just has two logos but idk

The crab is public domain, so you can use it to advertise your own Rust project or whatever. The gear logo belongs to the Rust foundation, which sparked some controversy a while ago.

Lupec
link
fedilink
6
edit-2
1Y

Those are Rust and Nim

Create a post

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.
  • 1 user online
  • 78 users / day
  • 212 users / week
  • 414 users / month
  • 2.93K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog