News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by pjmlp on Tuesday June 06, 2023 @02:57AM (#36209160)
It proves that there is a way to diagnose this type of mistake, that is what matters.

Unlike C, which the only way to be safe is not to touch it at all.

As for performance, ISO doesn't implement compilers, there are many ways to improve performance while keeping the semantics in line with the standard.

If the compiler vendors decide to focus elsewhere is another matter, a bit like there are languages as complex as Rust and compile faster, because that has been a concern, whereas rustc developers have their concerns elsewhere.

Re:The Rust I wanted had no future by Ygg2 on Tuesday June 06, 2023 @05:45AM (#36210356)
Still, catching errors at runtime is subpar compared to catching them at compile time.

Even your dynamic example won't tell me calling pop/push x/y times respectively will fail if x > y.

I have to trigger it somehow.

Re:The Rust I wanted had no future by pjmlp on Thursday June 08, 2023 @02:28AM (#36238037)
Since when does Rust support dependent typing?