Re:Creating a PHP extension in Rust
by jaredonline on Sunday April 05, 2015 @11:27AM
(#9324287)
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.
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.