Hacker News new | ask | show | jobs
by vbit 3621 days ago
Do LLVM have any support for coroutines?

If I wanted to implement a language with Lua-style coroutines, could I target LLVM?

1 comments

Unfortunately, I don't think it does currently. I think you'd have to reimplement them yourself on top of LLVM... That might change though, this co-routine proposal just came up on the mailing list: https://github.com/GorNishanov/llvm/blob/coro-rfc/docs/Corou...