Hacker News new | ask | show | jobs
by jaredonline 4090 days ago
Nice catch. I'll need to do some reading to figure out the best way to actually handle the string safely.

In this small example we lost a lot of the safety, but for a larger library I'm hoping you could still keep most of the safety of Rust and just expose a smaller subsection of "unsafe" code.