Remix.run Logo
PaulHoule 6 hours ago

The thing I coded where I felt the weight of the GC the most was a chess engine in Java that needed transposition tables. Like using regular HashMap(s) or anything similar it was too slow to really speed up the engine. If my son had stayed interested in chess I would have coded up an off-heap transposition tables but he switched to guitar which changed my side projects.

joe_mwangi 6 hours ago | parent | next [-]

Hope you come back. Would be cool to venture in this new data oriented programming phase java has invested a lot in.

traderj0e 5 hours ago | parent [-]

I'm glad they saw the light. Last time I used Java was in high school when it was version 7, when it was pure OOP. Didn't even have lambdas. After I learned other languages, I didn't want to use Java again, seemed like a lot of boilerplate for something that didn't even give good performance.

PaulHoule 3 hours ago | parent | next [-]

I use Java all the time for ordinary programming at work, I think it is great, but I'm not in a hurry to mess with stuff off-heap.

dionian an hour ago | parent | prev [-]

Java has always given good performance for most of my use cases. Like backend servers where startup time is mostly irrelevant.

cindyllm 5 hours ago | parent | prev [-]

[dead]