4 ms·
I managed to make go segfault multiple times (a real actual segfault). It's not a general purpose language. If you want to do things that aren't json RPC is awf
by guappa 2y ago
I managed to make go segfault multiple times (a real actual segfault). It's not a general purpose language. If you want to do things that aren't json RPC is awful.
- AnimalMuppet 2y agoA general purpose language must be one that you cannot cause to segfault? That's a rather... unique perspective.
- guappa 2y agoA segfault is a security vulnerability :) I expect a modern programming language that has a runtime to not do that, correct.
- AnimalMuppet 2y ago> A segfault is a security vulnerability :) Fair enough. > I expect a modern programming language that has a runtime to not do that, correct. But how do you define "has a runtime"? Java clearly has one - the JVM. Go produces standalone code, though. Or do you say that it has a runtime because it has a garbage collector that is running while the program runs? The original Pascal didn't have a runtime (if you weren't using UCSD, which generated p-code), and yet you couldn't segfault it.
- guappa 2y ago> Go produces standalone code, though. So if I put the jvm and my .jar file inside a single .zip file java no longer has a runtime? And since C applications load .so files they do have a runtime? Having a runtime is independent of the amount of files you need to read to run the program.
- AnimalMuppet 2y agoSo, I'll ask more explicitly: what's your definition of "having a runtime"?
- guappa 2y agogo
- guappa 2y agoLol at the people who got angry for some lapalissian truth drop :D