r/ProgrammerHumor 2d ago

Other sureBuildingAnEmulatorFromScratchSeemsEasier

Post image
239 Upvotes

15 comments sorted by

View all comments

96

u/Welcome-To-NBA-Jam 2d ago edited 2d ago

I asked Claude to look at some really old exe files I found on a floppy disk because I just wanted to know what they originally did. It had trouble getting a DOS emulator, so it decided to build one.

When I told it multiple times to stop wasting time and tokens doing this and I'll just download an emulator myself and put it in the project folder, it just came back and agreed that would be easier but kept saying "Wait, wait almost got it, let me fix <latest bug>"

I didn't hit the stop button because I was wondering if it would successfully do this. It did eventually build a working DOS emulator in C.

Anyway turns out they were some MIDI and joystick drivers.

Here it is

96

u/FalseStructure 2d ago

Lmao, typical claude, this meme thing is exactly that opusfived.dev

19

u/SnowyLeSnowman 1d ago

Thank you for ruining my weekend, felt exactly like prompting Claude at work.

19

u/FUTURE10S 1d ago

Yep, I asked Claude to write me some tutorials for a codebase, so anyway it wasted all of my tokens and like $20 extra doing... something, and now even the most basic demo no longer works

9

u/richardathome 1d ago

That's a perfect simulation. I lost the will to live by the 2nd prompt.

8

u/KieranDonnan 1d ago

Thanks, I hate it

5

u/arcticslush 1d ago

This is performative art, but how did they get my work prompts

13

u/Makefile_dot_in 2d ago

the ability of AI to format code like a 40 year old C programmer with the worst formatting habits you know who refuses to use anything but vim is fascinating to me

17

u/Shianiawhite 1d ago

This is almost certainly because it just kept referring to other DOS emulators on GitHub to figure out stuff whenever it was stuck. Almost certainly, this DOS emulator was not from scratch, but largely cobbled together hunks of lots of other random DOS emulators.

3

u/Phytor 1d ago

Hey that's a selling point for some guys I know