3 ms·
I like to say that it would be nice if python had as much money invested as javascript.
by jokoon 3y ago
I like to say that it would be nice if python had as much money invested as javascript.
- artemisart 3y agoI'm 1000% with you, I never understood why GAFAM never invested much in python despite using it quite heavily. Maybe more NIH and politics than engineering issues I guess?
- no_wizard 3y agowhat is GAFAM? Is that suppose to be the new FAANG acronym? In which case, they actually have, on multiple occasions, including currently Microsoft being one of the biggest contributors to Python core. At one point Google employed Guido and he worked on Python there, and I believe they also have made alot of contributions to core. Can't speak as much to Meta or Netflix though, simply don't have the knowledge Its an architectural problem, more so than a money one
- cataflam 3y ago> what is GAFAM? Is that suppose to be the new FAANG acronym? It's the French version of the acronym
- jkrubin 3y agoGÁFÀM
- 082349872349872 3y agomore AAMAM (not to be confused with AMRAAM or Hammam)
- nbwrts 3y agoThis is not accurate. Most large contributions up to at least 3.6 have come from individuals, many of whom left or went silent because they could not stand Python core or its development practices. GvR has contributed very little while at Google. Even with asyncio most contributions came a) from independent developers who fixed all the mistakes and then b) another non-FAANG developer who augmented it substantially. FAANG provides power hungry politicians who go for every title and position of power in Python core and the PSF. The Python speedup project is the first of its kind and so far is based on decades long independent work of Mark Shannon. I doubt than any JIT expert at Microsoft would want to get involved with PSF politics (career risk), especially because F# and C# are better languages. (The no-gil project of Sam Gross is the second of its kind, but is unlikely to go in because NIH politics.)
- rawrawrawrr 3y agoMany of the projects the blog post talked about are spearheaded by Meta (StaticPython, Cinder) and Microsoft (optimizations in Python 3.11+)
- mathiasgredal 3y agoWhat prevents someone from “just” making a sort-of JIT compiler by converting Python to JavaScript at runtime and then running the generated JS through V8? Then you could reuse a lot of the optimizations in these JS engines, and the interface between them could just be a thin translation layer between the two languages.
- papercrane 3y agoProbably the same problem that prevents a JVM based Python from being popular. There are many popular libraries that use C extensions. Without those the platform isn't usable for many use cases, and it just becomes a niche platform.
- lozenge 3y agoThe optimisations are around the javascript types, such as the number (float) and the object (which has string properties, a prototype chain, etc). Once you have to express all the Python semantics, like arbitrary precision integers or multiple inheritance, the optimisations no longer "skip" much of the work.
- fuzztester 3y agoOr as in Java in its early days, by Sun.
- fuzztester 3y ago[flagged]