4 ms·
I wonder if we'll see a revival of Grail [0], Guido van Rossum's browser from the the late 90s with support for Python-based applets. :) His draft paper [1] fr
by ptx 2y ago
I wonder if we'll see a revival of Grail [0], Guido van Rossum's browser from the the late 90s with support for Python-based applets. :)
His draft paper [1] from 1996 mentions some limitations due to lack of support for threading, which is no longer an issue. And maybe the JIT that's currently being worked on will help with the "rather grim image of performance".
On the other hand, the restricted execution mode in Python that Grail relies on has long since been removed (much like Java's corresponding features). Maybe OS-level sandboxing features (e.g. Capsicum, pledge, Landlock, etc.) could be used instead?
[0] https://en.wikipedia.org/wiki/Grail_(web_browser) https://en.wikipedia.org/wiki/Grail_(web_browser)
[1] https://grail.sourceforge.net/info/papers/restofus.html https://grail.sourceforge.net/info/papers/restofus.html
- niutech 2y agoYou can run Python in every web browser using PyScript (https://pyscript.net https://pyscript.net) or Brython (https://brython.info https://brython.info).