treyhunner,
@treyhunner@mastodon.social avatar

@pg @notsolonecoder yes it's fully in-browser, running on CPython compiled to WebAssembly via Emscripten.

The Python Morsels exercise automated tester is powered by this as well, so user solutions run right in the browser.

Also this pastebin tool runs on the same system: https://pym.dev/p

I'm not using pyodide because I don't want to allow arbitrary JS code execution. A pyodide dev told me that I could have put a wrapper/sandbox around pyodide to accomplish something similar as well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • DreamBathrooms
  • tacticalgear
  • mdbf
  • InstantRegret
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • Durango
  • cubers
  • kavyap
  • cisconetworking
  • JUstTest
  • GTA5RPClips
  • modclub
  • tester
  • khanakhh
  • everett
  • provamag3
  • osvaldo12
  • Leos
  • normalnudes
  • ethstaker
  • megavids
  • anitta
  • lostlight
  • All magazines