Thread View: muc.lists.freebsd.hackers
5 messages
5 total messages
Started by Eva Winterschön
Wed, 02 Dec 2026 18:36
Re: FreeBSD/wasm/unkernel
Author: Eva Winterschön
Date: Wed, 02 Dec 2026 18:36
Date: Wed, 02 Dec 2026 18:36
109 lines
11085 bytes
11085 bytes
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
Re: FreeBSD/wasm/unkernel
Author: Stanislav Sedov
Date: Wed, 02 Dec 2026 18:57
Date: Wed, 02 Dec 2026 18:57
129 lines
7887 bytes
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
Re: FreeBSD/wasm/unkernel
Author: Miroslav Lachman
Date: Wed, 02 Dec 2026 22:05
Date: Wed, 02 Dec 2026 22:05
24 lines
5179 bytes
5179 bytes
On 02/12/2026 19:57, Stanislav Sedov wrote: > 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. You have my vote. Even though, based on the description, it doesn't seem particularly useful to me, I think it's exactly the kind of thing that could spark interest among newcomers who haven't heard of FreeBSD, or who have heard of it but haven't yet considered giving it a try. If a project like this allows them to get introduced to it, maybe it will convince them to use it on actual hardware. And if it makes application development and testing easier for experienced developers, even better. Best regards Miroslav Lachman -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: FreeBSD/wasm/unkernel
Author: Eugene Andrienko
Date: Thu, 03 Dec 2026 09:57
Date: Thu, 03 Dec 2026 09:57
46 lines
7831 bytes
7831 bytes
Stanislav Sedov <stas@deglitch.com> writes: > 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. I disagree with disagreement on the engagement front. I can't imagine a scenario where the person from IT/engineering side of things pokes a FreeBSD via the browser and his next reaction will be "Aha, that's a cool system, let's install it to my laptop / server /whatever and start to contribute back!". What even could be learned about the FreeBSD system this way? Just the surface: how to start/stop services, what is /etc/rc.conf, etc? But we already have Handbook, where these things and much more are covered. If non-tech person somehow decided to use FreeBSD just after touching the system through web browser - well, there is a big world full of pain will be opened after this decision }:-). Understandable outcome for someone who perceived OS like a TikTok video :-). > And it makes it easier for people to port things and try them out > before committing time to a full setup. I pretty sure that programmers and maintainers already had instruments for these tasks at near 15-20 years ago - separate test environments, jails, virtual machines, physical test machines, etc. If someone don't want to spent some time to configure things necessary for his hobby (or work?) then it is looking very strange. Like "I want a good muscles, but I don't want to invest time in lifting weights". > We need more fresh blood in FreeBSD and this is one way to get it. /me ready to bet that this "fresh blood" mostly will be like: "ugh, why is this system behave different from my favourite Linux distro - the developers must fix that!" From my perspective, people who was interested in the FreeBSD ways of doing things in the past - usually come using other ways. -- Eugene Andrienko -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: FreeBSD/wasm/unkernel
Author: Vadim Goncharov
Date: Thu, 03 Dec 2026 19:48
Date: Thu, 03 Dec 2026 19:48
44 lines
7896 bytes
7896 bytes
On Thu, 03 Dec 2026 12:57:26 +0300 Eugene Andrienko <evg.andrienko@gmail.com> wrote: > Stanislav Sedov <stas@deglitch.com> writes: > > > 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. > > I disagree with disagreement on the engagement front. I can't imagine a > scenario where the person from IT/engineering side of things pokes a > FreeBSD via the browser and his next reaction will be "Aha, that's a > cool system, let's install it to my laptop / server /whatever and start > to contribute back!". What even could be learned about the FreeBSD > system this way? Just the surface: how to start/stop services, what is > /etc/rc.conf, etc? But we already have Handbook, where these things and > much more are covered. > > If non-tech person somehow decided to use FreeBSD just after touching > the system through web browser - well, there is a big world full of pain > will be opened after this decision }:-). Understandable outcome for > someone who perceived OS like a TikTok video :-). [...] > /me ready to bet that this "fresh blood" mostly will be like: "ugh, why > is this system behave different from my favourite Linux distro - the > developers must fix that!" > > From my perspective, people who was interested in the FreeBSD ways of > doing things in the past - usually come using other ways. I disagree to this disagreement. This works in another way. For the fresh blood to come, you first need masses which will be filtered. It is always small fraction - say, 1% of those who tried will became contributors. But those who tried must first *hear* about it. So by the law of big numbers we need as much gossip spreading as possible, thus this is a good project even if it is useless for "real" things. -- WBR, @nuclight -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads