On Fri, Jul 17, 2020 at 2:59 AM <redrad...@gmail.com> wrote:
>
> Recently I have been thinking about why `JavaScript` with it's horrible type 
> system and lots of edge cases has supported so many platform and is very fast 
> ...
>
> First answer is simple, because big companies such as Google, Facebook and so 
> on evolve this language and run-time for it ...
>
> But it is only part of story, all this platforms would not be possible 
> without some good architecture that was done by this companies
>
> What is this architecture decision ? It is a splitting run-time and 
> infrastructure
>
> V8 is JavaScript engine that could very fast execute JavaScript and that is 
> all !!
> It has a reach API using which you can embed this run-time almost every where 
> ...
>
> What if we in Python will accomplish the same solution ?
> What if Python would have some very fast engine that could be integrate in 
> every environment ?
>
> Engine will be able only execute Python code and call some registered 
> callback (hooks) for `import` some module, for calling some registered 
> C-extension and so on
> If this engine will be very portable then Python would be embedded everywhere 
> !! ;)

There are lots of ways to embed Python, and there are a number of
valid Python interpreters. There's even interpreters (multiple!) that
are designed to work in web browsers.

Good architecture isn't what made JavaScript so successful. Being
successful is what made JavaScript so succesful.

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/IZCIOZLYG54DZ5732W3HVROLAG7UMXCC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to