News for hackers. Stuff that matters.
Re:Zero-copy deserialization in Julia by myrryr on Sunday September 02, 2018 @07:01AM (#17896543)
if that worries you, I wouldn't look under the covers of almost any database you run, nor network stack you have.

Graphics card drivers are WAY out. File systems too.

Julia offers as much safety as most languages. You would be hard pressed to find a language which doesn't let you pull something like this.

Julia wouldn't solve the 2 languages problem if there was a lot of things you would have to drop back to C to do....

Re:Zero-copy deserialization in Julia by sgt101 on Sunday September 02, 2018 @10:10AM (#17897049)
Point taken. It would be nice to be able to query my code base to see if unsafe methods have been used (and where) in the executable.
Re:Zero-copy deserialization in Julia by myrryr on Sunday September 02, 2018 @05:27PM (#17898759)
Rust is really good that way. It would be nice to have for sure.
Re:Zero-copy deserialization in Julia by frankmcsherry on Monday September 03, 2018 @01:31AM (#17900535)
This is a Rust version, btw:

   https://github.com/frankmcsherry/abomonation
It still needs me to opt in to declaring methods as unsafe, rather than automatically surfacing my uses of unsafe. I could definitely "trick users" by not doing that and pretending it always works (it doesn't).