Live data from Hacker News

Cray versus Raspberry Pi

aardvark.co.nz

71–80 of 136 posts

Re: Cray versus Raspberry Pi

#71

Earlier quoted context omitted.

I won't rest until the average microcontroller in an optical mouse is more powerful than a Cray 1.

I'm not aware of any optical mouse using a general purpose MCU, to my knowledge they are all using ASICs

There are millions, if not tens of millions of USB and PS/2 keyboards and mice out there powered by Cypress MCUs with 8051 cores.

Re: Cray versus Raspberry Pi

#73
Back in 2020, someone built a working model of a Cray-1.[1] Not only is it instruction compatible, using an FPGA, it's built into a 1/10 scale case that looks like a Cray-1.

The Cray-1 is really a very simple machine, with a small instruction set. It just has 64 of everything. It was built from discrete components, almost the last CPU built that way.

[1] https://www.cpushack.com/2010/09/15/homebrew-cray-1a-1976-vs...

Re: Cray versus Raspberry Pi

#74
post #44

Comparing against a raspberry pi 5 is kind of overkill. While a Pico 2 is close to computationally equivalent to a cray 1 now (version 2 added hardware floating point), the cray still has substantially more memory - almost 9MB vs 520k. For parity, you have to move up to a raspberry pi zero 2, which costs $15 and uses about 2W of powerm A million times cheaper than a cray in 2025 dollars and quite a bit more capable.

The memory in the Cray was external and there are RP2350 boards with 16MB of QSPI flash, here’s one of them:

https://www.olimex.com/Products/RaspberryPi/PICO/PICO2-XXL/o...

Re: Cray versus Raspberry Pi

#75
The pi has a sub $100 accelerator card that takes it to 30 TFLOPs. So you can add three more orders of magnitude of performance for a rough doubling of the price.

Re: Cray versus Raspberry Pi

#76
post #37

Earlier quoted context omitted.

Someday real soon, kids being shown episodes of 'Knight Rider' by their grandparents won't understand why a talking car was so futuristic.

Tried explaining what a Tamagotchi was to someone recently. Looks of utter bewilderment

Really? Tamagotchis seem to be one of those things that have charm beyond straight up nostalgia :o

Re: Cray versus Raspberry Pi

#77
> the Cray had about 160MFLOPS of raw processing power; the Pi has... up to 30GFLOPS. Yes... that's gigaFLOPS. This makes it almost 200 times faster than the Cray.

Imagine traveling back to 1977 and explaining to someone that in 2025 we've allocated all that extra computing power to processing javascript bundles and other assorted webshit.

Re: Cray versus Raspberry Pi

#78

> the Cray had about 160MFLOPS of raw processing power; the Pi has... up to 30GFLOPS. Yes... that's giga FLOPS. This makes it almost 200 times faster than the Cray. Imagine traveling back to 1977 and explaining to someone that in 2025 we've allocated all that extra computing power to processing javascript bundles and other assorted webshit.

That actually wouldn't be so bad, but in reality the number one usecase for raspberry pi is blinking leds for some time and collecting dust afterwards

Re: Cray versus Raspberry Pi

#79
post #65
post #47

Earlier quoted context omitted.

No need for an RPi 5. Back in 1982, a dual or quad-CPU X-MP could have run a small LLM, say, with 200–300K weights, without trouble. The Crays were, ironically, very well suited for neural networks, we just didn’t know it yet. Such an LLM could have handled grammar and code autocompletion, basic linting, or documentation queries and summarization. By the late 80s, a Y-MP might even have been enough to support a small…

> a small LLM, say, with 200–300K weights A "small Large Language Model", you say? So a "Language Model"? ;-) > Such an LLM could have handled grammar and code autocompletion, basic linting, or documentation queries and summarization. No, not even close. You're off by 3 orders of magnitude if you want even the most basic text understanding, 4 OOM if you want anything slightly more complex (like code autocompletion),…

I would have thought the same, but EXO Labs showed otherwise by getting a 300K-parameter LLM to run on a Pentium II with only 128 MB of RAM at about 50 tokens per second. The X-MP was in the same ballpark, with the added benefit of native vector processing (not just some extension bolted onto a scalar CPU) which performs very well on matmul.

https://www.tomshardware.com/tech-industry/artificial-intell...

John Carmack was also hinting at this: we might have had AI decades earlier, obviously not large GPT-4 models but useful language reasoning at a small scale was possible. The hardware wasn't that far off. The software and incentives were.

https://x.com/ID_AA_Carmack/status/1911872001507016826

Re: Cray versus Raspberry Pi

#80
post #49

My former boss (Steve Parker, RIP) shared a story of Turner Whitted making predictions about how much compute would be needed to achieve real-time ray tracing, some time around when his seminal paper was published (~1980). As the story goes, Turner went through some calculations and came to the conclusion that it’d take 1 Cray per pixel. Because of the space each Cray takes, they’d be too far apart and he thought the…

But the Cray had a general purpose CPU while the GPUs have specialized hardware. Not exactly apples to apples.
Post reply on HN