Login
You're viewing the front-end.social public feed.
  • Jul 10, 2026, 6:20 PM

    Weirdly LibCo implements these in machine code rather than Assembly code, and takes care that this code can only be read/executed. Also (de)initializing threads is CPU-specific in terms of how much RAM's required.

    Also it can defer to Windows' Fibers library, or POSIX's UContext library. I'll note that ARM has a particularly easy time swapping threads, only a couple opcodes!

    Turns out that LibCo is all ports, no machine/kernel generic code!

    2/2 Fin for today!

    💬 0🔄 1⭐ 0