🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #123

Re: FreeBSD/wasm/unkernel

#123
From: Stanislav Sedov
Date: Wed, 02 Dec 2026 18:57
129 lines
7887 bytes
Eva,

I disagree on the engagement front.  Attention is in short supply these days, so having an option to try FreeBSD easily,
in a web browser or on the phone, gets more people interested in it.  And it makes it easier for people to port things and try them
out before committing time to a full setup.

We need more fresh blood in FreeBSD and this is one way to get it.

—
Stas

> On Dec 2, 2026, at 10:36 AM, Eva Winterschön <freebsd-virt.eva@winterschon.com> wrote:
> 
> Stas,
> 
> Credit where it's due as a first step: Having a freebsd-unkernel is unusually honest; the PLAN and TODO enumerate most of this themselves, and the riscv-pmap-for-arm64-userland trick is genuinely elegant, but... 
> 
> The elegance is the trap - misdirection. Using WASM for running <whatever> was pretty cool in the 20-teens back when we were excited about running DOOM wads in WASM on the edge in preempt realtime on big cache boxes... these days WASM is... still WASM. It has its computations place, and this is not it. This is fun, yes, but this is not what FreeBSD or WASM are best at for application of usage. A screwdriver can be used as a hammer, but that does not make it a hammer.
> 
> You have kept the source of FreeBSD while discarding the machine it assumes: 
> - MMU, preemption, interrupts, remappable KVA, and native user execution. 
> 
> BEAM/erXos discards the other half: 
> It keeps a UNIX face while discarding the kernel entirely. 
> 
> - Neither is FreeBSD on a new substrate. 
> - One is FreeBSD in a museum case.
> - The other is a costume.
> 
> Make more engagement for FreeBSD - that's what the project needs (see the Foundation's EWG notes), which does not include shoehorning more WASM into the edges of OS space (unless you do so with graphical accelerated IRIX and then give me a DM/email so I can get away from the world and back to CDE landscapes).
> 
> Best,
> 
> Eva
> 
> 
> On Wed, Dec 2, 2026, at 10:50, Adrian Chadd wrote:
>> I found it :p
>> 
>> https://github.com/stass/freebsd-unkernel
>> 
>> 
>> -a
>> 
>> On Wed, 2 Dec 2026 at 05:17, Mario Marietto <marietto2008@gmail.com> wrote:
>>>> Here is the link: https://stass.github.io/freebsd-unkernel/
>>> 
>>> Do you have a github repo for your project ? 
>>> 
>>> On Wed, Dec 2, 2026 at 2:16 AM Stanislav Sedov <stas@deglitch.com> wrote:
>>>> 
>>>>> On Dec 1, 2026, at 4:37 PM, Abdelkader Boudih <seuros@freebsd.org> wrote:
>>>>> 
>>>>> This is nice. You have put FreeBSD, the lord of jails, inside another jail (WASM), which itself runs inside yet another jail (the browser).
>>>> 
>>>> Pretty much.
>>>> 
>>>>> 
>>>>> Regarding performance,  You’re comparing a minimal implementation against a mature, general-purpose machine emulator. Once you start implementing the missing functionality, many of those performance gains will disappear.
>>>> 
>>>> Well part of it is that we are not emulating CPU and devices — it’d more similar to bhyve in that sense.  The efficiencies come from calling WASM/runtime functions directly rather than emulating hardware.
>>>> 
>>>>> 
>>>>> I dont think there is any useable usage case to run FreeBSD on CF workers.  CFW are functions that are billed by the second.
>>>>> 
>>>>> The only thing i can think of is , a fast glimpse of freebsd in a browser.  
>>>>> 
>>>>> Or try to do something with it usefull like run a RubyOnRails/Python/Php server or something.
>>>>> I thinking we could use it for CI.
>>>> 
>>>> Not sure RoR in a browser tab is very useful :)
>>>> 
>>>> But you can run any FreeBSD app in a browser, even on iOS.  Definitely makes it easier to test things on a go.
>>>> 
>>>>> 
>>>>> But first an usefull MVP should be usable.
>>>>> 
>>>>> PS: running DOOM or some AI harness is not. Some people did run that on the EUFI.
>>>>> 
>>>>> What you trying to do is a huge project.
>>>>> 
>>>>> ---
>>>>> Abdelkader
>>>> 
>>> 
>>> 
>>> -- 
>>> Mario.
> 



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <E50746F0-1BF5-420F-B6EF-4F8058A04F7B@deglitch.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <9a5a3f45-66cd-4d2e-8d50-c14493e9fdee@app.fastmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Stanislav Sedov <stas@deglitch.com>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: FreeBSD/wasm/unkernel
Date: Wed, 2 Dec 2026 10:57:07 -0800
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <E50746F0-1BF5-420F-B6EF-4F8058A04F7B@deglitch.com>
References: <> <9a5a3f45-66cd-4d2e-8d50-c14493e9fdee@app.fastmail.com>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.100.1.1.12\))
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="77385"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1796237847;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=YNIq//hyNfwFZ+UG47aNK/Fn/SFA02koTn8J1oN6Jf0=;
	b=nlJ7JfTdvut/tL5FMBp8ElKA4VAQ4BXQfoG79DjHwWUt9H+XWNylYsLlps4CSdlrKo+ypQ
	aSQTB1iq1PpUuDTkIOFPX2ja6Hc/ChP1Q8NXz80LPCPOp/Qwwy5HBG675Ykhf6PzeR4JUS
	vzK4QijmKQT3xEsTuvrqP0ga+EovlBWdezIvEcvXGrjOwt7imnwbC2FsCNEUCsGDgqsn20
	AUcJub+GEfHtq0/r+2JX0NJNrhuGK/vmPN/aQj3mWXWYf1aY6pQlsLSxWCU6CDgsmMfmaT
	7FpbEj3tT16X+pDvajoYsuXjy2aJohIimdysIQ5jDGhYZ18IXkY9khn1NIes0A==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=deglitch.com header.s=mx1-2025 header.b=Xr2xj1yF;
	spf=pass (mx1.freebsd.org: domain of stas@deglitch.com designates 5.78.95.221 as permitted sender) smtp.mailfrom=stas@deglitch.com;
	dmarc=pass (policy=none) header.from=deglitch.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=deglitch.com;
	s=mx1-2025; t=1796237837;
	bh=IH7pLD403yWc8NfPzs3FlVMgrlPdgkCBVR72mVlRUbs=;
	h=Subject:From:In-Reply-To:Date:Cc:References:To:From;
	b=Xr2xj1yFVs+UnYQmbrrfS+nlt6CJADkZSYm5T+UhGQmhbol7YmYrl+RAghJ/xnN0w
	 PFuQGN8QMvjCOybSM6ctT4HuKHypsOba1Hp+x7ziq8zPuSZBefKOf9DsW5z7cVMsR2
	 PMz07SRwup/+aNyhuK0R3sccETQbttQl5v07mcS4=
Precedence: list
In-Reply-To: <9a5a3f45-66cd-4d2e-8d50-c14493e9fdee@app.fastmail.com>
X-Rspamd-Queue-Id: 4jfn7T1945z3LhP
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.20 / 15.00];
	DMARC_POLICY_ALLOW(-0.50)[deglitch.com,none];
	MV_CASE(0.50)[];
	R_DKIM_ALLOW(-0.20)[deglitch.com:s=mx1-2025];
	R_SPF_ALLOW(-0.20)[+a:mx1.deglitch.com];
	ONCE_RECEIVED(0.20)[];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_NO_TLS_LAST(0.10)[];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	ARC_NA(0.00)[];
	RCVD_COUNT_ONE(0.00)[1];
	ASN(0.00)[asn:212317, ipnet:5.78.95.0/24, country:DE];
	MIME_TRACE(0.00)[0:+];
	FREEFALL_USER(0.00)[stas];
	MID_RHS_MATCH_FROM(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	FROM_HAS_DN(0.00)[];
	FREEMAIL_CC(0.00)[freebsd.org,gmail.com];
	RCPT_COUNT_FIVE(0.00)[5];
	FROM_EQ_ENVFROM(0.00)[];
	TO_DN_ALL(0.00)[];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	DKIM_TRACE(0.00)[deglitch.com:+]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes