5 ms·
In the world of AI written code, Python just doesn’t make sense. Converted about 100k lines in the last few months to golang and the performance is life changin
by brianwawok 5mo ago
In the world of AI written code, Python just doesn’t make sense. Converted about 100k lines in the last few months to golang and the performance is life changing. Curious if we will see global Python adoption fall by 75% or more in the next few years.
- backwardation_b 5mo agonothing about the performance characteristics of python changed with AI so why would you use python over golang if performance is a requirement/bottleneck? Trying to understand the reasoning as to me golang and python are equally simple to write and understand.
- phainopepla2 5mo agoRegardless of whether golang and python are actually equally simple, python certainly has the reputation of being easier to write and read than almost any other language. That is a big part of its popularity.
- Yokohiii 5mo agoIf language X is a persons comfort zone, that person will often default to it. Python is certainly more widespread then go. Also, even if it looks like that to you, there are still people that write code with their own hands.
- mau 5mo agoI think humans are still accountable for the code generated by agents. You are free to switch language but you still need to understand it.
- tdb7893 5mo agoWith a similar amount of experience with both languages I found Go much easier to read. I've always been a bit miffed why Python is seen as easy to read for experienced developers. I get the syntax is good for short code or people with little experience but my experience is those readability benefits went away quickly with time or complexity.
- mywittyname 5mo agoWhy are you miffed about it? I legitimately hate reading golang with passion and find python to be pretty intuitive, outside of the odd ambitious list comprehensions. I worked in a golang shop for several years, so it's not just an familiarity situation either. We are just different. That's not something to be mad about.
- __loam 5mo ago[flagged]
- lijok 5mo agoWe should all go back to writing assembly
- __loam 5mo agoNo we should write one of the many modern programming languages that handle certain projects way better, including kotlin, go, or Java. The only things python is best in class at are scripting and as a harness for high performance c++ or fortran.
- dec0dedab0de 5mo agoI think we'll eventually be generating machine code directly. But until then we should be using code that our team can actually read and understand. If you know go, then that works you, Not everyone does.
- H8crilA 5mo agoDoubt it. LLMs will always be more expensive per-token than compilers, and high level languages need fewer tokens than machine code. Also, type systems, warnings, overlap with natural language in names - those are very useful.
- lern_too_spel 5mo agoFor personal projects, yes. For code going into production, you still need human code review, and that has to happen in a language that the humans you've hired are comfortable with. One day, we'll all be YOLOing vibe code straight into production, but that day is not today.
- JackSlateur 5mo agoBut that day is not today .. unless you are working for microslop or clownflare ? Half-kidding, sorry :)