News for hackers. Stuff that matters.
Re:Mewz: Unikernel written in Zig for running WASI-compatibl... by Alifatisk on Saturday June 15, 2024 @05:53AM (#40688664)
Since I can export ruby scripts into wasm, will this allow me to create standalone-executable?
Re:Mewz: Unikernel written in Zig for running WASI-compatibl... by zamadatix on Sunday June 16, 2024 @12:52PM (#40698431)
Yes in that it would allow you to run your ruby scripts "as the standalone OS". No in that it's not a way to package the ruby script to just run as a standalone executable on different existinging OSs (without standing up a dedicated virtual machine on the host to do so).

Mostly clarifying that for those who have a certain meaning of what a standalone executable means to them already in their head.

Re:Mewz: Unikernel written in Zig for running WASI-compatibl... by nderjung on Saturday June 15, 2024 @01:02PM (#40690984)
This project operates by first building the webassembly module into an ELF binary and then statically linking this against the Mewz library OS in order to become a unikernel binary.

It looks still very early days in terms of supporting all libc/syscalls as well as support for different platforms.

I wonder how this compares in terms of performance to https://unikraft.org which is able to do the same but is a more establish libOS/unikernel project (disclosure I am a maintainer of Unikraft :-)) since this is written in Zig and Unikraft is written in C.