Hacker News new | past | comments | ask | show | jobs | submit login

> the express intent of the developers to get rid of garbage collection in favour of some convoluted, needlessly complex borrow checking

This is incorrect. Nobody wants to get rid of the GC [1], but to offer the possibility of writing GC-free code or just work around the GC and prevent it from allocating if one wishes to do so. There is a full section on the D website about the GC and how to optimize its behaviour or work around it [2].

1. https://forum.dlang.org/post/mailman.2288.1523320489.3374.di...

2. https://dlang.org/spec/garbage.html




Okay, my apologies then. That's pretty cool and IMHO exactly how languages should do it. Give people a good GC and a way to switch it off when needed while keeping it safe. That's perfect!




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: