←back to thread

752 points dceddia | 2 comments | | HN request time: 0.612s | source
Show context
p0w3n3d ◴[] No.36450747[source]
New software is written cheap. I know what you think, when you hear it, but it's much cheaper to create some functionalities that backdays. We have c# in Windows and Java on servers. This is an abstraction layer which makes things working very slow. We have JavaScript applications each running in it's own Electron sandbox. This is huge help and huge cost of performance. And it's a huge help for developer. Entry level is much lower, one does not need winapi anymore (at least in most cases), animations, rendering, typesafety for free, no coredumps, no segfaults, no guru meditation. It's different world now. And a single hello world application weights 200MB...

And another thing: security. Security on old Windows was poor. There are many things that need to be taken care of, but they used to not exist or were simply unsafe. This is another thing, one need to keep in mind, if one wants to just install windows 7 or XP and play games (as I did)

replies(2): >>36450769 #>>36451136 #
1. kaba0 ◴[] No.36451136[source]
Why would C# or Java make things “very slow”? The code ends up running as well-optimized machine code for the majority of its lifetime.
replies(1): >>36452217 #
2. p0w3n3d ◴[] No.36452217[source]
Ends up is the keyword here. Virtual machine takes time to start and warm up. There is an indirection layer between CPU commands and c# bytecode. Of course programmers stronger than me and you (maybe not you? But me for sure) are working constantly on how to improve this, how to make just in time translations etc. But These things take time. Native is faster on startup. Later java/c# wins unless the native code is done by a very skillful programmer. we're speaking on app startup time, right?