Hacker News new | ask | show | jobs
by brucehoult 2061 days ago
I think this one isn't bad. I've run it on everything down to 8 bit AVR. I haven't tried 6502 but it would fit no problem.

http://hoult.org/primes.txt

1 comments

My concern is that almost anything that fits in a C64 will run out of the L1 cache in most modern CPUs and yield very unrealistic results compared to reasonable modern workloads.
I think that's a valid result in its own way, though. It's not the poor C64's fault that we insist on chewing through megabytes and gigabytes just to run a chat app.
> It's not the poor C64's fault that we insist on chewing through megabytes and gigabytes just to run a chat app.

"Yeah, but your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."