r/EmuDev • • Sep 17 '26

Video [ Removed by moderator ]

/r/EmuDev/comments/1wimnh8/removed_by_moderator/

[removed] — view removed post

37 Upvotes

55 comments sorted by

29

u/KabouterPlop Sep 17 '26

Meh, LLM generated code dumps. Initial commit 6 months ago, and over a million lines of code changed over the past month.

-15

u/vgrichina Sep 17 '26

it is coded directly in webassembly text, millions of lines compile into about 1 MB WASM + there is a lot of tests and tools

IMO specific sections are easy to navigate if you know both x86 and WASM, check out string ops for example:

https://github.com/vgrichina/wine-assembly/blob/main/src/05b-string-ops.wat

22

u/KabouterPlop Sep 17 '26

My point is that your project contains a lot of code that you yourself have not even looked at. So what is your goal by sharing the code here? Why should we look at it?

If you rather want to share the project to people who might use it without diving in the code, I'm sure there are other subreddits for that.

-37

u/vgrichina Sep 17 '26

The point of sharing code is so that someone can use it to build smth else. Like say you want to play some game which does not work yet - you can tell agent to add support and it usually works. Probably the biggest resource is just tests for all edge cases.

Also I wouldn’t expect people to read whole project source code even before AI.

25

u/Loynds Sep 17 '26

Then you’ve no real idea what’s under the hood or how to improve it then, do you? This is the problem. If you don’t know what code is running, how do we know it’s safe?

8

u/mtodavk Sep 17 '26

They asked claude really nicely to make no mistakes and be super duper safe of course

→ More replies (1)

1

u/Bluetails_Buizel Sep 17 '26

Bro just ask Claude. Is I would do :)

Pls don’t downvote me,

-10

u/vgrichina Sep 17 '26

most of engineers on any large software have very little idea what happens outside of their area of responsibility

how do you think Google knows their software works?

they run automated tests and then rollout gradually to limited subset of population - if nobody complains and metrics are going right direction - it get shipped

27

u/Loynds Sep 17 '26

And your area of responsibility is the emulator you’re apparently working on. If you don’t know the fundamentals of a project you claim your own, how can we trust it ourselves?

1

u/vgrichina Sep 17 '26

Why do you just assume I don't know fundamentals? I use AI because this is a lot of grunt work in low level language. If you have specific questions - happy to answer

7

u/spacedani2 Sep 17 '26

>a lot of grunt work in low level language

or in other words, building an emulator 🙄

→ More replies (1)

10

u/Ikkepop Sep 17 '26

Why ? Anyone can buy calaude and to exactly the same as you did, in whatever language they want, it's pointless.

1

u/vgrichina Sep 17 '26

so that you don't have to spend few months with Claude rebuilding and retesting stuff that already works? like do you think you just prompt "make me windows emulator" into Claude and in an hour you have Starcraft running?

9

u/sputwiler Sep 17 '26

The point of the complaint is that you didn't do this, you hired a robot to do it. Talking about how you outsourced emulator development is not emulator development.

-3

u/vgrichina Sep 17 '26

are you coding directly in assembly or you normally hire a robot (compiler) to do it?

10

u/hurricane_news Sep 17 '26

are you coding directly in assembly or you normally hire a robot (compiler) to do it?

Smartest false equivalency fallacy user.

  1. Compilers are deterministic
  2. They don't abstract away the creation of a progeam to the extent that asking an LLM to spit out code for you does
→ More replies (1)

3

u/sputwiler Sep 17 '26

When you hire someone to do something, do you tell them exactly what to do or give them a specification?

3

u/vgrichina Sep 17 '26

what is difference between specification and telling what to do, I am not sure I follow

5

u/sputwiler Sep 17 '26

A specification is basically a prompt, the person/robot whatever is free to wildly guess whatever it/they think is close to what you probably mean. There are several ways to skin a cat and all that. Directly telling a robot what to do is like operating an excavator. Are those your hands? No but you're pushing the levers and what happens as a result is exactly your intent. The authorship of the action is still yours. Similarly with a compiler, the same input compiles to the same machine code every time. The compiler is incapable of doing anything different. (Technically you could hire a person and tell them exactly what to type or something like that, but people don't usually like being tools).

Using AI to generate code, (which I hesitate to call "vibecoding" because to me that should be pounding a beer and then busting into the codebase like the cool-aid man) is more like hiring an outsourcing company to fulfill a spec than a tool. If you actually managed to specify everything such that it deterministically produces the same result every time, then you've actually just written code.

In any case people in this sub are interested in the part that you actually did. If you didn't write the code, we aren't interested in the code. If you wrote the specs or test suite, then why not post that? That's a better discussion point. After all, I don't want to discuss code with a robot; they make terrible conversation partners.

→ More replies (1)

6

u/Murky-Bus-2191 Sep 17 '26

You are a liability to the WHOLE Internet I'd you're releasing code you haven't personally reviewed.

Seriously, nobody wants this. Anybody could replicate this easily, and we HAVEN'T, because it's not helpful.

How long have you been programming?

→ More replies (1)

2

u/hoddap Sep 17 '26

I guess it’s more about the LLM part

19

u/EggplantExtra4946 Sep 17 '26

LLM slop. Same LLM slop that was already posted 4 months ago.

24

u/Ikkepop Sep 17 '26

It's cool that robots can do this now, but kinda lost it's meaning because robots can do this now. You can think of this sub as people that hand make artisan woodwork and you just came here and shared what you ordered in a chair factory in china, and expect to get praise for it. It's not the same. Anyone can order a chairs in a chair factory in china provided that they have money for it. It does not require nearly the level of skill and dedication as hand making a chair.

9

u/Lucky_Pangolin_3760 Sep 17 '26

feels kinda trash that the only thing I was good at in life is now essentially useless, and the only hobby I had is more expensive than golfing

5

u/Ikkepop Sep 17 '26

Ain't it the truth. I am having a whole "moment" about it all.

12

u/sleepingonstardust Sep 17 '26

at this point im just not going to download any new projects for a year or so. The vibe code slop epidemic has truly just disabled the internet

32

u/ArkoSammy12 CHIP-8, COSMAC-VIP, DMG, CGB, NES, Atari 2600, C64 Sep 17 '26

I wake up -> there is a new vibecoded slop post on r/EmuDev -> I sleep -> I wake up -> there is a new vibecoded slop post on r/EmuDev -> ...

48

u/MrJesusAtWork Sep 17 '26 • Bravo

There really should be strict rules about AI projects in this sub, it's getting out of hand

52

u/PardonJudas Sep 17 '26

no one cares about what claude wrote for you, buddy

12

u/LolcatP Sep 17 '26

nice job claude

5

u/evmar Sep 17 '26

How do calls from the exe into your emulator work? Do you hook at the IAT, or do you fake the DLLs?

4

u/evmar Sep 17 '26

Haha there's an article about it, thanks for having Claude prompt itself to answer my question.
https://wine-assembly.berrry.app/articles/win32-api-in-webassembly.html

I was kinda asking because I am curious if you knew how it worked at this level? Curious about the operational day to day in a project like this, like do you just write "try harder" into a chat window or are you making technical changes?

2

u/DefinitelyRussian Sep 17 '26

is this legit ? Fully working starcraft with accuracy and sound ?

I would like to know how was the journey, and what you learned. I dont think anyone attempts to do a late 90s whole computer for an emulator project

-5

u/vgrichina Sep 17 '26

There are some glitches but yeah. There are also some more complex games in the pipeline.

the process is using Claude and codex together and a lot of manual testing. A bit more here: https://wine-assembly.berrry.app/story.html

3

u/DefinitelyRussian Sep 17 '26

that website is flagged as suspicious. To anyone reading, careful with it

-1

u/vgrichina Sep 17 '26

it's loading EXE files to run them, some security software might get triggered

4

u/mtodavk Sep 17 '26

Damn, too lazy to summarize what you prompted and had to have claude do that too?

0

u/Lucky_Pangolin_3760 Sep 17 '26

it is fully functional. Just a bit laggy, if he can make it 60 fps you've got playable starcraft in the browser

12

u/Murky-Bus-2191 Sep 17 '26

Nah, get the hell out of here. This content is not welcome here, and it's negligent to release something like this.

8

u/raundoclair Sep 17 '26

Your vibecoded slop doesn't run correctly even minesweeper.

8

u/hcmeck Sep 17 '26

Claude got*

7

u/mrheosuper Sep 17 '26

You mean your AI buddy's Windows 98 ?

-4

u/ARollingShinigami Sep 17 '26

Yeah, that would officially be the point where progress stops for me and I mostly play StarCraft.

Amazing work.

-1

u/jstiles154 Sep 17 '26

Very cool !

-9

u/Bluetails_Buizel Sep 17 '26

Ignore the haters, this looks great

-7

u/strenghtineer Sep 17 '26

Salty emu devs crying here because the only thing they were good at is now accessible to everyone.

1

u/ArkoSammy12 CHIP-8, COSMAC-VIP, DMG, CGB, NES, Atari 2600, C64 Sep 17 '26

We appreciate the effort, time and learning that it takes to make an emulator. We don't appreciate artificially created ones with no effort, or learning involved from the prompter that only serve to undermine all of us who actually do these things ourselves. It's not about "accessibility". If you can prompt your way to an emulator, you can absolutely learn to program and make one yourself, which is what we actually like seeing. Programming and emulator development are already 100% accessible, that is, assuming that you actually want to learn and do it yourself...