this post was submitted on 27 Jun 2023
47 points (98.0% liked)

Programmer Humor

33862 readers
141 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Re4mstr@lemmy.re4mstr.com 5 points 2 years ago (7 children)

Crab is Rust, but the last one...

[–] jlh@lemmy.jlh.name 11 points 2 years ago (6 children)
[–] CanadaPlus@lemmy.sdf.org 8 points 2 years ago (4 children)

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.

[–] potatoBoy@programming.dev 1 points 2 years ago (1 children)

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)

[–] CanadaPlus@lemmy.sdf.org 1 points 2 years ago* (last edited 2 years ago)

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.

load more comments (2 replies)
load more comments (3 replies)
load more comments (3 replies)