Python in chomium

93 views
Skip to first unread message

ddosxd

unread,
Mar 5, 2023, 2:18:21 PM3/5/23
to Chromium-discuss
Dear Google employees!

I am writing this letter to ask you to add Python support to Chromium browsers.  I know that you have already added support for JavaScript, but many developers want to use Python to develop web applications and interfaces.  Adding support for Python will be very useful for us and will help improve the performance of web applications.

Jakob Kummerow

unread,
Mar 6, 2023, 6:02:46 AM3/6/23
to vovak...@gmail.com, Chromium-discuss
A couple of points:

(1) Chromium is being developed by many more people than just Google employees.

(2) From an implementation perspective, adding Python as a language for web applications would be a massive project. As such, it would require appropriate amounts of planning and staffing. It's not something that can quickly be done because someone would find it useful.

(3) From a platform perspective, adding Python as a language for web applications would be a significant new feature. Chromium wouldn't just do that without a cross-browser standardization effort.

(4) Whether Python would end up "improving the performance of web applications" is, at best, an open question. (Personally I wouldn't bet on it.)

(5) Despite all of the above, it's possible to use Python for Web development today, thanks to the ability to compile to WebAssembly! Check out e.g. https://pythondev.readthedocs.io/wasm.html and https://github.com/pyodide/pyodide
There are also some projects that compile Python to JavaScript, a quick search finds e.g. https://www.transcrypt.org/ and https://brython.info/. (I don't have any personal experience with them, so no endorsement.)


On Sun, Mar 5, 2023 at 8:18 PM ddosxd <vovak...@gmail.com> wrote:
Dear Google employees!

I am writing this letter to ask you to add Python support to Chromium browsers.  I know that you have already added support for JavaScript, but many developers want to use Python to develop web applications and interfaces.  Adding support for Python will be very useful for us and will help improve the performance of web applications.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Matevz Leskovsek

unread,
Mar 6, 2023, 6:39:16 AM3/6/23
to jkum...@chromium.org, vovak...@gmail.com, Chromium-discuss
Where I see one big handicap with chromiumOS is the fact that it
doesnt allow installing Python unless Linux in container is used which
can be unpractical for some lean or old or custom chromebooks. And
therefore it is impossible to use Selenium scripting and many similar
tools, or I simply haven't learned yet how to. I think google is
thinking about slow migration to cloud processing and so repl.it or
similar services will be used and does not wish to develop python
runtime in a browser locally. If anyone knows how to use selenium with
python or similar language in chromebooks without linux or android
runtime please let us know.
> ---
> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Jon Perryman

unread,
Mar 7, 2023, 1:35:46 AM3/7/23
to vovak...@gmail.com, Chromium-discuss
Don't expect Python or any other language to be implemented in any browser. First, the feature must be available to all browsers and be approved as a standard. Including Python code in HTML means it must be compatible with all browsers. Secondly for security reasons, only Javascript currently limits access to native OS functionality. .

On Sun, Mar 5, 2023 at 11:18 AM ddosxd <vovak...@gmail.com> wrote:
Dear Google employees!

I am writing this letter to ask you to add Python support to Chromium browsers.  I know that you have already added support for JavaScript, but many developers want to use Python to develop web applications and interfaces.  Adding support for Python will be very useful for us and will help improve the performance of web applications.

--
Reply all
Reply to author
Forward
0 new messages