News for hackers. Stuff that matters.
Re:What makes Claude Code so damn good by fragmede on Saturday August 23, 2025 @10:21PM (#45000751)
LLMs write python and typescript well, because of all the examples in their training data. But what if we made a new programming language whos goal was to be optimal for an LLM to generate it? Would it be closer to assembly? If we project that the future is vibe coded, and we scarcely look at the outputted code, testing, instead, that the output matches the input correctly, not looking at the code, what would that language look like?
Re:What makes Claude Code so damn good by majormajor on Saturday August 23, 2025 @11:42PM (#45001166)
What is it that you think would make a certain non-Python language "more optimal" for an LLM? Is there something inherently LLM-friendly about certain language patterns or is "huge sets of training examples" and "a robust standard library" (the latter to conserve tokens/attention vs having to spit out super-verbose 20x longer assembly all day) all "optimality" means?
Re:What makes Claude Code so damn good by fragmede on Monday September 01, 2025 @03:00AM (#45090208)
It's fair to point out that I didn't define exactly what we're optimizing for, but I can have the LLM generate assembly if I ask. It'll be faster than python, at the expense of readability, but if we're no longer writing code, then why not straight up use assembly? ARM vs x86 becomes an issue, but are there other reasons not to use assembly?
Re:What makes Claude Code so damn good by alankarmisra on Saturday August 23, 2025 @10:57PM (#45000925)
They’d presumably do worse. LLMs have no intrinsic sense of programming logic. They are merely pattern matching against a large training set. If you invent a new language that doesn’t have sufficient training examples for a variety of coding tasks, and is syntactically very different from all the existing languages, the LLMs wouldn’t have enough training data and would do very badly.
Re:What makes Claude Code so damn good by metrix on Saturday August 23, 2025 @11:00PM (#45000945)
I have thought the same thing. How is it created? is it an idea by an LLM to make the language, or a dev to create a language designed for an llm.

How do we get the LLM to gain knowledge on this new language that we have no example usage of?

Re:What makes Claude Code so damn good by fragmede on Monday September 01, 2025 @03:02AM (#45090221)
Same way we do for any other language. Give it docs and a runtime, and have it go off and generate code and use that training data.
Re:What makes Claude Code so damn good by hoyo1s on Saturday August 23, 2025 @11:40PM (#45001153)
Strict type-checking and at least with some dependent type and inductive type