Why do we bother with programming languages today? Why not have the LLMs just write assembly code and skip the human readable part? We are not reviewing it anymore anyway.
1) Higher level code is easier for LLMs to review and iterate upon. The more the intent is clear from the code, the easier it is for humans and LLMs to work with.
2) LLMs get stuck or fail to solve a problem sometimes. It is preferable to have artifacts that humans can grok without the massive extra effort of parsing out assembly code.
3) Assembly code varies massively across targets. We want provable, deterministic transformation from the intent (specified in a higher level language) to the target assembly language. LLMs can't reliably output many artifacts for different platforms that behave the same.
4) Hopefully, we are still reviewing the code output by LLMs to some extent.
> 1) Higher level code is easier for LLMs to review and iterate upon. The more the intent is clear from the code, the easier it is for humans and LLMs to work with.
The counter-argument, and one that matches my experience is working at a lower level is actually beneficial for LLMs since they can see the whole picture and don’t have to guess at abstractions.
1.5) Having a compiler in the loop that does things like enforcing type constraints (and in the case if Rust in particular, therefore memory safety guarantees) is really useful both for humans and LLMs.
Feel free to post a project of yours where you gave a bunch of prompts to an LLM and it produced a working application written in assembly without you having to check for anything
I get what you mean but I think if anything AI pairs extremely well with strongly typed languages that are at times cumbersome for humans, but decrease the latency at which AI can get feedback on its code. In my (very) limited experience Rust is an excellent target for AI codegen.
This is a Rust to CUDA converter so I guess it is for codes where the programmer wants it to function properly (Rust) and have good performance (CUDA).
It’s just a matter of different workflows for different users and application.
Programming languages are tools for thinking. It's not clear that assembly code has the right abstractions to encourage the kind of thinking that programming large systems requires. After all, human intelligence found assembly insufficient and went on to invent better languages for thinking, why should artificial intelligence, trained on human intelligence, be any different? Maybe AI in the future will have its own languages for thinking, but assembly is likely not that.
I mean, AI is not good at writing x86-64 assembly code. Last time I tried (with both Claude and ChatGPT), the AI failed to even create basic programs other than Hello World.
I believe that I have learned cumulatively double in the past 10 years from YouTube compared to what I learned in 6 years of middle and high school. And I don’t spend 8 hours per day on YouTube.
Plumbing, react, combinatorics, real analysis, python, c++, cad, micro and macro economics, reinforcement learning, to name just a few of the things I learned through YouTube.
We don’t give enough credit to what we take for granted today.
Do we have local first html renderers that don’t complain about cors and wrong file addresses? I don’t want to spin up a server just to open an HTML file
So let me get this straight. Foreign tourist spend less money in your country than domestic tourists because the foreign tourist are driving in with an RV and living off of a fifty pound bag of rice during their vacation?
Fwiw, there are a lot of highly frugal people in eg the surfer/kiting community (example!) which do indeed spend pretty much nothing where they're visiting for their hobby.
And they do often smell and leave trash behind.
So I can imagine that being true if you're living in one of those hotspots... It's a hard topic though
Let me set this straight: My point is you have an incorrect idea of how much space a month of food (and it needn't all be rice; that just illustrates the point) takes up. You can readily fit it in an RV, especially a big one.
Already happening. UK airlines are desperately culling flights, and have been doing so for the past month. The pace of cancellations is also increasing, with the last week seeing cancellation waves that from the outside look quite paniccy.
Claude itself was almost from the very beginning available in bedrock.
reply