Remix.run Logo
ViewTrick1002 5 days ago

> Ada language instead of rust

Because it never achieved mainstream success?

And Zig for example is very much not memory safe. Which a cursory search for ”segfault” in the Bun repo quickly tells you.

https://github.com/oven-sh/bun/issues?q=is%3Aissue%20state%3...

lifthrasiir 5 days ago | parent | next [-]

More accurately speaking, Zig helps spatial memory safety (e.g. out-of-bound access) but doesn't help temporal memory safety (e.g. use-after-free) which Rust excels at.

pjmlp 4 days ago | parent | next [-]

Which is something that even PL/I predating C already had.

ViewTrick1002 4 days ago | parent | prev [-]

As long as you are using the "releasesafe" build mode and not "releasefast" or "releasesmall".

johnisgood 4 days ago | parent | prev [-]

> Because it never achieved mainstream success?

And with this attitude it never will. With Rust's hype, it would.