Jump to page: 1 2

Thread overview
Chatgpt and bus error

1 day ago

Walter Bright

13 hours ago

Walter Bright

1 day ago

jmh530

1 day ago

libxmoc

1 day ago

libxmoc

12 hours ago

strawberry9

5 hours ago

Walter Bright

4 hours ago

Meta

5 hours ago

Walter Bright

1 day ago

Chatgpt and bus error
Gravatar of Walter BrightPosted by Walter BrightPermalinkReply
Gravatar of Walter Bright
I am not very familiar with the Mac, and waste a lot of time trying to figure out the Mac way of doing things.

I was getting a bus error from a hello world program in Arm64, from somewhere in druntime. I tried my usual methods at tracking the problem, to no avail. So I thought what the heck, and uploaded the executable to chatgpt. It responded with a list of lldb commands, which I executed and transmitted the results back to chatgpt.

It found the bug!

Well, that was a big time saver. Tomorrow I'll see about fixing it.

1 day ago

Re: Chatgpt and bus error
Gravatar of Richard (Rikki) Andrew CattermolePosted by Richard (Rikki) Andrew Cattermole
in reply to Walter Bright
PermalinkReply

Richard (Rikki) Andrew Cattermole

Gravatar of Richard (Rikki) Andrew Cattermole

Posted in reply to Walter Bright

On 11/10/2026 7:56 PM, Walter Bright wrote:
> I am not very familiar with the Mac, and waste a lot of time trying to figure out the Mac way of doing things.
> 
> I was getting a bus error from a hello world program in Arm64, from somewhere in druntime. I tried my usual methods at tracking the problem, to no avail. So I thought what the heck, and uploaded the executable to chatgpt. It responded with a list of lldb commands, which I executed and transmitted the results back to chatgpt.
> 
> It found the bug!
> 
> Well, that was a big time saver. Tomorrow I'll see about fixing it.

If you used a client, it would have been able to run it for you and then fixed it.

- Someone who already has aarch64 backend that is optimizing

1 day ago

Re: Chatgpt and bus error
Gravatar of jmh530Posted by jmh530
in reply to Walter Bright
PermalinkReply

jmh530

Gravatar of jmh530

Posted in reply to Walter Bright

On Sunday, 11 October 2026 at 06:56:45 UTC, Walter Bright wrote:
> I am not very familiar with the Mac, and waste a lot of time trying to figure out the Mac way of doing things.
>
> I was getting a bus error from a hello world program in Arm64, from somewhere in druntime. I tried my usual methods at tracking the problem, to no avail. So I thought what the heck, and uploaded the executable to chatgpt. It responded with a list of lldb commands, which I executed and transmitted the results back to chatgpt.
>
> It found the bug!
>
> Well, that was a big time saver. Tomorrow I'll see about fixing it.

Try using Codex. Might need Plus/Pro subscription to get some good use out of it.

1 day ago

Re: Chatgpt and bus error
Gravatar of libxmocPosted by libxmoc
in reply to Walter Bright
PermalinkReply

libxmoc

Gravatar of libxmoc

Posted in reply to Walter Bright

On Sunday, 11 October 2026 at 06:56:45 UTC, Walter Bright wrote:
> I am not very familiar with the Mac, and waste a lot of time trying to figure out the Mac way of doing things.
>
> I was getting a bus error from a hello world program in Arm64, from somewhere in druntime. I tried my usual methods at tracking the problem, to no avail. So I thought what the heck, and uploaded the executable to chatgpt. It responded with a list of lldb commands, which I executed and transmitted the results back to chatgpt.
>
> It found the bug!
>
> Well, that was a big time saver. Tomorrow I'll see about fixing it.

The machine is getting better.

One note tho. the model available on the website is optimized to serve the general public, it is not that good, you should definitely look into using their codex or better, go with claude, you'll get a much better UX, it'll be able to inspect binaries directly for you using objdump and the likes, ut can disassemble, read assembly and a whole bunch of stuff.

AI in the hands of people like you is a deadly combo.


1 day ago

Re: Chatgpt and bus error
Gravatar of libxmocPosted by libxmoc
in reply to libxmoc
PermalinkReply

libxmoc

Gravatar of libxmoc

Posted in reply to libxmoc

On that note, I recommend that the D Foundation look into https://claude.com/contact-sales/claude-for-oss to gain free access to Claude.

13 hours ago

Re: Chatgpt and bus error
Gravatar of Walter BrightPosted by Walter Bright
in reply to Richard (Rikki) Andrew Cattermole
PermalinkReply

Walter Bright

Gravatar of Walter Bright

Posted in reply to Richard (Rikki) Andrew Cattermole

On 10/11/2026 12:01 AM, Richard (Rikki) Andrew Cattermole wrote:
> - Someone who already has aarch64 backend that is optimizing

??

13 hours ago

Re: Chatgpt and bus error
Gravatar of Richard (Rikki) Andrew CattermolePosted by Richard (Rikki) Andrew Cattermole
in reply to Walter Bright
PermalinkReply

Richard (Rikki) Andrew Cattermole

Gravatar of Richard (Rikki) Andrew Cattermole

Posted in reply to Walter Bright

On 12/10/2026 11:37 AM, Walter Bright wrote:
> On 10/11/2026 12:01 AM, Richard (Rikki) Andrew Cattermole wrote:
>> - Someone who already has aarch64 backend that is optimizing
> 
> ??

I've been keeping it pretty quiet and nobody really caught it when I mentioned it in a monthly meeting recently.

I have my own language now :)

With optimizing backend, including aarch64 support.

Fully LLM written.

12 hours ago

Re: Chatgpt and bus error
Gravatar of strawberry9Posted by strawberry9
in reply to Walter Bright
PermalinkReply

strawberry9

Gravatar of strawberry9

Posted in reply to Walter Bright

On Sunday, 11 October 2026 at 06:56:45 UTC, Walter Bright wrote:
> I am not very familiar with the Mac, and waste a lot of time trying to figure out the Mac way of doing things.
>
> I was getting a bus error from a hello world program in Arm64, from somewhere in druntime. I tried my usual methods at tracking the problem, to no avail. So I thought what the heck, and uploaded the executable to chatgpt. It responded with a list of lldb commands, which I executed and transmitted the results back to chatgpt.
>
> It found the bug!
>
> Well, that was a big time saver. Tomorrow I'll see about fixing it.

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.

Embrace the AI age right now - that is my recommendation.

Not only will it save you lots of time, it may even put you out of your job ;-)


5 hours ago

Re: Chatgpt and bus error
Gravatar of Walter BrightPosted by Walter Bright
in reply to Walter Bright
PermalinkReply

Walter Bright

Gravatar of Walter Bright

Posted in reply to Walter Bright

Fixed it! Now hello.d compiles and runs successfully. It's a big step forward.

5 hours ago

Re: Chatgpt and bus error
Gravatar of Walter BrightPosted by Walter Bright
in reply to strawberry9
PermalinkReply

Walter Bright

Gravatar of Walter Bright

Posted in reply to strawberry9

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.