Hacker News new | ask | show | jobs
by tayistay 135 days ago
Can I call into the interpreter from multiple threads or does it use global state?
1 comments

There’s no multithreading capability built into Cicada. So a given instance of the interpreter only has a single concurrent state, and all C callbacks share memory with that global state. Multithreading would require a C-based thread manager.