| ▲ | Keyframe 5 hours ago | ||||||||||||||||||||||
an LLM can easily code it without errors can't tell if sarcasm or not. Just in case it's not.. in that case why don't we all vibe everything in assembly? No need for abstractions anymore since that's a human concept. LLM can do it without errors, as you say, and we'll reap the benefits of speed! | |||||||||||||||||||||||
| ▲ | mdp2021 5 hours ago | parent | next [-] | ||||||||||||||||||||||
> why don't we all vibe everything in assembly I really loved this retort, but we have to reply: from that cone of perspective, it would be probably better to "vibecode" in C and not hope that the LLM does a better job than the compiler (for efficiency, not for absence of bugs as per the original). (Edit: for clarity: some compilers of low level languages are specialized in ASM optimization - the LLM will hardly beat them.) | |||||||||||||||||||||||
| ▲ | fragmede 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Because it's not portable. The world we find ourselves in is at least x86 and ARM, and assembly for one isn't good for the other. LLVM has a hardware agnostic intermediate representation (IR) that one could use though. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | slashdave 4 hours ago | parent | prev [-] | ||||||||||||||||||||||
Except for some odd corner cases, it is very hard for a good engineer to beat compilers these days (they are very good now). Not to mention, tuning depends on the platform, and often the exact model of chip. | |||||||||||||||||||||||
| |||||||||||||||||||||||