Comment on JPEG is Dying - And that's a bad thing | 2kliksphilip
onlinepersona@programming.dev 2 months agoGo is not an option? Zig neither? Even Java would be better (it’s used in high-frequency trading).
Comment on JPEG is Dying - And that's a bad thing | 2kliksphilip
onlinepersona@programming.dev 2 months agoGo is not an option? Zig neither? Even Java would be better (it’s used in high-frequency trading).
Markaos@lemmy.one 2 months ago
Zig didn’t come to my mind when I was writing my comment and I agree that it’s probably a decent option (the only issue I can think of is its somewhat small community, but that’s not a technical issue with the language).
My argument against Go and Java is garbage collection - even if Java’s infamous GC pause can apparently be worked around with a specialized JVM, I’m pretty sure it still comes at the cost of higher memory usage and wasted CPU cycles compared to some kind of reference counting or Rust’s ownership mechanism (not sure about the proper term for that). And higher memory usage is definitely not something I want to see in my browser, they’re hungry enough as is.