News for hackers. Stuff that matters.
Re:Perseus – NextJS alternative in Rust by brabel on Sunday April 09, 2023 @12:36PM (#35504262)
> You can use rust as if it were a high level language without knowing anything about low level stuff.

How can you write that with a (I suppose) straight face? Rust makes you think about lifetime of every single variable, as anyone who's written a couple of lines of Rust knows... it' not just the lifetime annotations you will need when you get past the "copy everything" phase and start using or writing data structures, but the borrow checker making even the simplest stuff something you actually have to think through carefully (do you need to pass a reference, make a copy, use a mutable variation of some function, open a new block to limit the scope of the variable, assign it to a local variable to avoid it getting out of scope too early?). This is plainly "low level" stuff you need to worry about all the time which you just don't in any high level language.

Re:Perseus – NextJS alternative in Rust by rapsey on Sunday April 09, 2023 @12:51PM (#35504376)
You are both exaggerating
Re:Perseus – NextJS alternative in Rust by Herval_freire on Sunday April 09, 2023 @01:10PM (#35504537)
These are high level safety features that replace another sibling high level construct: The garbage collector.

It's a different style of programming but still high level. Make no mistake the abstractions are high level but the cost is zero, hence the term zero cost abstraction and the association with "low level."