Live data from Hacker News

I built a programming language using Claude Code

ankursethi.com

61–70 of 194 posts

Re: I built a programming language using Claude Code

#61
post #42

Wait. You built a new language, that there's thus no training data for. Who the hell is going to use it then? You certainly won't, because you're dependent on AI.

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." https://news.ycombinator.com/newsguidelines.html

It isn’t shallow.

Who’s going to use it?

Re: I built a programming language using Claude Code

#62
Admittedly I only skimmed this, but I found it interesting that they came to the conclusion that Claude is really bad at (thing they know how to do, and therefore judge ) and really good at (thing they don't know how to do or judge).

I mean, they may be right but there is also a big opportunity for this being Gell-Mann amnesia : "The phenomenon of a person trusting newspapers for topics which that person is not knowledgeable about, despite recognizing the newspaper as being extremely inaccurate on certain topics which that person is knowledgeable about."

Re: I built a programming language using Claude Code

#63

> While working on Cutlet, though, I allowed Claude to generate every single line of code. I didn’t even read any of the code. Instead, I built guardrails to make sure it worked correctly (more on that later). Impressive. As a practical matter, one wonders what th point would be in creating a new programming languages if the programmer no longer has to write or read code. Programming languages are after all the inter…

The constraints enforced in the language still matter. A language which offers certain correctness guarantees may still be the most efficient way to build a particular piece of software even when it's a machine writing the code. There may actually be more value in creating specialized languages now, not less. Most new languages historically go nowhere because convincing human programmers to spend the time it would ta…

> every AI coding bot will learn your new language as a matter of course after its next update includes the contents of your website.

How will it "learn" anything if the only available training data is on a single website?

LLMs struggle with following instructions when their training set is massive. The idea that they will be able to produce working software from just a language spec and a few examples is delusional. It's a fundamental misunderstanding of how these tools work. They don't understand anything. They generate patterns based on probabilities and fine tuning. Without massive amounts of data to skew the output towards a potentially correct result they're not much more useful than a lookup table.

Re: I built a programming language using Claude Code

#64
Not to discount your experience, but I dont understand what's interesting about this. You could always build a programming language yourself, given enough time. Programming languages' constructs are well represented in the training dataset. I want someone to build something uniquely novel that's not actually in the dataset and i'll be impressed by CC.

Re: I built a programming language using Claude Code

#65
post #42

Wait. You built a new language, that there's thus no training data for. Who the hell is going to use it then? You certainly won't, because you're dependent on AI.

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." https://news.ycombinator.com/newsguidelines.html

it's a valid question and one that everyone should be asking, unless ofcourse it's for fun which is what I believe this is.

Re: I built a programming language using Claude Code

#66
post #3

AI written code with a human writted blog post, that's a big step up. That said, it's a lot of words to say not a lot of things. Still a cool post, though!

Agree. I've been yearning for more insightful posts and there's just not alot of them out there these days

Re: I built a programming language using Claude Code

#67
I'd say these times will be filled with a lot of tailored-to-you "self"-made software, but the question is, are we increasing amount of information in the world? I heard that claude and chatgpt are getting good at mathematical proofs which give really something to our knowledge, but all other things are neutral to entropy, if not decreasing. Strange time to live in, strange valuations and devaluations...

Re: I built a programming language using Claude Code

#69

Earlier quoted context omitted.

> every AI coding bot will learn your new language If there are millions of lines on github in your language. Otherwise the 'teaching AI to write your language' part will occupy so much context and make it far less efficient that just using typescript.

Uh not really. I am already having Claude read and then one-shot proprietary ERP code written in vintage closed source language OOP oriented BASIC with sparse documentation.... just needed to feed it in the millions of lines of code i have and it works.

"i haven't been able to find much" != "there isn't much on the entire internet fed into them"
Post reply on HN