TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I wrote a book about WebAssembly

410 pointsby raboukhalilabout 6 years ago
Hey HN!<p>I&#x27;ve been working on a book about WebAssembly over the last few months, and it&#x27;s finally available at <a href="http:&#x2F;&#x2F;levelupwasm.com" rel="nofollow">http:&#x2F;&#x2F;levelupwasm.com</a>!<p>Why a book on WebAssembly you ask? Well... WebAssembly is awesome (obviously ) but it&#x27;s certainly not the easiest thing to learn. So I wrote this book as a practical intro to using WebAssembly in your web apps.<p>I would appreciate any feedback!

31 comments

zrailabout 6 years ago
Congratulations on shipping! You accomplished something that vanishingly few people do. You should be incredibly proud of yourself.<p>Always Remember: the people on this site complaining about price are not your customers, and that’s ok. There are <i>always</i> people on this site that complain about price. When I launched my book and it got on here half the comments were about the price instead of the book itself. Ignore them. They’re noise. Focus on selling to your audience.
评论 #19277477 未加载
评论 #19277924 未加载
评论 #19278213 未加载
quickthrower2about 6 years ago
Nice work. A small note - you might want to redirect http-&gt;https on your site, especially as you are taking payments. You wouldn&#x27;t want a MITM to redirect your customers to another payment processing page.<p>Also my browser is reporting your https certificate as invalid so sort that out too.
评论 #19277830 未加载
blaze33about 6 years ago
Hey congratulations ! Funny enough, I had offers to write a book on WebAssembly, almost 2 years ago, after writing an article[1] on that topic that somehow ranked #1 on HN for a day :) Had to decline but never doubted someone more experienced would write one!<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14495893" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14495893</a>
评论 #19277133 未加载
Posibyteabout 6 years ago
The capstone project and little pacman game look pretty interesting. Think you can spare a short portion of the book to show what the writing is like? I find them to be some of the best litmus tests of what I&#x27;m about to get myself into on a technical book purchase.
评论 #19275957 未加载
olsoabout 6 years ago
That&#x27;s a really expensive (and I can afford it). How did you figure out these prices?
评论 #19276088 未加载
评论 #19275642 未加载
评论 #19277485 未加载
评论 #19277311 未加载
iwanttoeatyoabout 6 years ago
This seems to be a book about unsing emscripten to get c&#x2F;c++ to run in the browser. What if I want a book about writing wasm from scratch?
评论 #19279026 未加载
scandoxabout 6 years ago
As someone who spent 2 days fighting with an Emscripten config I can say that good information is worth the money.
评论 #19279801 未加载
seanwilsonabout 6 years ago
Congrats! Any comments on how straightforward you found completing the book? Did you get stuck at any point? What was the most difficult part?<p>Also, do you have a marketing plan? How are potential buyers going to find this?<p>Random SEO tips from a quick look: clean up you heading hierarchy (start with H1, nest H2 - H5 appropriately; right now they&#x27;re pretty random), add ALT text to all images (the ones with source code could get you more search hits for example), add a meta description and also add HTTPS (very important for security as well).
评论 #19280018 未加载
langitbiruabout 6 years ago
Congratulations on your book! May I ask why you choose self-publishing road instead of publishing it on publisher? I am not saying one way is better than the other. I am just wondering.<p>Is it because no interest from the publishers? Or is it because you think the royalty percentage from publishers is too low? Or you don&#x27;t have any particular reason? It&#x27;s just feel natural to do self-publishing.<p>Also, do you hire editors?
评论 #19279881 未加载
macpabout 6 years ago
Table of contents and sample chapter?<p>Webassembly for genomics sounds cool :)
评论 #19275959 未加载
评论 #19277353 未加载
评论 #19276091 未加载
Accacinabout 6 years ago
Intersting, I&#x27;ve been looking into this recently and this might be the thing I need to finally get stuck into it. Pricing seems reasonable, I&#x27;m not sure about other comments saying it&#x27;s a little high.
SCdFabout 6 years ago
Looks cool!<p>If I don&#x27;t know any C++ (and never plan to) but am learning Rust, do you think there is value here? Or is really focusing on the C++ -&gt; WASM experience?
评论 #19279920 未加载
amreactabout 6 years ago
This looks really neat! I noticed that it talks about how to call command line programs from my own webassembly program. Does it talk about techniques that could be used for package management, where someone publishes webassembly binaries and people consume them in their own webassembly binary? If so, does that work even when the webassembly &quot;packages&quot; are written in different languages?
alex_hitchinsabout 6 years ago
I&#x27;m getting your book - thank you. Also wanted to say I really like the site you have put together. Minimal yet everything there. Perfect.
评论 #19280026 未加载
ameliusabout 6 years ago
Why not place the compiled demos directly on the website?<p>This could show the practicality of the approach, e.g. that the demos work in every browser. It also shows (hopefully) something that can be done only in WebAssembly, and not in plain JavaScript, which can provide motivation to actually learn about WebAssembly.<p>Also, I&#x27;d like to see a TOC and sample chapter.
评论 #19279821 未加载
sidcoolabout 6 years ago
Great job mate! Congratulations for shipping.
评论 #19288847 未加载
webmavenabout 6 years ago
Can you share any data on bounce&#x2F;engagement&#x2F;conversion rates for the different packages (eg. X% leave the page without scrolling&#x2F;reading, Y% read the page but don&#x27;t buy, Z% actually make a purchase, purchases break down A&#x2F;B&#x2F;C% between the different packages)?
johnmarcusabout 6 years ago
How can web assembly deal with per-env variables? Need to recompile for every environment? That means recompile at startup, since I deploy the same artifact to different envs and allow the env to define its vars. For this reason, as a sys admin, I hate web assembly (and most other asset pipelines)
anchpopabout 6 years ago
The book looks good (I like the demos of the examles), but what motivated you to choose that pricing scheme?
arendtioabout 6 years ago
Looks nice. If you are planning to expand this, I would be interested in a comparison of the different toolchains (e.g. Emscripten vs. Go vs. Rust). Currently, I would choose the toolkit of my favorite language, but I have no idea what kind of consequences such a choice has.
samdixonabout 6 years ago
Looks great. I would definitely buy this if there was an option for a printed book.
kkarakkabout 6 years ago
Region specific pricing would boost adoption a lot. you can buy full courses on Coursera&#x2F;other MOOCs for 30bucks in some countries and your pdf+cheat sheet costs more = guaranteed your book shows up on libgen
ardenpmabout 6 years ago
I see the sample chapter has an autoconf porting example. Is porting a CMake based project covered anywhere in the book?
评论 #19288911 未加载
ecmascriptabout 6 years ago
Looks interesting, unfortunately I don&#x27;t have the time now but I will for sure maybe buy this book in the future!
d2xdy2about 6 years ago
Just picked up the “complete edition”. Really looking forward to going through it all. This looks great!
评论 #19277354 未加载
评论 #19277349 未加载
rtacconiabout 6 years ago
I do not have time to read it now but for sure I will buy it. It looks good, well done!
notaboutdaveabout 6 years ago
Does the book cover anything on rendering with OpenGL or graphics libraries?
评论 #19277382 未加载
maxgraeyabout 6 years ago
So much PR of this book is everywhere, as if Brendan Eich himself wrote it!
评论 #19288867 未加载
pjmlpabout 6 years ago
Congratulations on getting it done.
评论 #19288869 未加载
terrycodyabout 6 years ago
I would appreciate its free for testers on HN.
评论 #19277431 未加载
评论 #19277257 未加载
taytusabout 6 years ago
Honest feedback: Pricing is high.<p>Also, to me, this doesn&#x27;t look like a good way to use Show HN. A link to Amazon wouldn&#x27;t be different than what you just did.
评论 #19277457 未加载
评论 #19277615 未加载