Skip to content

Comment on Show HN: Cicada – A scripting language that integrates with C

Comments

Can I call into the interpreter from multiple threads or does it use global state?

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.