3 ms·
That would be Brython. It's a Python interpreter and part of the standard library written in javascript. Along with some dom manipulation libraries.
by dec0dedab0de 5y ago
That would be Brython. It's a Python interpreter and part of the standard library written in javascript. Along with some dom manipulation libraries.
- CivBase 5y agoI don't think that's true. https://brython.info/static_tutorial/en/index.html https://brython.info/static_tutorial/en/index.html > In the <head> zone we load the script brython.js : it is the Brython engine, the program that will find and execute the Python scripts included in the page. It looks like Brython works by embedding a Python interpreter into the page as Javascript. That's 5 MB if you include the standard library - almost 800 KB for just the interpreter. Not to mention the computational overhead of running an interpreter in an interpreter.
- dec0dedab0de 5y agoI did say it was an interpreter written in JS, but I had misunderstood what you were saying. I think Grail could do what you were talking about, but it never got any traction. I also vaguely remember there being a python plugin floating around back in the day, kind of like flash, but I can't find any reference to it.