2 days ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
![]() Posted in reply to Walter Bright | On 12/10/2026 7:32 PM, Walter Bright wrote:
> On 10/11/2026 4:16 PM, strawberry9 wrote:
>> I got AI to write a how language specification and compiler .etc... etc.. in less that a week ( https://github.com/strawberry9/CobaltC )
>
> You and Rikki! I expect there will be many more.
There are many more than just us.
But I suspect around D I may be the only actual language designer/compiler developer to do it.
I have lots of opinions about compiler architecture :)
| |||
2 days ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Meta ![]() Posted in reply to strawberry9 | On Sunday, 11 October 2026 at 23:16:07 UTC, strawberry9 wrote: > Your a bit behind the times Walter;-) > > I got AI to write a how language specification and compiler .etc... etc.. in less that a week ( https://github.com/strawberry9/CobaltC ) > > Can you imagine how long that would have taken a human (or more correctly, a 'team' of humans, to complete).It's only cost me 1 months subscription so far. I'll add that I "wrote" a major language addition in a couple weeks with AI, whereas it would've taken me months otherwise. https://github.com/dlang/dmd/pull/23744 We're only at the beginning of a massive explosion in the speed at which languages and features can be iterated on. In 5-10 years I think the programming language landscape will look completely unrecognizable. | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Lance Bachmeier ![]() Posted in reply to Walter Bright | On Monday, 12 October 2026 at 06:32:37 UTC, Walter Bright wrote: > On 10/11/2026 4:16 PM, strawberry9 wrote: >I got AI to write a how language specification and compiler .etc... etc.. in less that a week ( https://github.com/strawberry9/CobaltC ) You and Rikki! I expect there will be many more. I think you're out of luck with respect to preventing people from inventing their own syntax for D. It's such a trivial programming problem to transform custom syntax into valid D that you can vibe code a preprocessor with a local LLM running on a CPU (I've done it). At some point I will stop writing pure D syntax, even if I share the pure D code with others. I find D to be a compelling target language because it's fast, it has a GC, it can go low-level, it's supported on many platforms, it has good language interoperability, etc. But I don't have a reason to stick with the out-of-the-box syntax any longer. | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
monkyyy ![]() Posted in reply to Lance Bachmeier | On Monday, 12 October 2026 at 17:08:52 UTC, Lance Bachmeier wrote: > On Monday, 12 October 2026 at 06:32:37 UTC, Walter Bright wrote: >platforms, it has good language interoperability, etc. But I don't have a reason to stick with the out-of-the-box syntax any longer. why preprocessors over byte code or intruptitors? all 3 should be ancient cs, verifiable etc. | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Lance Bachmeier ![]() Posted in reply to monkyyy | On Monday, 12 October 2026 at 19:17:48 UTC, monkyyy wrote: > On Monday, 12 October 2026 at 17:08:52 UTC, Lance Bachmeier wrote: >On Monday, 12 October 2026 at 06:32:37 UTC, Walter Bright wrote: >platforms, it has good language interoperability, etc. But I don't have a reason to stick with the out-of-the-box syntax any longer. why preprocessors over byte code or intruptitors? all 3 should be ancient cs, verifiable etc. They'll all be straightforward using a frontier model. I singled out the preprocessor because it's fast and easy even using a local model. | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
jmh530 ![]() Posted in reply to Lance Bachmeier | On Monday, 12 October 2026 at 21:59:54 UTC, Lance Bachmeier wrote: > On Monday, 12 October 2026 at 19:17:48 UTC, monkyyy wrote: >On Monday, 12 October 2026 at 17:08:52 UTC, Lance Bachmeier wrote: >On Monday, 12 October 2026 at 06:32:37 UTC, Walter Bright wrote: >platforms, it has good language interoperability, etc. But I don't have a reason to stick with the out-of-the-box syntax any longer. why preprocessors over byte code or intruptitors? all 3 should be ancient cs, verifiable etc. They'll all be straightforward using a frontier model. I singled out the preprocessor because it's fast and easy even using a local model. Why not just tell the LLM what to do? | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Walter Bright ![]() Posted in reply to Richard (Rikki) Andrew Cattermole | On 10/12/2026 12:01 AM, Richard (Rikki) Andrew Cattermole wrote:
> I have lots of opinions about compiler architecture :)
So does everyone else!
| |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Walter Bright ![]() Posted in reply to Lance Bachmeier | On 10/12/2026 10:08 AM, Lance Bachmeier wrote:
> I think you're out of luck with respect to preventing people from inventing their own syntax for D.
People write their own custom languages all the time that transform into a base language.
I've done it multiple times, too.
It's usually done with macros.
| |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Lance Bachmeier ![]() Posted in reply to jmh530 | On Monday, 12 October 2026 at 23:51:54 UTC, jmh530 wrote: > On Monday, 12 October 2026 at 21:59:54 UTC, Lance Bachmeier wrote: >On Monday, 12 October 2026 at 19:17:48 UTC, monkyyy wrote: >On Monday, 12 October 2026 at 17:08:52 UTC, Lance Bachmeier wrote: >On Monday, 12 October 2026 at 06:32:37 UTC, Walter Bright wrote: >platforms, it has good language interoperability, etc. But I don't have a reason to stick with the out-of-the-box syntax any longer. why preprocessors over byte code or intruptitors? all 3 should be ancient cs, verifiable etc. They'll all be straightforward using a frontier model. I singled out the preprocessor because it's fast and easy even using a local model. Why not just tell the LLM what to do? Sometimes that's reasonable. It's more efficient and less error-prone if I have an easy way to express my intentions precisely and let the language turn it into calls to libraries. For example, if I want to estimate a particular model, a syntax that lets me express the model concisely and unambiguously is easier than prompting an LLM. | |||
1 day ago Re: Chatgpt and bus error | ||||
|---|---|---|---|---|
| ||||
Lance Bachmeier ![]() Posted in reply to Walter Bright | On Tuesday, 13 October 2026 at 01:29:37 UTC, Walter Bright wrote: > On 10/12/2026 10:08 AM, Lance Bachmeier wrote: >I think you're out of luck with respect to preventing people from inventing their own syntax for D. People write their own custom languages all the time that transform into a base language. I've done it multiple times, too. It's usually done with macros. But you've been opposed to AST macros for as long as I've been using the language, and I'm sure even before that, because you don't want folks writing D with their own syntax. Now we don't need AST macros. | |||
Permalink
Reply




