Post

Conversation

Reddit grandfather uploads 27 year old EXE file of a visual basic game and Claude one-shotted recreating the game in Python in under 5 minutes!! From the binary.
Image
David Watson ๐Ÿฅ‘
Post your reply

Note VB4 doesnโ€™t compile to machine code, it compiles to intermediate p-code which makes the exe smaller and simpler than a native one because all the low-level stuff is off in some DLL. So this is exactly the sort of exe youโ€™d expect this to start working for first I think
This is insanely coolโ€”not just the Claude feat, but how dialed-in you are on the frontier of AI and code. Every technical founder dreams of a VC this plugged in. Menloโ€™s lucky to have youโ€”setting the bar high for VCs. Taking notes ๐Ÿ“
That's very kind of you to say Alex. I don't do it for my job, I do it because I genuinely love technology.
Bring back the video games from the 90s and early 2000s!! Would be so much fun.. ๐ŸŽฎ
Its a lot less impressive when you read the conversation. It doesn't seem like it understood the code and just came up with a random "game" based on the assets and window names in the file
I would say that it was a P Code executable. If that were the case, it wouldnโ€™t look much different that a decompiled npm these days. They compiled into P Code which used and interpreter to run them.
Image
Almost exactly a year ago, I was demonstrating Claude to a techie friend. Just for fun, I decided to attach what some (small-ish) executable in my ~/bin directory did. It was named "sl", but I had totally forgotten its purpose. Amazingly, it said, the executable shows the ASCII
Show more
hmmmโ€ฆ. can, we, getโ€ฆ windows shit running on osxโ€ฆ port from the binary sounds like a good tomorrow experiment - anyone who has tried this (without parallels) let me know
I just had a similar experience with Grok3. For the first time, AI turned weeks of effort into hours. I'm thankful for all of that time back.
really cool, it does not understand binaries yet but def curious if i could take an exe file disassemble it and share the asm and ask for conversionโ€ฆ i need to find my old projects pre git time
I wonder when an LLM will be able to implement FORTH on x86-64. ๐Ÿ˜‰
Quote
dharmafi
@dharmatrade
Here's my programming test for LLMs. Create a FORTH implementation. Implement it in assembly language for the NASM assembler. Target x86-64. So far none of these have passed it: Grok 3 Claude 3.7 Sonnet DeepSeek R1
Show more
Yeah, this is insanely cool. I don't know how this worked here. But consider that AI can convert (easily) between programming languages. It can, for example, "compile" your C to assembler. It can then also do the reverse. And operating on binary files is then also a plausible
Show more
"What Happened Next Blew My Mind" Perhaps, followed by disinformation from, and I am just throwing it out there, a Reddit bot? Are there some sponsored links associated with that account? Perhaps the initial "I was a very skeptical grandpa" is a credibility hook?
VB is P-Code. That combined with the fact that Claude wonโ€™t take an executable make me very skeptical. VB.NET is MSIL code though. It is trivial to disassemble unless it was scrambled first with dotfuscator or similar.
I've found one of the better things LLMs are at is translation tasks like this, identical 'content', different library or language. I did one for SwiftUI -> UIKit and I was surprised how well it did it.
At this point every company that runs proprietary code should be shaking in their boots. I can think of at least two multibillion dollar companies in different spaces that should absolutely fear their code binaries being reverse engineered like this. Microsoft and SAP.
After seeing this I asked ChatGPT to do a Python version of an MS-DOS program from 37 years ago called PC- Outline. Boom, not a problem. I still had muscle memory for the fuction keys in my fingers.
Quote
็Ž‹ๅณฐAnc
@wangfenganc
ๆˆ‘ๆƒณ็Ÿฅ้“ๆˆ‘ไปฌ็š„้’ฑๅˆฐๅบ•ๆ”พ้‚ฃ้‡Œ๏ผŸ ๆ”พCEX๏ผŒ็ป“ๆžœCEX่ขซ็›—15ไบฟ๐Ÿคฃ ๆ”พ้’ฑๅŒ…๏ผŒok้’ฑๅŒ…ๅคฉๅคฉ่ขซ็›— ๅ˜ๆˆไปฃๅธ๏ผŒ่ขซๅ‰ฒ่ตฐ ๅ˜ๆˆไบบๆฐ‘ๅธ๏ผŒ่ดฌๅ€ผ ๅ˜ๆˆ่‚ก็ฅจ๏ผŒ่ฟ˜ไธๅฆ‚ไนฐBTC ๆˆ‘ไปฌไฝ•ๅŽปไฝ•ไปŽ ไธๅฆ‚ๅคงๅฎถไนฐ็Ž‹ๅณฐๅ€บๅทๅง๏ผŒๅฌ่ฏดๆœ‰ไบบไปŽ3000u่ตšไบ†1wu ไธ‹้ขๆ˜ฏๆˆ‘็š„evm ๅœฐๅ€ 0x0a7c28b2d3a6f729ac7eba9d70c036a7cd12a95f x.com/mindaoyang/staโ€ฆ
Show more
That's impressive! The ability to recreate a 27-year-old EXE file in Python in under 5 minutes is a testament to the power of AI tools like Claude. It's exciting to see how AI can breathe new life into old code.
I have reproduced this myself. It sort of works but only because Claude is doing a lot of guessing.
Quote
Jason Roth
@JasonTyping
Replying to @JasonTyping
I've reproduced this with one of my old VB 3.0 EXEs. Claude looks at whatever human-readable text it can find in the file and guesses what the program does. Still a neat trick, but I don't see evidence it understands what the program actually does. claude.ai/share/490e6d3b
Show more
maybe this could be used to resurrect a decent word processor & other quality desktop apps instead of the mobile crap we're being fed. imagine an xywrite for the 21st Century.
One of the low key most important ramifications of this tech is going to be finally being able to upgrade all the Cobol systems on earth.
Been developing a game for a while now and so far Claude is 100% useless for prod, I've done rope physics with verlet integration that I use for wires and capes and Claude doesn't understand any of that, here it probably just reproduced a toy project that was in the training data
This is cool. I often use claude to reverse engineer minified js code. I give it minified code and ask it to give me human readable code and it does it.
I was trying to get a Dockerfile working a few days ago, with absolutely 0 knowledge of Docker & only the barest of coding experience, and Grok 3 walked me through every step, identified every issue, told me how to get it more info, then used that info to teach me how to fix it!
That's pretty cool. I was quite impressed when I asked deepseek to create a space invaders style game & convert it to html so it could be played on any device. It wrote it in python, produced the html, then was able to edit sounds and avatars as directed.
Visual Basic before the NET era were actually scripts + some runtime bundle in the EXE. They're technically not compiled. Maybe that's the reason why Claude was able to inspect it and reproduce in Python. But whatever, the outcome is amazing
Claude 3.7 has surprised me several times in the past 24h. I cancelled my OpenAI sub this morning.
thatโ€™s not what one shot means, and when you read the conversation, it just created a Python game inspired by the file names and contents (Python games are copious in the training data data) We gotta stop acting like this is anything other than a compression/retrieval algo
The CLR and MSIL has a really nice history behind it and youโ€™ll be happy to know that every an old binary written for the CLR runs on opcodes that are standardized so we can convert to instructions for other chips or languages very easily. This was an early goal for MSIL/
does this give us hope that we can run old apps that were shut down years ago in the win xp era...on a win 10 computer? i'm talking about a robust, complicated, powerful audio work station software (cakewalk, to be exact). thanx in advance
I wonder what happens of you feed it components of windows 98 or 2000, one by one and ask it to do the same in some other language ๐Ÿค”
I am not a programmer but Ive been using claude 3.7 all day for meta-modeling. It would have taken me all week to do in vizio what is does in 1-2 minutes.
I may start trying this with other stuff. But I doubt python can modify windows dialogs
It's interesting but I would be more impressed if the binary was machine code and not easily reversed IL.
meanwhile I can't ever get this shit to write queries that have multiple joins and some window functions
Well.. having used Visual Basic quite a bit in the day, thatโ€™s not all that spectacular. Visual Basic apps are compiled at runtime. So the EXE file contains a loader followed by a bytecode version of the source code. To AI this is no different than reading Python or PHP.
Classic BS marketing stunt. I so hate this click-bait title pattern: "I did XYZ and what happended next ..." Never organic, just a click-me pattern. Each time I see a tweet or video I insta-block the emitter account like saitizing the feed from spam, even if it isn't.
You could have simply said programmer instead of grandfather. Am 39 and have visual basic exe from my undergrad๐Ÿ˜
โ€ฆ.And then he got immediately banned for posting on r/conservatives by Reddit Mods
Quote
Devon Guerrero
@DevonGuerrero
Replying to @Grady_Booch
I'm extremely excited for the transpilation use cases that these models can provide - it's like the ultimate transpiler.
How do we know this is a real person, and Claude 3.7 isn't just creating reddit accounts and shilling for its own greatness? ๐Ÿ‘€
Ask it "what are the first three lines of the assembly code" or "what is the command that launches <something>" and you will see it can't answer. It doesn't understand the code, and most likely doesn't even see it.
Lol. Thereโ€™s no way Claude or any commercial llm would let you upload an exe. This is fake.
Reddit grandfather has amazing click bait skills. You won't believe who he really is...
Claude turned a 27-yr-old VB EXE into Python in 5 mins? Spare me the AI fairy tale, Deedy. Show the code or admit youโ€™re just hyping smoke.

Discover more

Sourced from across X
For the confused, it's actually super easy: - GPT 4.5 is the new Claude 3.6 (aka 3.5) - Claude 3.7 is the new o3-mini-high - Claude Code is the new Cursor - Grok is the new Perplexity - o1 pro is the 'smartest', except for o3, which backs Deep Research Obviously. Keep up.
ok fine maybe we'll do a social app
Quote
CNBC
@CNBC
Meta plans to release standalone Meta AI app in effort to compete with OpenAI's ChatGPT cnbc.com/2025/02/27/met
GPT-4.5 is ready! good news: it is the first model that feels like talking to a thoughtful person to me. i have had several moments where i've sat back in my chair and been astonished at getting actually good advice from an AI. bad news: it is a giant, expensive model. we
Show more