frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
25•toast0•2h 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•2h 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•1h 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•1h 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•45m 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.

toast0•29m ago
Unfortunately, the hydros project website is gone. I'm not sure if it moved somewhere.
lightandlight•6m ago
> browser-based demo

Wait, so is the browser running a JavaScript build of Qemu? /

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
25•toast0•2h ago•7 comments

Show HN: QuickBEAM – run JavaScript as supervised Erlang/OTP processes

https://github.com/elixir-volt/quickbeam
61•dannote•1d ago•10 comments

Show HN: I made a "programming language" looking for feedback

https://github.com/alonsovm44/glupe
21•alonsovm•4h ago•21 comments

Show HN: BreezePDF – Free, in-browser PDF editor

https://breezepdf.com/?v=3
64•philjohnson•9h ago•36 comments

Show HN: Create a full language server in Go with 3.17 spec support

https://github.com/owenrumney/go-lsp
81•rumno0•5d ago•17 comments

Show HN: Sheet Ninja – Google Sheets as a CRUD Back End for Vibe Coders

https://sheetninja.io
66•sxa001•11h ago•68 comments

Show HN: Tabical – Tinder-style city micro-itineraries, personalized by swipe

https://tabical.com/
5•akhilpotturi•2h ago•0 comments

Show HN: DeepRepo – AI architecture diagrams from GitHub repos

https://deeprepo.dev
6•uwais12•4h ago•2 comments

Show HN: /slot-machine development (CC vs. Codex; CE vs. superpowers)

https://github.com/pejmanjohn/slot-machine
5•pejmanjohn•5h ago•0 comments

Show HN: Public transit systems as data – lines, stations, railcars, and history

https://publictransit.systems
41•qwertykb•15h ago•18 comments

Show HN: Timezone App – Visual meeting scheduler for distributed teams

https://timezoneapp.co/
9•choogi•4h ago•1 comments

Show HN: Agent Orchestrator, a local-first Harness Engineering control plane

10•gpgkd906•10h ago•0 comments

Show HN: Payphone Tag is territory game using Australia's 15,000 payphones

https://payphonetag.com
8•gangerang•9h ago•3 comments

Show HN: I made a free list of 100 places to promote your SaaS

https://launchdirectories.com
6•rosennn•4h ago•0 comments

Show HN: OS3-RNode, an RNode-Compatible LoRa Modem on CH32V003

https://netmonk.org/works/rnode-on-os3-ch32v003/
8•netmonk•9h ago•0 comments

Show HN: Vocab extractor for language learners using Stanza and frequency ranks

https://huggingface.co/spaces/vladvlasov256/vocab-nlp
3•crivlaldo•1h ago•0 comments

Show HN: Pglens – 27 read-only PostgreSQL tools for AI agents via MCP

https://github.com/janbjorge/pglens
4•jeeybee•6h ago•2 comments

Show HN: Tinyvision:-Building Ultra-Lightweight Models for Image Tasks

https://github.com/SaptakBhoumik/TinyVision
3•saptakbhoumik3•7h ago•0 comments

Show HN: SuperPaint – a fluid simulation painting app

https://aaronetz.github.io/superpaint/
6•aaronetz•7h ago•0 comments

Show HN: I wrote a ~2KB executable file HTTP file downloader without Libc

https://github.com/Ferki-git-creator/hfile-htpp-file-download-cli-tool
9•DenisDolya•9h ago•5 comments

Show HN: I built an OS that is pure AI

https://pneuma.computer
29•evanbarke•1d ago•38 comments

Show HN: We built a multi-agent research hub. The waitlist is a reverse-CAPTCHA

https://enlidea.com
28•LZK•1d ago•17 comments

Show HN: I built a Git extension to capture AI-code context and tied to commits

https://gitwhy.dev/
4•quannguyen028•10h ago•4 comments

Show HN: Run Claude Code using ChatGPT subscription

https://www.npmjs.com/package/hijackclaw
3•yungookim•10h ago•1 comments

Show HN: Think Fu – Metacognition as a service

https://thinkfu.org
3•georgestrakhov•11h ago•0 comments

Show HN: Twitch Roulette – Find live streamers who need views the most

https://twitchroulette.net/
176•ellg•2d ago•94 comments

Show HN: Turbolite – a SQLite VFS serving sub-250ms cold JOIN queries from S3

https://github.com/russellromney/turbolite
179•russellthehippo•3d ago•46 comments

Show HN: WhatToBuy – Describe your situation, get AI-curated shopping carts

6•crackeddude•13h ago•15 comments

Show HN: I put an AI agent on a $7/month VPS with IRC as its transport layer

https://georgelarson.me/writing/2026-03-23-nullclaw-doorman/
336•j0rg3•3d ago•97 comments

Show HN: Fio: 3D World editor/game engine – inspired by Radiant and Hammer

https://github.com/ViciousSquid/Fio
95•vicioussquid•3d ago•12 comments