Hacker News new | ask | show | jobs
by anonymoushn 2359 days ago
Hello,

I would appreciate it if more languages had something like ucontext_t or byuu/co, because I don't enjoy tagging every call site with "await" whenever I change a method to do something that might consume some time (and every call site of those functions containing call sites too, and so on), and because I do enjoy being able to write code that uses speculative execution (like for time-travel netcode for a 2d fighting game) without manually converting all my imperative code to a state machine like a compiler should do.

I am a bit of a snob, maybe, but I've come to think one of the bare minimum features for any language is copyable coroutines.