3 ms·
How will you scale your take on this? We are currently facing incredible scaling issues and complexity in web dev because of js based systems. Meanwhile compan
by zwnow 2y ago
How will you scale your take on this? We are currently facing incredible scaling issues and complexity in web dev because of js based systems.
Meanwhile companies that ditch js have great success (whatsapp, discord, ...)
Js in the browser is fine, but with node and Nuxt or Next we now have it where it doesn't belong.
- hajile 2y agoThe big problem with scaling JS on the server is threading. There's simply no way to do it. You can spin up multiple processes, but then the communication overhead gets you. The spec committee needs to bake in actors and they need to add tuples/records so sharing data across actors is easy and free. Finally, Typescript needs to bake in a warning to tell you when your code is going megamorphic so you can change it so the JIT can actually optimize for you (I think most JS devs would be shocked to find out just how much of their code is incapable of ever getting advanced optimizations).