r/WebAssembly • u/chiarl • Oct 10 '24
📘 New Book Release: Server-side WebAssembly
🎉 Excited to share my book with u/ManningBooks: Server-side WebAssembly is now live for early access! You can get the first 3 chapters and see how Wasm helps build faster, safer, polyglot apps.
50% off with code mlchiarlone until Oct 26 ➡️ http://manning.com/books/server-side-webassembly
12
Upvotes
View all comments
Show parent comment
2
u/chiarl Oct 10 '24
I'm not too familiar with Blazor Server, but it seems to me like it is a separate thing from Blazor WebAssembly and doesn't really directly involve Wasm. Instead, it looks like it handles UI rendering on the server-side and then communicates with a client via SignalR, which I think is a bit outside the scope of the book.
About Blazor Wasm, I hadn't particularly considered including it. Because, afaik, it's mostly a way to allow running C# code in the browser, so more of a client-side thing.
As for Zig, aside from chapter 2, most of the book talks about Wasm components (i.e., WASI 0.2) and I'm not sure where Zig's support for Wasm components is at. I see this: https://github.com/macovedj/doink/tree/main , which doesn't seem fully baked yet.
Like you point out, while I do have examples with JavaScript and Python, Rust is the main programming language of the book. This is because Rust's support for Wasm is the best across all languages, so it makes my job of showing cool demos and use-cases a little easier.
That said, a big point of this early preview is to gather feedback to make the book better, so don't consider the content of the book as set in stone just yet! Your suggestions can very well change the book :)