Hacker News new | ask | show | jobs
by preg_match 21 hours ago
There’s just no reason to use assembly as a target versus, say, dotnet. No reason.

It burns more tokens, it’s less performant, and it’s more buggy. You also can’t use existing libraries and tools.

And for that you get… nothing. Literally no benefit. So why would we do it?

There are uses for assembly in modern software, in niche small pockets to utilize hardware intrinsics for speed up in critical algorithms. But for applications? No, I don’t think so. It’s going to continue being programming languages, and I think programming languages with compilers, strong tools, and comprehensive type systems will prevail.

Even from the perspective of 100% LLM generated code, there’s just no benefit. You’re better off creating a one-off compiler for some DSL and having the LLM generate that even. LLMs do well with formal, strict languages. They don’t do well with things like assembly or wishy-washy languages.

I think that’s the whole reason we use LLMs at all. Yes they can understand natural language, but we don’t make programs in natural language because its too all over the place. LLMs excel most when they generate code. Nobody does business logic in an LLM, they get the LLM to generate code for the business logic.