this post was submitted on 04 Apr 2024
21 points (100.0% liked)

Rust

6011 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 7 months ago (3 children)

I wish people would focus less on the performance. Performance is the least interesting aspect of Rust.

[–] snaggen 8 points 7 months ago

I agree. I have written server software my entire career, and the need for performance is a corner case in my experience. The never crash in runtime aspect of rust should get much more attention (I know it can panic, but that really never happens in practice unless you use unwrap or smilar).

[–] [email protected] 2 points 7 months ago (1 children)

As someone in Java land, performance is not impressive because anything can beat it. It will take features and stability to get people to migrate.

I probably will not be one of the early adopters, but I'm always excited to see what's out there to contend.

[–] [email protected] 1 points 7 months ago (1 children)

As someone in Java land, you might be more impressed about its memory footprint rather than its performance.

Your Java hello world that takes 4GB of JVM heap space or it will fail with OutOfMemory would likely be only a few mb in Rust (or even less)

[–] [email protected] 1 points 7 months ago

Haha, I'm well aware.

[–] [email protected] 2 points 7 months ago

It's pretty interesting for microcontrollers, kernels, and other types of low-level applications.

That said, I agree. I'm more interested in provable memory safety and certain forms of correctness guarantees. I'd love to see more work on pure functions and other FP concepts.