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.

Trunk: Build, bundle and ship your Rust WASM application to the web

113 pointsby 0xedb10 months ago

9 comments

SeanAnderson10 months ago
I&#x27;ve used Trunk for about a year on an app I&#x27;m slowly building and it&#x27;s worked well. I would vouch for it.<p>It&#x27;s a little light on maintainers. They shipped one version that was broken for my use case and it took maybe a week or two for things to get corrected, but was an innocent enough mistake and they were responsive on Discord. Other than that, no issues, works exactly like you&#x27;d expect.
评论 #41048171 未加载
评论 #41047477 未加载
评论 #41046946 未加载
ActionHank10 months ago
I wish wasm related projects gave stats or benchmarks on payload size as that has always been an issue for me adopting and I usually only find out after building something small to test.
jiyinyiyong10 months ago
I&#x27;ve used Trunk in my personal project for years. Very glad we have a handy tool to match the experience we develop with JavaScript. Now there are more and more front-end web devtools rewritted from Node.js to Rust for performance, Trunk is already in Rust since created.
01HNNWZ0MV43FF10 months ago
I&#x27;d use this to write frontend stuff in rust? I&#x27;m a little behind the times on web stuff but I was just thinking I have a simple web app with long polling I need to write, and even though it&#x27;s total overkill I&#x27;d rather do it in rust than TS
isosphere10 months ago
I&#x27;ve been using trunk for about a year and it hasn&#x27;t gotten in my way at all. I used wasm-pack before but I prefer the trunk workflow. I was surprised how easy it was to add an external crate as a web worker.
eamag10 months ago
Are there any examples?
评论 #41047512 未加载
评论 #41047584 未加载
评论 #41048398 未加载
chaosprint10 months ago
is there any doc for header support? I noticed it when using egui but without cors this cannot be used for my project...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;trunk-rs&#x2F;trunk&#x2F;pull&#x2F;322">https:&#x2F;&#x2F;github.com&#x2F;trunk-rs&#x2F;trunk&#x2F;pull&#x2F;322</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;trunk-rs&#x2F;trunk&#x2F;issues&#x2F;414">https:&#x2F;&#x2F;github.com&#x2F;trunk-rs&#x2F;trunk&#x2F;issues&#x2F;414</a>
JoosToopit10 months ago
This is pure cancer for the web we know.
gewenyu9910 months ago
Us, from Trunk.io: &quot;Oh look we&#x27;re at the top of Hackernews! Oh wait it&#x27;s not us&quot;