|
|
|
|
|
by jsiepkes
39 days ago
|
|
That's kind of a weird list of languages. C and C++ are both memory unsafe languages. Every Android patch round about half of the vulnerabilities are memory safety bugs in C or C++ applications. Both Google and Microsoft independent from each other concluded that most vulnerabilities are caused by memory safety issues. Zig is also not fully memory safe and Go has a garbage collector just like Java. The Go garbage collector situation is probably worse than Java because it only has a single implementation and you have no choice. Meaning it had better fit your scenario or otherwise your screwed. |
|
Using Java because it's safe punishes the best case (i.e. using it right) in complexity, performance, and inter-op due to potential worst cases (i.e using it wrong).
It also doesn't allow you to grow because you're _safe_ already.
In general, world is unsafe at it is, but we don't _invent_ a safe version. We just adapt and learn how to deal with it.