Rust in Web Development (Also): Efficient API Layer Based on Rust Foundations (mito.hu)
from snaggen@programming.dev to rust@programming.dev on 04 Apr 2024 06:21
https://programming.dev/post/12351538

#rust

threaded - newest

SorteKanin@feddit.dk on 04 Apr 2024 07:22 collapse

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

snaggen@programming.dev on 04 Apr 2024 09:26 next collapse

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).

sik0fewl@lemmy.ca on 06 Apr 2024 02:13 next collapse

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.

lightnegative@lemmy.world on 06 Apr 2024 18:48 collapse

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)

sik0fewl@lemmy.ca on 06 Apr 2024 18:52 collapse

Haha, I’m well aware.

sugar_in_your_tea@sh.itjust.works on 06 Apr 2024 03:16 collapse

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.