Skip to content

Demo running web assembly apps a terminal with blocking stdin/stdout/stderr

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-info.md
Notifications You must be signed in to change notification settings

katharosada/wasm-terminal

Repository files navigation

Python wasm-terminal

Live version here: https://wasm-terminal.firebaseapp.com/

This is a small demo of running Python in the browser with a focus on implementing stdout/stderr and blocking stdin.

Python compiled to WebAssembly is supplied by Pyodide.

This demo runs Pyodide in a Web Worker so it's on a separate thread and uses SharedArrayBuffer and Atomics in javascript to allow stdin to block Python execution until the UI asynchronously resolves input in the terminal.

About

Demo running web assembly apps a terminal with blocking stdin/stdout/stderr

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-info.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published