Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by lifthrasiir

7 hours ago

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.

2 comments

lifthrasiir

Reply

pjmlp  6 hours ago

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

ViewTrick1002  7 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities