Hacker News new | past | comments | ask | show | jobs | submit login

Forking and this package can be useful if you know that the unsafe code is really unsafe and have no hope of making it better.

But I wouldn't use this often. I'd be willing to bet that you'd lose all performance benefits of using Rust versus something like Python or Ruby that uses forking extensively for parallelism.




> have no hope of doing better

Yeah, this is really the main use case. Its a relatively simple solution when you can't do any better.

I think that's particularly helpful when you're invoking code you don't control, like calling into a some arbitrary C library.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: