Is Python Becoming Pinyin?
51–60 of 82 posts
Re: Is Python Becoming Pinyin?
#52Interesting take. Python is my first language, but when working with AI for my latest desktop project I just used Rust because of the performance.
Re: Is Python Becoming Pinyin?
#53Earlier quoted context omitted.
This is a non-sequitur? Python is also not a "standalone language" and requires "some runtime".
Sure but that runtime is much more general purpose - JS runtimes are focused on network apps. For example you can write an app like Calibre in Python and QT and it is much lighter than writing something with JS and Electron. Python is easier to interface with C/C++ libs.
Re: Is Python Becoming Pinyin?
#54Earlier quoted context omitted.
Sure but that runtime is much more general purpose - JS runtimes are focused on network apps. For example you can write an app like Calibre in Python and QT and it is much lighter than writing something with JS and Electron. Python is easier to interface with C/C++ libs.
The async loop does not automatically make it "focused on network apps". Most apps I work with in Python also run on an async runtime.
For example you don’t get to see TCP headers with Node out of the box and you can’t craft packets, whereas you can in Python.
Re: Is Python Becoming Pinyin?
#55The post focuses on Python, but I think it touches on an interesting question before skipping past it: ideally, what language would be best for our AIs to be programming in? The article says Rust. But can we do better? Rust has strong typing and memory guarantees which I think are important, but it’s also slower to compile. If we’re going to be doing agentic programming, where the agent is operating in a tight loop,…
I'm OK with Lisp output, but maybe that just shows how old I am. :-)
I wonder if it's possible (or wise) to have two different compilers for a language -- one that's optimized for such tight loops, and another that does thorough checking, etc. You know, kind of like -O, but at a much deeper level.
Re: Is Python Becoming Pinyin?
#56Earlier quoted context omitted.
A big selling point for Python is the large number of native extensions. Rust has a huge advantage here, in fact many popular Python libraries use Rust underneath.
Maybe the/a big "selling point" for python is the fact, that many teachers don't know better.
Re: Is Python Becoming Pinyin?
#57Python has wonderful set of libraries so it is probably going to stay with us for a while. However, I suspect major takeover by Typescript (despite I like Python more).
I’m a JS/TS dev (and fan) I don’t think either is a replacement for Python. They are not standalone languages but require some runtime to interact with the world (DOM or Node.js etc) which have limited capabilities for interacting with the system - their focus is network services. It’s not that inaccurate to say that JS is just API for a C++ app. :) Now if .NET was still not so embedded in the Windows ecosystem that…
This was why I was excited by Bun until recent events. A typescript runtime with a rich standard library, and fast. It looked like it would be a great sweet spot for many use cases.
Re: Is Python Becoming Pinyin?
#58Earlier quoted context omitted.
Well you can read python, you can't read machine code...
“Vibe coders” don’t read the code their LLM produces. That’s the whole point.
More than one reply to my original comment is along the lines of "but humans cannot read/understand machine code effectively". Perhaps instead of starting my comment with "If we're not writing code by hand anymore anyway", I should have said "writing or reading", but it was implied.
Re: Is Python Becoming Pinyin?
#59The post focuses on Python, but I think it touches on an interesting question before skipping past it: ideally, what language would be best for our AIs to be programming in? The article says Rust. But can we do better? Rust has strong typing and memory guarantees which I think are important, but it’s also slower to compile. If we’re going to be doing agentic programming, where the agent is operating in a tight loop,…
I think "batteries included" is not a good thing to have in the future.
We'll want to be very explicit about what AI generated code can and can not do.
And so some form of effects based scripting language seems like a plausible choice: A language where by default "all batteries are removed".
Re: Is Python Becoming Pinyin?
#60The post focuses on Python, but I think it touches on an interesting question before skipping past it: ideally, what language would be best for our AIs to be programming in? The article says Rust. But can we do better? Rust has strong typing and memory guarantees which I think are important, but it’s also slower to compile. If we’re going to be doing agentic programming, where the agent is operating in a tight loop,…
A very interesting point. Coding with AI definitely requires tight, fast loops. I don't have much experience with Rust, but I had heard that the compiler is slow (because it's doing so much thinking and checking in advance). I'm OK with Lisp output, but maybe that just shows how old I am. :-) I wonder if it's possible (or wise) to have two different compilers for a language -- one that's optimized for such tight loop…
Anyway, I've played around with the idea a bit so far, and it seems that current agents/harnesses use way more tokens with that architecture.