Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If it's an article that hasn't been updated since 2001 sure. But this has been updated fairly recently, in this year.


What are the biggest recent changes?



DIP1021 is one step toward a larger goal outlined in the blog post 'Ownership and Borrowing in D'. What are the next steps?

https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1...


A prototype for the O/B system:

https://github.com/dlang/dmd/pull/10586


This is really fascinating, are there some benefits you foresee of this addition to D? I know the O/B system has been popularized by Rust, but have not really thought about it outside of Rust, is this an efforts towards -betterC or will it be used towards those efforts?


An O/B system is a way to:

1. eliminate double frees 2. eliminate use-after-free 3. eliminate memory leaks 4. using undefined pointers

when using explicit memory management like malloc/free. Any D application, including DasBetterC, that uses explicit memory management can benefit from it.




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

Search: