Erin 🕯 is a user on You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Erin 🕯 @er1n

big reason i hate js: no structure, and i need structure to think effectively

· Web · 1 · 9

@er1n last time i used js it was an asynchronous hell. its like a joke programming language

@jk @er1n and the asynchronous parts don't even work. it's like they wnet, "who needs closures anyway??"

@impiaaa @jk "hmmm uhhh what do you mean, 'using actual modern cs research in async programming'"

@jk @impiaaa "we just added function callbacks to everything and it doesn't block now, it's async and good"

@er1n @impiaaa *turns back to monitor, which is showing a 90-degree rotated fractal mountain-range of nested code blocks*

@er1n @jk and also I forget who said it but, it's like the node developers added function callbacks to everything, called it "asynchronous" and a new way of programming, when in reality they had just reinvented cooperative multitasking. you know, like before OSs were developed?

@djsundog @jk @impiaaa everyone loves cooperative multitasking, a multitasking system that lets workloads inform scheduling!
*five minutes later* we regret to inform you cooperative multitasking lets any process eat your CPU whole!

@djsundog @er1n @jk @impiaaa love too live in the glorious multicore future where everything has to run single-threaded because we couldn't figure out how to make a concurrent javascript vm

@aeonofdiscord @djsundog @er1n @jk and then they introduce multicore performance features only to promptly disable them because of a CPU bug

@er1n @djsundog @jk @impiaaa What scares me is people who have used RISC OS their whole life, conflating their OS and applications being crazy lightweight and optimized, with cooperative multitasking being inherently superior.

It's been a few years since I've seen this, but I've seen people bashing preemptive multitasking as a concept because RISC OS on a 233 MHz StrongARM was faster than Windows Vista on a Pentium III. In the 2010s.

@er1n that's one of the things I like about it: no weird structure to have to work around, I can just build whatever I need and go from there

just a shame the type system's a big bag of arse

@er1n why i always do better with frameworks? even though there's extra stuff to learn, the structure helps

@er1n Biggest reason: I don't like executing rando code on my machine :)