frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Leaking internal headers in Flask Ninja with deserialization

https://eval.blog/research/pickle-gadget-chain-in-flask-ninja/
1•0xcrypto•1m ago•0 comments

Best Foldable Phones

https://www.nytimes.com/wirecutter/reviews/best-foldable-phones/
1•vanclaude•2m ago•0 comments

Boeing asks US to intervene over record EU loan to Airbus

https://www.reuters.com/business/aerospace-defense/boeing-asks-us-intervene-over-record-eu-loan-a...
1•elDutie•3m ago•0 comments

See each Law of UX broken, then fixed, in a live demo

https://laws-of-ux-examples.pagepost.app/
1•atzoumas•3m ago•0 comments

Chelsea's Defensive Rebuild Gains Momentum as Lacroix Emerges as Priority Target

https://predx-article.fika.bar/chelsea-s-defensive-rebuild-gains-momentum-as-maxence-lacroi-01KY1...
1•joeymabia1•3m ago•0 comments

Flavor Lines

https://vova.today/en/works/plofornot/
1•altilunium•3m ago•0 comments

An open dataset for modeling consciousness and sedation from EEG under propofol

https://zenodo.org/records/18483292
1•katsee•3m ago•0 comments

GitHub Incident with Deploy Keys

https://www.githubstatus.com/incidents/g40zcbvchny4
1•gowthamgts12•4m ago•0 comments

LibreFolio – Self-hosted portfolio tracker with 11 broker imports

https://github.com/Librefolio/LibreFolio
1•librefolio•5m ago•0 comments

I moved Agentique's LLM layer to BAML

https://agentique.ch/blog/why-i-moved-agentiques-llm-layer-to-baml/
1•dimslaev•5m ago•0 comments

Streaming, Fast and Slow: Cognitive Load-Aware Streaming

https://arxiv.org/abs/2504.17999
1•ankitg12•5m ago•0 comments

SubNuke – A privacy-first subscription tracker that doesn't require bank access

https://www.getsubnuke.com
1•zardt_•5m ago•0 comments

iOS 27 jailbreak with usbliter8 exploit

https://github.com/34306/usbliter8-fun
1•quyleanh•6m ago•0 comments

GPT-5.6 vs. Claude Fable 5 for Physical AI, which performs best?

https://juliahub.com/blog/frontier-models-physical-ai-evaluation
1•ChrisRackauckas•9m ago•0 comments

Chamath Palihapitiya on X: "Tricking US Gov protect frontier labs is a mistake

https://twitter.com/chamath/status/2079457219892871458
1•bilsbie•11m ago•0 comments

The Fake Influencers Selling Wellness on Your Feed

https://www.nytimes.com/video/technology/100000011001849/ai-influencers-health-supplements-fake-a...
1•pretext•12m ago•0 comments

The Rise of Fashion Slop

https://www.nytimes.com/2026/07/21/opinion/fashion-slop-boring.html
1•pretext•14m ago•0 comments

Show HN: Friday – a local-first desktop AI assistant that can use tools

https://friday.haraldbregu.com/
1•haraldbregu•18m ago•0 comments

RLHF and Post-Training Course by Nathan Lambert

https://rlhfbook.com/course
1•ankitg12•19m ago•0 comments

Content Is King (1996)

https://web.archive.org/web/20010126005200/http://www.microsoft.com/billgates/columns/1996essay/e...
1•tosh•20m ago•0 comments

Mpathic's First Sale

https://infiniteloop.media/p/the-first-customer-mpathic
1•natali_gray•21m ago•0 comments

Calio – Instantly extract key information from insurance SEC filings

https://chromewebstore.google.com/detail/sec-edgar-filings-extract/mjlmlhdhcdlohompclddmcnpgdhjgeja
1•mehbish•21m ago•1 comments

Don't add a read replica until you've read this

https://incident.io/blog/dont-add-a-read-replica-until-youve-read-this
10•shintoist•24m ago•0 comments

Washington blocks Kalshi's sports prediction market over state gambling law

https://www.theblock.co/post/409011/washington-kalshi-preliminary-injunction
2•thm•26m ago•1 comments

Researchers Detect SARS-CoV-2 Components in Hamsters 365 Days After Infection

https://www.biorxiv.org/content/10.64898/2026.07.19.739454v1
1•thenerdhead•29m ago•0 comments

Is AI Curing the Loneliness Epidemic, or Profiting from It?

https://mrkt30.com/is-ai-curing-the-loneliness-epidemic-or-profiting-from-it/
2•technewssss•29m ago•0 comments

Open Meditron: An Auditable Pipeline for Clinical LLMs

https://arxiv.org/abs/2605.16215
1•instagraham•33m ago•0 comments

POSIX on WebAssembly, or "What is an OS anyway" [video]

https://www.youtube.com/watch?v=O0buO7Brqlo
1•indrora•33m ago•0 comments

Elixir Cluster 101

https://jola.dev/posts/elixir-cluster-101
1•shintoist•33m ago•0 comments

The Age of Comprehension Debt

https://medium.com/@efeminella/the-age-of-comprehension-debt-d16ce9f776bd
2•ankitg12•34m ago•0 comments
Open in hackernews

Running Doom on Our Custom CPU and Going Viral

https://www.armaangomes.com/blogs/doom/
78•arghunter•6h ago

Comments

dmitrygr•5h ago
For anyone else curious: custom FPGA-based CPU code but not a custom architecture. This is an RV32I core. The article takes along time to give up this fact.
zuzululu•4h ago
thanks for saving me the time but it is pretty cool to see i'd love to learn more about fpga my goal is to run very old rare consoles
kryptiskt•3h ago
Deciding on an ISA like RV32I only sets constraints on your architecture, it doesn't give you any of it for free. So I think it's entirely valid to say that it's a custom architecture if they didn't use any pre-existing CPU design.

Basically, they had the API interface and implemented everything behind it. I think saying that "it's an RV32I core" vastly underrates the design work that goes into actually implementing an RV32I core from scratch.

voidUpdate•3h ago
It's a custom implementation of an existing architecture
ahartmetz•1h ago
It's common to call the instruction set just "architecture", or ISA (instruction set architecture) to be more precise. The implementation is commonly called "microarchitecture".
speed_spread•30m ago
RV32I doesn't define any architecture, it's just an ISA i.e. a software contract that happens to be implementable in hardware. The CPU could run on outer space goop and still be RV32I.
dmitrygr•3h ago
The *architecture* is RV32I_Zmmul which is unambiguously neither new nor custom.

What you describe (the specific implementation details of a core) is *microarchitecture*. In this case clearly a lot of work was done and it is cool, but the *architecture* is indeed RV32I and not custom

I was not undermining anything. I was helping others find the info I sought and took a while to find. This is why i left my comment. Everyone has their own interests. As an example, my thoughts were "whoa... a new architecture... did they write a new compiler or rewrite doom in assembly?" and for that "it is rv32i" would have been a quick answer.

Dylan16807•2h ago
Making a particularly good core is hard. Making a core to the minimum risc-v spec is what you do in a single college course. It's what the ISA was designed for.
sweetjuly•5h ago
Always a delight seeing Chisel in the wild :)
Flex247A•3h ago
Great work!

This reminded me of a project I built a while back: a RV32IM emulator in C++ that can boot and run DOOM. Initially I implemented only RV32I, and implementing the M extension provided a massive speedup!

If anyone's curious, here's the source code: https://github.com/lalitshankarch/rvcore

kailpa1•3h ago
Nice one! Sounds like a fun project to do. Did you follow any tutorial or guide for this? If so, I would appreciate it if you shared it.
Flex247A•2h ago
Hi, I didn't follow any specific guide on this, but asked ChatGPT about the bare minimum environment needed to run DOOM. From there, I figured out how to execute the instructions using a switch-case and how to make a custom syscall to trigger rendering.

I made a post a while back that details the entire process: https://www.reddit.com/r/EmuDev/comments/1t1or4j/doom_runs_o...

kailpa1•12m ago
Thanks, am going to check it out.
sph•37m ago
If you don't want to delegate the fun of learning to an LLM, here's how I've built a RV64IM simulator in C in a weekend. All you need is an opcode table, the RISC-V specs and to implement each instruction; the good thing of RISC CPUs is that instructions are very simple (i.e. pretty much everything is a variation of `dest = src1 OP src2`) and memory instructions are dedicated. The other cool thing is that there are no "flags". Start with the base instruction set, then you can add M on top later. 64-bit support requires just a handful more instructions to zero/sign extend from 32-bit.

Then, wire your simulator to https://github.com/riscv-software-src/riscv-tests, and there you have an official test suite. When everything passes, you have a fully-compliant RISC-V CPU. You can at this point tell GCC or Rust or your favourite language to compile to RV32IM and see it run on your simulator. It's a very gratifying process.

If you get at this stage, you might want to use the ecall instruction to hard-code I/O operations such as "read from stdin" or "print a character", and there you have a sandboxed CPU that you can target with your favourite programming language. Make it run DOOM (start with https://github.com/ozkl/doomgeneric and see which I/O do you need), or turn it into a toy game console; the sky's the limit.

---

Here's a copy-paste of the list of resources I have saved in my notes:

- https://github.com/libriscv/libriscv A very fast RISC-V VM with sandboxing of memory and syscalls.

- https://luplab.gitlab.io/rvcodecjs/ RISC-V Instruction Encoder/Decoder

- https://www.cs.sfu.ca/~ashriram/Courses/CS295/assets/noteboo... Reference card

- https://cs.brown.edu/courses/csci1952y/2024/assets/docs/risc... Spec

- https://riscv-software-src.github.io/riscv-unified-db/manual...

- ABI: https://lists.riscv.org/g/tech-psabi/attachment/61/0/riscv-a...

Good luck!

paulmooreparks•3h ago
Very cool!

I just did the same thing, but for a byte-code interpreter for a completely novel ISA I made up a while back (with an assist from Claude). I just haven't made the HN post yet, since I'm doing a bit of cleanup.

https://github.com/paulmooreparks/Maize/ https://paulmooreparks.github.io/Maize/

terekhindc•1h ago
why Zmmul and not full M — is it just fpga area, or did the doom port let you drop div/rem?
Archit3ch•29m ago
Reading "Custom CPU" I expected wafer.space, instead of FPGA.
mithro•19m ago
https://www.linkedin.com/posts/hirosh-dabui-a5367443_linux-r...
kailpa1•13m ago
Huge thanks! Will certainly try doing that.