Re:Cooperative Threading
by gpderetta on Wednesday November 13, 2019 @05:36AM
(#21522686)
but why is it not simply using a separate asm file instead of embedding the preassembled binary as a constant?
[ Parent
| on HN ]
Because for many years libco has supported all C89 compilers. I didn't want a dependency on GNU as on Windows, nor did I want to write an MSVC variant. There is no technical reason it cannot be inline now, especially now that we have Clang with a compatible asm syntax.