3 ms·
> Multithreading Does it have a global interpreter lock (GIL)?
by nyanpasu64 5y ago
> Multithreading
Does it have a global interpreter lock (GIL)?
- pansa2 5y ago> Each thread has its own Janet heap, which means threads behave more like processes that communicate by message passing. https://janet-lang.org/docs/threads.html https://janet-lang.org/docs/threads.html Janet doesn’t seem to have shared-memory multithreading. Each thread runs independently, so a GIL should not be necessary.
- saikyun 5y agoThough you can share memory manually, i.e. in C but access it from Janet.