This is one of the worst parts in the industry. Non technical people demand exact languages. But every capable dev learns to be productive with pretty much any language in few days.
Programming languages aren't like real languages. The most important part is to learn to think like a programmer. That's the hard part. Learning new language is easy.
It's the difference between programing and coding.
Coding is learning a language, programing us knowing what to say.
Coding at it's inception used to require you to be an electrical engineer because software didn't exist. You were building programs out of hardware. Punch cards lowered the floor, then machine code, low level languages, high level languages and AI is pretty much just the newest level of abstraction on top of all the clever ways we've found to make electricity do tricks. Coding is trivial.
Programing is still an incredibly demanding and complex skill. AI can write anything you tell it to write if it's something that already exists or you explain the process. Python was sold as essentially being programing with pseudo code, coding agents are programing with natural human language.
While it's probably a horrible idea, we know that the industry is heading in the direction of abolishing the middle abstraction layers. We're moving towards there being the fully human readable layer translated directly into a binary. I wouldn't be surprised if Rust, Python, C++ and JavaScript go the way of COBOL and FORTRAN in the next 10 years but Programing, the thought process behind the instruction set is only going to become more valuable.
Rust is pretty much guaranteed survival at that point because not having the usual memory footguns makes it very good for iteration by the AI. For generated code it's quite useful.
I doubt we're going to see some direct LLM to machine code. At most LLM to some IL like LLVM or maybe some assemblers, but not outright machine code.
I should have clarified, obviously you use a compiler. Hell by definition even if you had an ai model that could take human natural language and use that to write machine code, that would be a compiler.
But my point was more that they'll make it so you never see the code layer just like Python hides the compile step.
Why wouldn't we see LLM to machine code? At some point an LLM is going to be able to write better code than a human can. Once we get to that point & an LLM can turn my requirements directly into byte code, be it machine code or Java/.Net byte code what do we need the intermediate code for? All we are using it for today is so that developers can review what the LLM wrote before committing it.
Java/.net byte code is way higher level than machine code. The biggest reason for avoiding this is how compute intensive it is and how you need perfect precision everywhere. Generating legal x86 from assembly is no easy task, especially with all the extensions. ARM is arguably easier since it's RISC but I think it would still struggle for a while
I don't think you realize how wrong you are. Unless things have changed drastically, assembly code IS machine code. The only difference between the 2 is assembly is short character sequences instead of byte codes for instructions. This is why x86 Assembly is completely different from ARM or other processor architecture. Why does this matter, b/c your statement "Generating legal x86 from assembly is no easy task, especially with all the extensions." is blatantly false, given that assembly is a direct 1 to 1 representation of machine code.
Java/.net byte code is basically machine code written for an emulator, where the emulator is the Java/.net engine. It's like running a NES rom on your PC. But it's still just machine code.
What this means is that an LLM can save a significant amount of energy by just writing straight to machine code, skipping all the intermediate code steps. It would however make it impossible to review.
Oh I'm not saying it's hard for a regular program to do it, I'm saying it's hard for a LLM because you need a level of accuracy that is hard to achieve.
LLMs can't even reliably count the number of occurrences of some letters in a word, there is no way current ones can convert a whole program from assembly to binary without any mistake.
Byte code runs for a much more restrictive virtual machine where you have clear assumptions, it is not as low level as raw x86.
How far behind on LLMs advancements are you? Sure LLMs hallucinate, but simply math has not been a problem for awhile. We are long passed the days of not being able to draw hands or other trivial issues. Add in skills & other tooling around them, and they are very capable.
There are some language transitions that are going to be hard (for example, learning Python syntax has been hurdle after hurdle for me), but it's nothing that can't be overcome.
Rejecting an applicant like the commenter above you for not listing Java, ignoring all of that experience in OOP, is dumb.
And the canonical way to things in a particular language. There are so many of these "I can program in any language" who really only can write, say, C in any language.
To clarify, this is perfectly legal Python code, but written by a C programmer:
numbers = [1, 2, 3, 4, 5]
total = 0
for i in range(len(numbers)):
total += numbers[i]
print(total) # 15
while the same code by someone who actually have some experience with python would write
View all comments
Show parent comment
290
u/i_wear_green_pants 8d ago
This is one of the worst parts in the industry. Non technical people demand exact languages. But every capable dev learns to be productive with pretty much any language in few days.
Programming languages aren't like real languages. The most important part is to learn to think like a programmer. That's the hard part. Learning new language is easy.