r/osdev • u/Life-Seaweed-9957 • 1d ago
Ounce-Core v1.0 release
Enable HLS to view with audio, or disable this notification
What I've been building: Imagine building a miniature, software version of a modern computer chip (the same kind of ARM64 chip inside iPhones, Macs, and cloud servers) — completely from scratch, in code — so you can run real Linux programs inside it and prove that every single calculation matches a real physical chip down to the last bit.
That's what Ounce-Core is. Instead of just trusting that a simulator "probably works," I built three different engines inside it (a careful step-by-step engine, a faster translator, and a high-speed native compiler) and wired them up to automatically check their answers against real ARM hardware.
Why what I finished today is a big deal:
It runs real everyday Linux programs — including Python. Today I got real, unmodified Ubuntu Linux tools like grep, sed, sort, awk, gzip, tar, git, and Python (running real math, JSON, and cryptography libraries) working inside my own virtual chip and Linux layer. Getting real Python to boot and run inside software you built yourself is a huge milestone.
It passed brutal, industry-standard accuracy tests. It ran Berkeley TestFloat (the gold-standard test for decimal math accuracy — zero errors across 85 test suites), 5.2 billion instructions of a real hashing library (xxHash, 49,948 tests, zero mismatches), and hundreds of tests from real open-source Rust and Arm libraries — matching real hardware bit-for-bit.
I taught it modern chip features and made it twice as fast. I added support for newer ARM chip instructions (including modern vector math used by compilers to speed up heavy loops) and cut the main engine's run time in half on a 3-billion-instruction physics benchmark.
It's officially ready for version 1.0.0. Everything is tested, documented, and locked down into a clean, stable 1.0.0 release — website, docs, and safety checks all green — ready to launch on Monday.
In short: I built a verified virtual computer chip from scratch that can run real Python and Linux programs accurately enough to match physical silicon, and I just got it across the finish line for its 1.0 release.
3
u/Relative_Dare8475 1d ago
>>What I've been building: Imagine building a miniature, software version of a modern computer chip (the same kind of ARM64 chip inside iPhones, Macs, and cloud servers) — completely from scratch, in code — so you can run real Linux programs inside it and prove that every single calculation matches a real physical chip down to the last bit.
---
Is this another emulator like bochs or mame?
3
u/ventZl CMRX microkernel 1d ago
Dude, this is yet-another-dynamic-translator and/or emulator, so why all the bells and whistles?
Yes, vibecoded stuff gets a ton of hate here. You may not like it and feel underestimated for what
you(your AI) achieved.The thing is that most of vibecoded stuff doesn't get hate for the sole fact it was vibecoded. That mostly doesn't matter. You could probably build an OS (as we're in r/osdev ) from building blocks solely by copy-pasting pieces of code found online with no use of AI. This was possible for more than a decade now I guess. Its even suggested way how to **learn** writing OSes - follow examples.
Vibecoded stuff is hated for something else: The brutal disparity between providing any real value for anyone, "author" included and boldness of statements in its announcements.
Like in this particular case:
> Why what I finished today is a big deal:
No, this is not a big deal. There is a dude somewhere on the internet who wrote exactly the same thing like 10 or 15 years ago. Just. His thing runs on obsolete $0.50 microcontroller with ~2kB of own RAM and emulates a machine capable of booting Linux. How do I know? He booted Linux on that damn thing. **THAT** is a big deal.
Oh and of course, then there's Fabrice Bellard who can probably make anything run on anything if he wants.
Here you made nothing extraordinary, you learned nothing (if AI did all the "hard" work) but you vibecoded teaser as if you made a market-disrupting product.
5
u/arbv 1d ago
Of course, fully vibecoded, that goes without saying, right?
1
u/Life-Seaweed-9957 1d ago
https://github.com/hffgzktbcc-blip/ounce-core
https://github.com/hffgzktbcc-blip/ounce-artifacts
•
u/Life-Seaweed-9957 1h ago
Thank you everyone for the feedback. Today was a productive day to see where the gaps lie. I would love more feedback. AI slop? Is it? Have a look and the evidence and limits I lay out in my repo. AI assisted? Yes. Have I done my research? I’m trying my best. If it was slop, I wouldn’t have continued to improve the workflow and architecture and just said, “Believe!” Break it! Unwrap it! Contest it! I urge you to! That’s what we are here for. I hate AI slop, when I started this journey, I had no idea the bigger industry out there, but I respect them enough to know my boundaries…and my lane. So insult the project. That’s fine. But I ain’t stopping. I have a degree in clinical, industrial psychology. Honours in clinical/counselling and research Methodology, and masters level studies in Research Psychology with a PGCE in education with 14 years of teaching experience. I claim no coding experience or computer engineering. But I do know statistics and research methodology.
1
u/chafey 1d ago
Nice job, but you didn't provide any links..