Hacker News new | ask | show | jobs
by ipnon 989 days ago
The trend right now is AI, which is mostly written in Python. Most people want to write their whole stack in 1 language, whenever possible. So people just default to Python servers and React clients.

There is tooling like Carton being developed to work around this, but the gravity is always towards monolanguage stacks. In the past the incumbent would get stiff and lose resiliency, like Java or C. That's when a shiny new language like Python would come along. But with Python's governance and community it seems performance issues (Mojo) and developer experience (PEPs) are still improving. Python seems to still have sticking power.

2 comments

> Most people want to write their whole stack in 1 language, whenever possible. So people just default to Python servers and React clients.

Haven't you just contradicted yourself there? That's two different languages and two different stacks.

Ironically if you were using Elixir the default would be to use Liveview so you'd use a single language.

> That's when a shiny new language like Python would come along

Python is one of the oldest languages that is still in active use, predating Java.

Python's simplicity and flexibility is what has allowed the language to reinvent itself for every new period of computing, while the paradigm- or bare-metal-bound languages have become relics. A good programming language is self-organizing. It takes on the features that are needed by the programmers of the day.