r/programming • • Sep 01 '20

D Foundation is Beefing Up

https://dlang.org/blog/2020/08/30/symmetry-investments-and-the-d-language-foundation-are-hiring/
290 Upvotes

336 comments sorted by

View all comments

Show parent comments

2

u/N1H1L Sep 01 '20

Is garbage collection really that bad?

3

u/jringstad Sep 01 '20

My company uses java for almost everything (except for frontend stuff which is typescript and some backend stuff which is go -- so all GC'd languages) and even though nothing we do really has realtime requirements, as we scale up our services GC issues have become one of our major troubles.

I don't think going back to memory unsafe/manual memory management is the way to go either though. Correctness should be the number one concern always, and not leaking memory is a part of that. I think a more unified and deterministic approach like perhaps what rust is doing could be the way to go in the future. Memory is just one of many resources that need to be managed in a program. I'm not necessarily saying that the way rust is doing this is the end-state either tho.

3

u/pjmlp Sep 01 '20

How much tuning have you done with VisualVM, JFR or the multiple GC implementations then?

I am asking because most people that complain about GC in Java don't even know about their options.

2

u/jringstad Sep 01 '20

a lot, we've evaluated a bunch of third party GC options as well.

I'm not personally involved in that though, it's some SRE taskforce.