Follow

I wish Javascript had a nice array slice primative (for objects). Or structs I could allocate on the stack. 🥲

@mauve come to think of it do runtime languages *have* a stack for your program? They must right?

@arichtman You can overflow it and there was a spec proposed for tail call optimization when ES6 was still the new hype, so I guess it does? gpx.github.io/posts/es6-tail-c

@mauve so many languages from that era bet the farm on heap allocated everything and the faith that garbage collectors would get fast enough or that it wouldn't matter 😞

@nasser I mean they weren't wrong tbh. 😅 Most people don't need to care about memory management even if it isn't efficient. Maybe the growing cost of RAM will change things

@mauve@mastodon.mauve.moe i wouldn’t even know where to start my list. i hope i never know it well enough to HAVE a list lol

@mauve@mastodon.mauve.moe i wanna play with wasm, havent yet. the list is too long!

@ellyxir @mauve I think you won by being late. I fiddled with it with yew a while back and it was rough. A gazillion 0.0.1 crates and it was quite limited, basically all I could get WASM to do was be like an RPC from the js. I'm expecting much more now that WASI 1 is out

@arichtman @ellyxir Back when it was first coming out I tried my hand at some basic WAT coding. Doing for loops was surprisingly a major pain in the ass :P

@mauve @ellyxir okay u win. But also I assume the details like that will be slower moving too?

@arichtman @ellyxir Yeah AFAIK WAT has been pretty stable after the first few years. It's been the closest I've gotten to actually coding in lisp :P

@arichtman@eigenmagic.net @mauve@mastodon.mauve.moe yeah its basically like waiting until a series is complete before watching it. lots of benefits.

brainworms 

@ellyxir @mauve I'm still very keen to add it as a runtime for my kubernetes, would be way lighter and faster to just run any compiled app cross-platform and already-sandboxed.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.