Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wildoats
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
wildoats
5y ago
It's far easier to write an app safe from memory corruption in Java than C. Java is as safe as Rust. It's just 1/2 the speed and uses 2-3X the ram. It was the best C alternative for DB until a couple years ago.
2.
▲
by
wildoats
5y ago
But you don't usually need to scale it. We run 1 million+ LoC Java monoliths on machines with 2GB.
3.
▲
by
wildoats
5y ago
Java already does this AFAIK. If you use a GC that supports class unloading (all the new ones do). Unused classes can be unloaded from RAM and it's like they don't exist. The executable is still huge but lower memory and CPU cache
4.
▲
by
wildoats
5y ago
Java isn't the worst choice. It's mostly safe, reasonable to work with, and quite fast. RAM isn't a bottleneck on most servers these days. Even the cheapest EC2 tends to have 2GB which will run nearly any Java app fine. Sure,
5.
▲
by
wildoats
5y ago
Space is like international waters and I predict similar hijinks in coming years unfortunately. Satellites harassing with close passes, blocking antennas, maybe even poking each other. "Damn ye Russian satellites!" The politicians
6.
▲
by
wildoats
5y ago
This is a bit hyperbolic. Wide scale COVID vaccination is needed for a functioning society. It's clear that waves of death won't stop without it. Especially now with Omicron, the fourth wave. In the US, average life expectancy dro