Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tayistay
· 10mo ago · 0 comments
Can I call into the interpreter from multiple threads or does it use global state?
Comments
[–]
briancr
10mo ago
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.