Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: RE3 – Reversed Engineered GTA3 Source Code. Parent comment
1. Write hello.cpp
2. Compile
3. Disassemble to asm with objdump -d
4. Give asm to Claude and ask it to write the C++ code that would result in that asm
5. Got back hello world in c++
So, it seems you might not need a specially trained model.
Original:
#include <iostream>
int main() { std::cout << "Hello, World!" << std::endl; return 0; }
Reproduced:
asm: https://pastebin.com/SswUSh0u
* https://imgur.com/U1wbb0d
There are no comments on this comment yet.
1. Write hello.cpp
2. Compile
3. Disassemble to asm with objdump -d
4. Give asm to Claude and ask it to write the C++ code that would result in that asm
5. Got back hello world in c++
So, it seems you might not need a specially trained model.
Original:
#include <iostream>
int main() { std::cout << "Hello, World!" << std::endl; return 0; }
Reproduced:
#include <iostream>
int main() { std::cout << "Hello, World!" << std::endl; return 0; }
asm: https://pastebin.com/SswUSh0u
* https://imgur.com/U1wbb0d