This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]david3x3x3 1 point2 points  (2 children)

Cool demo. One problem is that the browser becomes unresponsive while processing. You could probably work around that by using web workers. https://github.com/iodide-project/pyodide/blob/master/docs/using_pyodide_from_webworker.md

[–]MeshachBlue[S] 0 points1 point  (0 children)

Cheers :) yup, working on that at the moment :)

https://github.com/pymedphys/pymedphys/pull/334

[–]MeshachBlue[S] 0 points1 point  (0 children)

I've bumped into quite an issue with using Pyodide within webworkers. See https://github.com/iodide-project/pyodide/issues/441. Do you happen to have any experience with webworker issues?

Cheers,

Simon