Egregoros

Signal feed

Timeline

Post

Remote status

Context

6
It's not a "real" client per se, I was just testing, like, using JS to assemble contents. It was slow as balls, though, so I told it to measure the performance and then the dev tools crashed and I have never seen that happen.

I think the main issue is that JavaScript is really *really* fuckin' bad at some things, like "store raw binary data int a data structure of some sort and append to that blob", like `char *` in C (fuck yo uint8_t boshit) or `bytes.Buffer`/`[]byte` in Go, or any goddamn language has this. The exception is stuff like awk where you don't have facilities for dealing with big chunks of binary data because you're not supposed to use awk for that. Now, I think you shouldn't use JavaScript for this, either, but I also think you shouldn't use JavaScript for *anything* besides very small attempts to manipulate the DOM, but I am pretty sure that people that use JavaScript are under the impression that it is good for something besides that.

Replies

1