Better HN
topnewbestaskshowjobs
Log inSign up

randomstringxyz

7 karma · joined Sep 29, 2025 (1y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

Conceptually, think about it. Coroutines require copying not only the variables but the function itself, outside of the lifetime of the parent function. (Or at least pointers thereto.) I would like to hear about a language with static coroutines but I am not aware of any. Even Rust doesn't do it, they just make you pass the lifetime around.

comment 1y ago · link · parent

All of those languages have a lot of freedom, you just ("just") need to reach into the FFI to do it. Lua, which is the only one I have used extensively, is the most literal definition of scripting. It's designed to be written in conjunction with C. Even languages like Haskell with a gigantic runtime still expect you to put in some C for hot paths.

comment 1y ago · link · parent

I worked with Perham while at Shopify. They are one of his many financial contributors and he made like 250k a year just so we alone could contract him. (I do not know particular numbers.) Was in my experience a very kind and knowledgeable person who would answer all my dumb questions graciously.

Shopify however is a deeply evil company that is literally run by Nazis. Not a metaphor, like, actual Nazis.