Sounds cool. Regarding the interrupt-fn in sci you can do this yourself right? With the same efficiency? Just counting an atom or volatile till 10k or so before you do more heavy checks like time elapsed? Or does quickjs have special optimizations for that? Can also imagine in certain cases you want to interrupt before 10k ops as that would take too long (I'm thinking about invoking bigint/pow as an example)
> Sounds cool. Regarding the interrupt-fn in sci you can do this yourself right? With the same efficiency? no
eh wait, maybe I'm too fast ;)
yeah maybe you can do it with the same performance but my intuition says that the host can do it in a more performant way
and also more reliably
since core isn't made interrupt aware unless you opt into it
and JS deps are also not interrupt aware
Yeah maybe you are right. I still need to experiment more with the interrupt functionality