* WebAssembly target for Guix (Showcase)
@ 2023-09-20 1:34 zamfofex
2023-09-20 2:12 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-09-20 8:15 ` Csepp
0 siblings, 2 replies; 3+ messages in thread
From: zamfofex @ 2023-09-20 1:34 UTC (permalink / raw)
To: guix-devel@gnu.org
Hello, Guix! I have recently worked on a WebAssembly target (for cross‐compilation) for Guix. It’s still in very early stages and thus fairly lacking, but it is enough to cross‐compile certain simple packages such as ‘lolcat’.
Maybe people might find it useful and/or interesting in some way. I have shared it here: https://git.sr.ht/~zamfofex/guix-wasm
The WebAssembly changes are applied on top of https://issues.guix.gnu.org/63088 (“Add Lc0”) because I had in my local Guix clone, and I didn’t bother to rebase.
I’d love to know what y’all might think about it!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: WebAssembly target for Guix (Showcase)
2023-09-20 1:34 WebAssembly target for Guix (Showcase) zamfofex
@ 2023-09-20 2:12 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-09-20 8:15 ` Csepp
1 sibling, 0 replies; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-09-20 2:12 UTC (permalink / raw)
To: zamfofex; +Cc: guix-devel@gnu.org
On Tue, Sep 19 2023, zamfofex wrote:
> I’d love to know what y’all might think about it!
That's super exciting! I do not plan to run GNU Guix inside a WASM
runtime (or in a browser) but I would like to experiment with WASM
versions of some of our packages.
My interest was sparked by the extraordinary claims about the upcoming
Hoot, which generates WASM from GNU Guile. The resulting binaries are
extremely small ("970 bytes") and "the Hoot-compiled WebAssembly ... is
five times faster than native Guile!" [1]
In response, I contributed packages for the "micro runtime" [2] and for
WasmEdge [3] but neither has been accepted into Guix just yet.
Kind regards
Felix
[1]
https://spritely.institute/news/scheme-to-wasm-lambdas-recursion.html
[2] https://issues.guix.gnu.org/64179
[3] https://issues.guix.gnu.org/64319
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: WebAssembly target for Guix (Showcase)
2023-09-20 1:34 WebAssembly target for Guix (Showcase) zamfofex
2023-09-20 2:12 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-09-20 8:15 ` Csepp
1 sibling, 0 replies; 3+ messages in thread
From: Csepp @ 2023-09-20 8:15 UTC (permalink / raw)
To: zamfofex; +Cc: guix-devel
zamfofex <zamfofex@twdb.moe> writes:
> Hello, Guix! I have recently worked on a WebAssembly target (for
> cross‐compilation) for Guix. It’s still in very early stages and thus
> fairly lacking, but it is enough to cross‐compile certain simple
> packages such as ‘lolcat’.
>
> Maybe people might find it useful and/or interesting in some way. I
> have shared it here: https://git.sr.ht/~zamfofex/guix-wasm
>
> The WebAssembly changes are applied on top of
> https://issues.guix.gnu.org/63088 (“Add Lc0”) because I had in my
> local Guix clone, and I didn’t bother to rebase.
>
> I’d love to know what y’all might think about it!
Hosting services on WASM would increase security by a lot, so I'm very
excited that someone is working on this.
Also cross-compiling GUIs with Guix would be a nice way to support
developing for browsers. Qt for instance experimentally supports
compiling for WASM.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-20 8:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-20 1:34 WebAssembly target for Guix (Showcase) zamfofex
2023-09-20 2:12 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-09-20 8:15 ` Csepp
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.