by qweqwe14 · 3w ago · 0 comments
I think Rust is doing much better on both fronts. It has always been a more pragmatic language than Scala, and the way it is developed supports that, rather than pushing the weirdness budget higher. The overall political lean of the Rust community is also more amenable to support in mainstream institutions + companies.
These even applies to C++, born on UNIX out of C, and regardless of rants, it is 100% obvious to me that there wasn't a single UNIX platform that would care to use C++ instead of C on its core implementation.
Zig is so clearly not trying to do anything rust is doing, I don't really understand how you could come to this conclusion.
Zig is "I want to tell the computer exactly what to do."
Rust is "I want to write code that protects me from myself"
We did?
This. If we continue on this LLM/AI trajectory, and you're not constrained by your platform to use a specific language, why would you choose C or Zig or C++ over Rust? You won't be reading or writing the code yourself, LLMs will, and they benefit from a strong type system that catches a lot of issues, meaning fewer tests are needed.
But the more common case is simply that each line of code gets some limited "thinking", whether it's inside the model's weights, a thinking block, or a whole turn. Only repeated turns can reason for arbitrary depths, so it's just not necessarily a good use of any of these buckets to spend on something we have a good and efficient algorithm for. Plus any of the former are stochastic which may accidentally ignore true issues (just like humans).
I don't have any justification for that explanation other than anecdotes. I will say that LLMs are typically quite bad at avoiding those memory issues, whatever the reason might wind up being.
Rust is the language defending itself against human mistakes whereas Zig promises the dev/agent total freedom by eliminating implicit interactions. That makes zig more readable/approachable without needing large amounts of context.
Poor AI
/s
No /s
AI is also a great tool for C and C++ development, especially when writing English to C/C++ compilers.