frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
19•toast0•1h ago
Crazierl is an experimental/hobby operating system based around BEAM.

I've linked the browser based demo; I don’t recommend using a phone; it does work, slowly, on the phones I tested, but it’s very awkward to use. You can share a link with a hashtag with your friends and click the consent checkbox, and it (should) link up into dist and I’ve also included a chat application you can start with chat:start(). (quit chat with /quit, or use the shell menu with ctrl-g to switch between shells etc).

The browser demo relies on the v86 javascript x86 virtual machine. You can also run Crazierl on a real x86 system, but I’ve had mixed luck on modern systems, it uses some esoteric legacy VGA features and support for that isn’t getting better.

Crazierl is fairly limited: 32-bit x86, BIOS boot, only two NIC drivers virtio-net and realtek 8168. But it's got enough to become part of an Erlang dist cluster. It also supports SMP, but it’s crashy with high core counts in qemu; there’s almost certainly several concurrency bugs in the kernel. There's also a lot of excess tcp debug spew (sorry).

Source code is available (Apache) https://github.com/russor/crazierl/

Comments

mixedbit•1h ago
Is the OS implemented from scratch, or is it a stripped down version of some existing OS?
toast0•1h ago
The kernel is pretty much from scratch. It provides a FreeBSD compatible syscall interface for the syscalls that BEAM calls, as well as the FreeBSD runtime loader. I do make healthy use of FreeBSD libraries to provide the OS, you can get an idea of what I pull from the file names in the Makefile [1]. Building an OS is a lot, so I tried to stick to the parts I find fun and interesting. Things like a NIC driver in Erlang [2] (with NIFs to copy to/from device memory). But process / thread creation is original, memory management is original (not necessarily good), time keeping is original, etc. I used existing code and interfaces so I didn't have to write a bootloader, memcpy, and lots of other stuff.

[1] https://github.com/russor/crazierl/blob/main/Makefile#L23

[2] https://github.com/russor/crazierl/blob/main/src/rtl_8168.er...

tombert•48m ago
I've thought about doing something like this but I am only very recently getting into low-level OS stuff.

I can't remember who said this, but they called "Erlang an operating system for your code", and I think that's fairly accurate. When I build an Erlang app, I don't build it the same way as I would with Rust; I have a lot of independent gen_servers that do operate independent from each other.

The Erlang VM is (roughly) preemptive multitasking, and even each process has its own GC, so it does feel like it could be a natural fit for its own operating system without having to live on top of Linux.

calvinmorrison•38m ago
There's some definite prior art here where they worked on that a LOT.

https://www.erlang-factory.com/static/upload/media/149858389...

tombert•14m ago
You know, I read those slides when they were new, and I apparently just completely forgot about it.

Not that it's not interesting, just that my brain is dumb sometimes.

There is No Spoon. A software engineers primer for demystified ML

https://github.com/dreddnafious/thereisnospoon
1•jmatthews•4m ago•1 comments

I made Claude write a book about mayonnaise

https://github.com/bronlund/on-mayo
3•bronlund•5m ago•1 comments

'Project Hail Mary' Crosses $300M in Sales to Become Amazon/MGM's Highest-Gross

https://variety.com/2026/film/news/project-hail-mary-global-box-office-amazon-mgm-highest-grossin...
4•gnabgib•9m ago•1 comments

Making HNSW Work with JOINs and WHERE Clauses on DuckDB

https://cigrainger.com/blog/duckdb-hnsw-acorn/
1•cigrainger•9m ago•0 comments

The Decadelong Feud Shaping the Future of AI

https://www.wsj.com/tech/ai/the-decadelong-feud-shaping-the-future-of-ai-7075acde
1•jbegley•9m ago•0 comments

Show HN: SwarmDock – P2P marketplace where AI agents bid on tasks and earn USDC

https://www.swarmdock.ai/
1•jamesweb•9m ago•0 comments

Coding Agents Could Make Free Software Matter Again

https://www.gjlondon.com/blog/ai-agents-could-make-free-software-matter-again/
8•rogueleaderr•11m ago•2 comments

'Project Hail Mary': real space science, real astrophotography

https://entertainment.slashdot.org/story/26/03/29/2216247/project-hail-mary-real-space-science-re...
1•MilnerRoute•11m ago•1 comments

Dear researchers: Is AI all you've got?

https://austinhenley.com/blog/dearresearchers.html
3•yurivish•13m ago•0 comments

Kjell – Safely auto-approve AI agent shell commands through bash parsing

https://github.com/agentbellnorm/kjell
1•agentbellnorm•15m ago•1 comments

How to Know Yourself

https://www.theatlantic.com/ideas/2026/03/introspection-knowing-yourself/686602/
1•petethomas•15m ago•0 comments

Mnemo – open-source memory and observability for AI agents (2 lines of code)

https://github.com/DharmaDhillon/mnemo
1•dharmauniversal•16m ago•0 comments

Claude Code runs Git reset –hard origin/main against project repo every 10 mins

https://github.com/anthropics/claude-code/issues/40710
1•mthwsjc_•17m ago•0 comments

The ECMAScript spec forces V8 to leak whether DevTools is open

https://svebaa.github.io/personal/blog/cdp-fingerprinting/
2•sveba•17m ago•0 comments

A Year of Open Source Vulnerability Trends

https://github.blog/security/supply-chain-security/a-year-of-open-source-vulnerability-trends-cve...
1•jruohonen•18m ago•0 comments

I'm an AI agent trying to run a real business. I've made $0. Here's my brain

1•acrid•19m ago•0 comments

What Is LLM Advertising? The New Ad Layer for AI-Powered Search

https://www.gendiscover.com/blog/what-is-llm-advertising
1•transfon•21m ago•0 comments

Uni feels so usless, I cant focus anymore

4•EteenSMASH•23m ago•0 comments

My Homelab

https://wilsoniumite.com/2026/03/30/my-homelab/
1•Wilsoniumite•25m ago•0 comments

AuraFonts – Free Fancy Text Generator

https://aurafonts.com/
1•ohjeez•26m ago•0 comments

DJI AVATA 360: 8K 360° drone

https://www.dji.com/global/mobile/avata-360
1•teleforce•28m ago•0 comments

PhotoLedger – structured photo documentation for business

https://info.photoledger.app
1•ZarSys•29m ago•1 comments

How to build beautiful enclosures from FR4 – a.k.a. PCBs

https://hackaday.com/2015/06/03/how-to-build-beautiful-enclosures-from-fr4-aka-pcbs/
2•ikbdsk•29m ago•0 comments

A month of OpEx quick wins

https://www.jmduke.com/posts/opex-quick-wins.html
1•siegers•30m ago•0 comments

Show HN: Rename and reorder messy Alembic migrations automatically

https://github.com/super-jaba/fix-migration-order
1•pavlikenemy•33m ago•0 comments

Poison in the Corpus: The Antidote in Sight

https://zeitraum.blog/en/post/019d3529-4799-7350-b3f3-df1b3f64e02a
2•paulpauper•33m ago•0 comments

A Buddhist Sun Miracle?

https://www.astralcodexten.com/p/a-buddhist-sun-miracle
1•paulpauper•33m ago•0 comments

Yet Another Parametric Projectbox Generator

https://willem.aandewiel.nl/index.php/2022/01/02/yet-another-parametric-projectbox-generator/
2•ikbdsk•34m ago•1 comments

Ask HN: How do you check what ChatGPT says about your product?

1•gissurthor•34m ago•0 comments

Show HN: The Memory for OpenClaw

https://clawmem.ai/
1•ngaut•34m ago•0 comments