Hacker News new | ask | show | jobs
by kibwen 4099 days ago

  > I'm sure someone will mention that Rust could give me 
  > the safety I was looking for in a non-GC language, but 
  > that's the point, isn't it
I'm not sure what you're trying to say here. There is no need to game the system, as Rust lets you pass pointers between threads while enforcing that they are used safely. Rust lets you be as fast as an unsafe language while as safe as a managed language; the tradeoff is that you have to give more thought to your design up-front (which, given the pain of trying to reproduce and fix race conditions, is more than worth the effort IMO).