upvote
While I agree that LLMs can point you in the right direction of topics for something like a compiler's architecture, I think that this is extremely optimistic. I say this as I tried to do the same thing to see how well it would work (and I've been programming for almost 20 years now), and I quickly remembered why we have compiler courses.

The breadth of topics and how much they interplay is a lot more complicated than your typical software, and there's hundreds of small decisions you have to make along the way which you can only really understand how to design/steer if you understand the whole pipeline.

Your type system affects your syntax, and your syntax affects the complexity of types you can represent ergonomically, and your type system affects your runtime memory model and lowering, and so on and so on.

If you're willing to just let the LLM do all of the work and only judge it from the outside (observational correctness, but otherwise a black box), then sure, maybe you can get something. But I think that's:

1. going to lead to holes in your language design that you don't understand how to fix.

2. robbing you of the opportunity to learn. Learning design via one of the harder problems that exists, and also learning how to learn. You're forced to organize your approach to understanding the topics in a way that you can't just bruteforce components out of order and piecemeal unless you have an insane capacity to memorize things.

reply
Why would you care about which language you're using if you don't care to get familiar with it?
reply
What if you DO care but you couldn’t get the thumbs up from the team before because “what if we end up having to rewrite?”

I’m saying the opportunity cost of trying new languages has never been lower.

reply
the language, and the ecosystem of tooling and packages, you choose for a project will have a massive influence on the outcome.

all languages excel at something to the detriment of something else, no language can be good at everything.

the language also defines the terms for which you can reason about a problem.

even if you're not writing it, you're (hopefully) still reading it.

There's a good reason we're not writing web servers in assembly or SQL.

reply
And this language has more mature tooling and a larger base of packages? And while I avoid LLMs unless I'm paid a shitload of money to deal with them, it's obvious none of my coworkers read their generated code; as LLMs get better, this obviously expands.
reply
LLMs make programming languages irrelevant, it is the dream of 4GLs finally becoming widespread.
reply
I disagree. I speak my development and don't touch the keyboard for any programming tasks except maybe the up and down arrow keys.

For me, there are 2 or 3 different levels to modeling what's going on. The first phase is the architecture; the second phase is the design, although some claim those two are merged. And then there's the modeling of the implementation, and that is driven by the programming language. Even though an LLM is generating all my code, I still read it; I still try to understand it so that when I debug it, I'm not going WTF quite as often.

reply
Ah, that is the early steps when joining an offshoring project, the early days to review each PR that gets in from the offshoring team, until a couple of months later down the line, as long as it fits the customer requirements, it is good enough.

The only difference is that now the offshoring team is out of luck, replaced by gremlins in the box.

reply
You're probably right. It's attention fatigue. way too many moons ago, I was a dev on a project that required scanning a bunch of existing documents (close to a million pages, all for gov projects), and we needed a person to sit there and look at every single page to approve it. We found that within 10, 15 minutes, people's eyes glazed over, and they just hit accept.

I'm sure the same thing will happen to me after a while, like about a half hour from now.

reply
> A fourth-generation programming language (4GL) is a high-level, often domain-specific language that uses human-like syntax and focuses on what result to achieve rather than how to execute every step.
reply