Yeah, I've thought about this since I do prefer JS as a language... Always thought the main advantage of Python was interaction with C libs. Which is also why CPython was the only serious option for an interpreter, even though things like PyPy were faster.
These articles keep coming up, and the author never actually tries agentic coding in Rust vs Python. You will probably find that the LLM does better with Python for kinda similar reasons as humans. It's succinct and can be rerun quickly while you iterate. There's also the difference in training data. If/when a human needs to review code or intervene, same applies.
Can't say I've tried Rust, but my AI tooling has always been noticeably worse at doing comparable tasks in C++ instead of Python. Not just toy examples but real systems in prod with testing, maintenance, oncall, feature rollouts, etc.
> the author never actually tries agentic coding in Rust vs Python
> Can't say I've tried Rust
...
Well, I've actually tried both. The result is similar to what happens when humans code: for small programs the simplicity and terseness of Python helps, but in large programs that accumulate many more invariants that have to be upheld, strictness of Rust becomes an advantage, because it can catch subtler issues with ownership, lifetimes, thread safety.
Although ownership and lifetimes seem like a Rust-specific chore, they're used in APIs to represent all kinds of temporary and single-use objects, so ownership errors are often symptoms of logic bugs that would exist in C++ and even Python, like an event handler callback assuming the event will fire only once when it can fire n times.
You don't see as much improvement with C++, because C++ requires the programmer to get these things correctly, instead of correcting the programmer.
I'm fine with Pax Americana, even if you call it American imperialism, but this whole involvement with Israel and its problems is not in our interest. It's abundantly clear that we have traitors in our government working for another country. Sure Iran has a terrible regime, not supposed to be our problem though.
Not the first time I've seen this absurd "I'm fine with American imperialism" take on here. You must realize that if Iran is such as it is now, it's purely a reaction to the authoritarian regime of the Shah previously used to further American interests, and then to the sanctions imposed on the nation. Those 30K protesters that were murdered are a direct consequence of American imperialism. It's like suffocating someone for decades and then criticizing how they breath. And same goes for Cuba, Venezuela, etc.
The situation can't improve while the USA are doing everything they can to antagonize these places, isolate them, alienate them from their neighbors. Seeing ruthless authoritarians prevail there is completely expected.
Was Reza Shah any better? He was overthrown by WW2 Allies, mainly UK and USSR. Anyway I wouldn't put it past the US to have messed up Iran during the coup against the PM, but in that case it's the Israeli control I was complaining about. Anything we do in that region is probably not in our own interest.
But Cuba and Venezuela govts deserved what they got, and it was plenty of our business being in our backyard.
This sounds so incredible ... do you seriously believe that?
"it's purely a reaction to the authoritarian regime of the Shah previously used to further American interests"
Seriously? THAT is what you think Khomeini wanted and his grandson or whoever wants now?
"And same goes for Cuba, Venezuela, etc."
Oh, you're a "communism really only ever wanted good things for it's people, and it's America's fault they started shooting their own citizens" ... got it.
Isn't the whole point of this thing the hardware? Cause it runs free software, but you can't find many pocket PCs. But yeah the specs don't matter so much.
Honestly I didn't think about that. Maybe they didn't either. Good example of why seeing something vaguely threatening and out of the ordinary is a reason to turn around, even if you don't know why exactly they'd do it.
I can’t see that it ever has. Making it fractionally less ridiculous.
"Those attending should be aware that showing support for a proscribed organisation is an offence under the Terrorism Act, and we will not hesitate to act where the law is broken," said commander Claire Smart, who is leading policing operations in London this weekend.”
I wouldn't want to see slogans like this on an airplane of all places. I agree with the slogan. There are plenty of other times/places to say it. Unfortunately freedom is already out the window the moment you go through TSA security, so if I'm getting my crotch patted down to fly, they can be quiet for a few hours too.
reply