News for hackers. Stuff that matters.
Re:D is being used for autonomous driving research – Audi an... by pcwalton on Tuesday June 25, 2019 @11:40AM (#20275325)
> without the productivity-consuming and mentally burdensome “borrow checker” of Rust

The borrow checker also gives you memory safety, which Zig does not have at the moment.

Solving use-after-free and related issues is a hard problem. I have yet to see a way to solve it that doesn't boil down to one of runtime garbage collection, not allowing heap allocation at all, not freeing memory at all, or a region system/borrow checking. It's fine to not like the borrow checker, but it's there for a reason.

Re:D is being used for autonomous driving research – Audi an... by pjmlp on Friday June 28, 2019 @02:25AM (#20301964)
Yeah, but currently it still is a roadblock when writing GUI code, to the point that Gtk-rs samples use macros to overcome the boilerplate to access widget data from callbacks.