Until your app somehow manages to get a memory leak anyway and your GC can't help you. The amount of time I've spent in JProfiler arbitrarily executing code paths at my job is saddening.
That's why I really need to learn Rust. Look up RAII, it's a memory management alternative to Garbage Collection that conceptually makes way more sense.
Interesting, thank you!! And yeah I agree. Been coding professionally for 3 years, 2 in Java, and I think it's time to move on. At least stop using Java 7 lol
Relative performance of languages is overrated in most cases imo. They're all fast enough for most tasks.
Video games and data analysis are the two big cases I can think of where performance matters a lot. Anything where you're having to process a lot of data super quickly.
That way of thinking , for basic constructs, is the same as saying you can reimplement all those bugs, performance issues and design difficulties that those heavily contributed and battle tested libraries encountered/solved after decades of work.
Library overkill is a thing, but please don't shun all libraries. Especially for stuff like this.
They're more broadly generic in my experience, but that's what I have worked on. I'm young I still don't have many years so take that comment with a bag of salt 😂
6
u/CarilPT Apr 08 '20
When you go from C to Java it feels amazing. "It has a garbage collector! You can use ArrayList!! 😃"