CasNum

by aebtebetenon 3/7/2026, 8:43 PMwith 38 comments

by ggmon 3/7/2026, 9:14 PM

  F.A.Q
    Q: buT cAN iT rUn dOOm?
    A: It can't really "run" anything, its a number.
  
    Q: Is it fast?
    A: Define "fast". If you mean "faster than copying Euclid by hand", then yes, dramatically.

    Q: Why did you make this?
    A: I wanted arbitrary precision arithmetic, but I also wanted to feel something.
I can relate. Expecially the 3rd one.

by rablackburnon 3/8/2026, 1:06 AM

Fantastic comedic writing (and project, of course). It had me guffawing.

To add my own "most relatable" quote to this thread:

> As always, please save any important work before running anything I ever write.

:')

But really I just want to add to the cacophony of appreciation in this thread :)

0x0mer, I hope you feel the love from this reaction and can bask in that warm inner glow for years to come.

by tingletechon 3/7/2026, 9:20 PM

Cool. I just learned of compass and straight edge calculations from this video on doubling a cube https://www.youtube.com/watch?v=96LbF8nn05c from Ben Syversen's channel a couple of months ago

by 0x0meron 3/7/2026, 8:58 PM

Thanks for posting, means a lot! :) I'd be happy to know how you stumbled upon it

by layer8on 3/8/2026, 10:32 AM

The implementation could be simplified to only use a compass: https://en.wikipedia.org/wiki/Mohr%E2%80%93Mascheroni_theore...

by measurablefuncon 3/7/2026, 11:18 PM

Nice job but I'd like to see it implemented w/ polynomial rings & quotients.

by nmalekion 3/8/2026, 12:27 AM

I am really curious how this compares to https://github.com/rubenvannieuwpoort/reals

by daniloron 3/7/2026, 10:12 PM

This is so nice!!

I'm wondering how hard would it be to extend it to include the whole game state plus all the ROM into the plane at the same time, and have it compute the next step from that!

by fliron 3/7/2026, 10:48 PM

Well that's just lovely.

by thebeardisredon 3/8/2026, 6:34 AM

"Think of these as your ISA." Thank you good Sir for truly naming this in the clearest, most precise semiotics.

by mtsolitaryon 3/7/2026, 9:52 PM

Tried to use it to solve a quintic equation and it didn’t work :(

by profer602on 3/8/2026, 1:22 PM

Interesting approach to handling large numbers without relying solely on `BigInt`. The choice of base 10^9 allows for efficient arithmetic using standard JavaScript numbers, but the real win here is probably in the reduced memory footprint for certain use cases. I'd be curious to see benchmarks against native `BigInt` across various browser engines and node versions, especially when considering the overhead of managing the digit arrays.

by ko2026on 3/7/2026, 9:23 PM

Coolest thing I've seen in a while Well done!

by user3939382on 3/7/2026, 10:54 PM

Why is GitHub asking me for a login to view a public repo link? What is this LinkedIn now?

by george_maxon 3/8/2026, 4:50 AM

Haha, cool project and README!

by brcmthrowawayon 3/7/2026, 9:50 PM

Was Claude used?

by random_duckon 3/7/2026, 9:14 PM

I have no idea what is going on here...

by typonon 3/7/2026, 11:58 PM

Like an oasis in a desert of LLM slop. Thanks I enjoyed this README