frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A CPU that runs entirely on GPU

https://github.com/robertcprice/nCPU
49•cypres•3h ago

Comments

RagnarD•1h ago
Being able to perform precise math in an LLM is important, glad to see this.
jdjdndnzn•1h ago
Just want to point out this comment is highly ironic.

This is all a computer does :P

We need llms to be able to tap that not add the same functionality a layer above and MUCH less efficiently.

Nuzzerino•1h ago
> We need llms to be able to tap that not add the same functionality a layer above and MUCH less efficiently.

Agents, tool-integrated reasoning, even chain of thought (limited, for some math) can address this.

RagnarD•6m ago
You're both completely missing the point. It's important that an LLM be able to perform exact arithmetic reliably without a tool call. Of course the underlying hardware does so extremely rapidly, that's not the point.
lorenzohess•1h ago
Out of curiosity, how much slower is this than an actual CPU?
bastawhiz•1h ago
Based on addition and subtraction, 625000x slower or so than a 2.5ghz cpu
sudo_cowsay•1h ago
"Multiplication is 12x faster than addition..."

Wow. That's cool but what happens to the regular CPU?

adrian_b•41m ago
This CPU simulator does not attempt to achieve the maximum speed that could be obtained when simulating a CPU on a GPU.

For that a completely different approach would be needed, e.g. by implementing something akin to qemu, where each CPU instruction would be translated into a graphic shader program. On many older GPUs, it is impossible or difficult to launch a graphic program from inside a graphic program (instead of from the CPU), but where this is possible one could obtain a CPU emulation that would be many orders of magnitude faster than what is demonstrated here.

Instead of going for speed, the project demonstrates a simpler self-contained implementation based on the same kind of neural networks used for ML/AI, which might work even on an NPU, not only on a GPU.

Because it uses inappropriate hardware execution units, the speed is modest and the speed ratios between different kinds of instructions are weird, but nonetheless this is an impressive achievement, i.e. simulating the complete Aarch64 ISA with such means.

Surac•1h ago
Well GPU are just special purpous CPU.
bmc7505•1h ago
As foretold six years ago. [1]

[1]: https://breandan.net/2020/06/30/graph-computation#roadmap

nicman23•1h ago
can i run linux on a nvidia card though?
micw•51m ago
Linux runs everywhere
deep1283•54m ago
This is a fun idea. What surprised me is the inversion where MUL ends up faster than ADD because the neural LUT removes sequential dependency while the adder still needs prefix stages.
mrlonglong•28m ago
Now I've seen it all. Time to die.. (meant humourously)
MadnessASAP•22m ago
Ya know just today I was thinking around a way to compile a neural network down to assembly. Matching and replacing neural network structures with their closest machine code equivalent.

This is way cooler though! Instead of efficiently running a neural network on a CPU, I can inefficiently run my CPU on neural network! With the work being done to make more powerful GPUs and ASICs I bet in a few years I'll be able to run a 486 at 100MHz(!!) with power consumption just under a megawatt! The mind boggles at the sort of computations this will unlock!

Few more years and I'll even be able to realise the dream of self-hosting ChatGPT on my own neural network simulated CPU!

Motorola GrapheneOS devices will be bootloader unlockable/relockable

https://grapheneos.social/@GrapheneOS/116160393783585567
486•pabs3•6h ago•120 comments

Better JIT for Postgres

https://github.com/vladich/pg_jitter
23•vladich•1h ago•2 comments

TikTok will not introduce end-to-end encryption, saying it makes users less safe

https://www.bbc.com/news/articles/cly2m5e5ke4o
168•1659447091•6h ago•105 comments

Agentic Engineering Patterns

https://simonwillison.net/guides/agentic-engineering-patterns/
49•r4um•2h ago•4 comments

A CPU that runs entirely on GPU

https://github.com/robertcprice/nCPU
49•cypres•3h ago•15 comments

Graphics Programming Resources

https://develop--gpvm-website.netlify.app/resources/
73•abetusk•5h ago•9 comments

MacBook Pro with M5 Pro and M5 Max

https://www.apple.com/newsroom/2026/03/apple-introduces-macbook-pro-with-all-new-m5-pro-and-m5-max/
758•scrlk•17h ago•785 comments

On the Design of Programming Languages (1974) [pdf]

https://web.cs.ucdavis.edu/~su/teaching/ecs240-w17/readings/PLHistoryGoodDesign.PDF
25•jruohonen•2d ago•0 comments

RFC 9849. TLS Encrypted Client Hello

https://www.rfc-editor.org/rfc/rfc9849.html
3•P_qRs•29m ago•0 comments

Weave – A language aware merge algorithm based on entities

https://github.com/Ataraxy-Labs/weave
104•rs545837•6h ago•62 comments

Claude's Cycles [pdf]

https://www-cs-faculty.stanford.edu/~knuth/papers/claude-cycles.pdf
598•fs123•20h ago•237 comments

Speculative Speculative Decoding (SSD)

https://arxiv.org/abs/2603.03251
37•E-Reverance•4h ago•6 comments

Voxile: A ray-traced game made in its own engine and programming language

https://elbowgreasegames.substack.com/p/voxray-games-pushes-major-update
174•spacemarine1•10h ago•48 comments

You can use newline characters in URLs

https://lemire.me/blog/2026/02/28/you-can-use-newline-characters-in-urls/
59•chmaynard•3d ago•28 comments

Mount Mayhem at Netflix: Scaling Containers on Modern CPUs

https://netflixtechblog.com/mount-mayhem-at-netflix-scaling-containers-on-modern-cpus-f3b09b68beac
45•vquemener•3d ago•21 comments

Textadept

https://orbitalquark.github.io/textadept/
117•giancarlostoro•3d ago•21 comments

The largest acidic geyser has been putting on quite a show

https://www.usgs.gov/observatories/yvo/news/echinus-geyser-back-action-now
44•1659447091•6h ago•1 comments

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
10•mrconter11•2d ago•7 comments

My spicy take on vibe coding for PMs

https://www.ddmckinnon.com/2026/02/11/my-%f0%9f%8c%b6-take-on-vibe-coding-for-pms/
71•dmckinno•8h ago•60 comments

Welcoming Elizabeth Barron as the New Executive Director of the PHP Foundation

https://thephp.foundation/blog/2026/02/27/welcoming-elizabeth-barron-new-executive-director/
20•ulrischa•2d ago•8 comments

Circle Games (2019)

https://srconstantin.wordpress.com/2019/06/06/circle-games/
3•surprisetalk•2d ago•0 comments

When AI writes the software, who verifies it?

https://leodemoura.github.io/blog/2026/02/28/when-ai-writes-the-worlds-software.html
208•todsacerdoti•15h ago•210 comments

Number Research Inc

https://numberresearch.xyz/
28•eieio•5h ago•14 comments

An Interactive Intro to CRDTs (2023)

https://jakelazaroff.com/words/an-interactive-intro-to-crdts/
128•evakhoury•12h ago•22 comments

California's Digital Age Assurance Act, and FOSS

https://runxiyu.org/comp/ab1043/
87•todsacerdoti•4h ago•69 comments

Giving LLMs a personality is just good engineering

https://www.seangoedecke.com/giving-llms-a-personality/
13•dboon•4h ago•3 comments

GPT‑5.3 Instant

https://openai.com/index/gpt-5-3-instant/
338•meetpateltech•13h ago•264 comments

Intel's make-or-break 18A process node debuts for data center with 288-core Xeon

https://www.tomshardware.com/pc-components/cpus/intels-make-or-break-18a-process-node-debuts-for-...
276•vanburen•13h ago•236 comments

Indefinite Book Club Hiatus

https://whatever.scalzi.com/2026/03/03/indefinite-book-club-hiatus/
5•cdrnsf•3h ago•1 comments

Launch HN: Cekura (YC F24) – Testing and monitoring for voice and chat AI agents

78•atarus•17h ago•20 comments