frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Benefits of Fullstack Rust

https://github.com/ibaryshnikov/fullstack-rust-iced
1•rekireki•2h ago

Comments

rekireki•2h ago
Let's discuss the benefits of writing fullstack Rust, as well as crossplatform development for Desktop and web targets. What are pros and cons of this approach? I've been using Rust in the browser since early days and noticed a number of interesting points.

Shared code and data structures: one of the key benefits for me personally is that you don't need to document you api with tools like swagger. Define the shared data structures in a module, import it on the client and server sides, and you are good to go. In addition, thanks to serde it's easy to switch between different serialization formats. Want to switch from JSON to MessagePack? Define encode/decode function in the shared module and use them from both client and server. Now changing the format takes a few lines of code.

One language: you can switch between writing client and server without a lot of effort. Of course, WebAssembly adds technical overhead. But I would argue that it's less than using two different languages. Still, there's a need to write platform dependent code at times, and it requires the familiarity with the target platform.

One package manager: when you use a language it's not only about the syntax, but also the ecosystem. And crates.io provides solutions for many common problems already. It saves a lot of time if you have only one package ecosystem to explore. As far as it has the packages you need, of course.

A bit more about WebAssembly: it was created when people wanted to build desktop applications for the browser. And now it's just a nice and convenient benefit when you make a desktop app, but you have an option to build it for the web too.

Binary size: the example application has .wasm file of 4.4Mb when compiled in release mode and optimized with wasm-opt from binaryen.

Font loading: when you use canvas to render your app in the browser, there's a need to load the fonts and it can easily add another 10Mb to the downloading data depeding on the fonts used.

In the end, I'd like to thank all the people who are working on the tools and ecosystem. It's possible only because of your hard work!

What do you think about fullstack and crossplatform development in Rust?

Soft robots harvest ambient heat for self-sustained motion

https://techxplore.com/news/2025-11-soft-robots-harvest-ambient-sustained.html
1•PaulHoule•1m ago•0 comments

Tips for making the Chrome Performance Panel less overwhelming

https://calendar.perfplanet.com/2025/tips-for-making-the-performance-panel-less-overwhelming/
1•zdw•3m ago•0 comments

I built a neon-style weekly planner for iOS because I hate clutter

https://apps.apple.com/ie/app/weeklii/id6756281596
1•qaengineerfp•4m ago•1 comments

Show HN: Handoff – Claude Code plugin to let any AI continue where you left off

https://github.com/willseltzer/claude-handoff
1•pgspaintbrush•5m ago•0 comments

The Rainforests Being Cleared to Build Your R.V

https://www.nytimes.com/2025/08/19/world/asia/indonesia-borneo-deforestation-rv.html
1•JumpCrisscross•5m ago•0 comments

Software engineers should be a little bit cynical

https://www.seangoedecke.com/a-little-bit-cynical/
3•zdw•5m ago•0 comments

What Helps Kafka Scale

https://shbhmrzd.github.io/2025/11/21/what-helps-kafka-scale.html
1•01-_-•6m ago•0 comments

Pop icon Kate Bush's £10.8M windfall from Stranger Things hit song

https://www.dailymail.co.uk/tvshowbiz/article-15416747/TALK-TOWN-Running-bank-pop-icon-Kate-Bushs...
2•canucker2016•7m ago•0 comments

Determining Current Arm Cortex-M Security State with GDB

https://danielmangum.com/posts/arm-cortex-m-security-state-gdb/
1•hasheddan•9m ago•0 comments

Fake AI videos of snowy Amsterdam leave tourists disappointed, anger tour guides

https://nltimes.nl/2025/12/23/fake-ai-videos-snowy-amsterdam-leave-tourists-disappointed-anger-to...
1•belter•11m ago•0 comments

AI's trillion-dollar opportunity: Context graphs

https://twitter.com/JayaGup10/status/2003525933534179480
1•asasidh•12m ago•1 comments

Why 451 Is Good for You – Greylisting Perspectives from the Early Noughties

https://bsdly.blogspot.com/2025/12/why-451-is-good-for-you-greylisting.html
1•zdw•13m ago•0 comments

Memelang: Terse SQL uses "axial grammar" for LLM generation

https://arxiv.org/abs/2512.17967
1•bri-holt•13m ago•0 comments

The Prison of Financial Mediocrity

https://twitter.com/systematicls/status/2004900241745883205
1•zuhayeer•18m ago•0 comments

Show HN: FOSS multi Claude-code operator

https://www.youtube.com/watch?v=qs4DuCO0T-Y
1•harlequinetcie•18m ago•0 comments

Aircraft sometimes rhyme with previous design

https://www.gravityloss.com/2025/12/how-aircraft-sometimes-rhyme-with-previous-design/
1•Gravityloss•20m ago•0 comments

Apex Programming Language – Fancy syntax, easy and fast

https://github.com/TheRemyyy/apex-compiler
1•TheRemyyy•20m ago•2 comments

Ask HN: What are you building as a side-project or side-hustle in 2026?

1•bayeslaw•21m ago•0 comments

React Server Components exploit in RscExplorer (CVE-2025-55182)

https://rscexplorer.dev/?s=cve
1•howToTestFE•22m ago•0 comments

A Police Drone Might Be Behind Your Next Ticket

https://www.wsj.com/us-news/law/a-police-drone-might-be-behind-your-next-ticket-c25ddf62
1•JumpCrisscross•22m ago•0 comments

Many countries is marked with starting in 2025 – Risk of delays?

https://starlink.com/map
1•punnerud•24m ago•0 comments

Open and remotely accessible Neuroplatform for research in wetware computing

https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2024.1376042/full
1•QueensGambit•26m ago•0 comments

First steps toward advanced screening and biological computing

https://www.cell.com/neuron/fulltext/S0896-6273(22)01033-9
1•QueensGambit•27m ago•0 comments

Medical Breakthroughs in 2025

https://www.scientificdiscovery.dev/p/medical-breakthroughs-in-2025
1•neves•28m ago•1 comments

Show HN: Chatddit.com text conversations created for the people of the Internet

https://chatddit.com
1•gitprolinux•29m ago•0 comments

We Built a Social Feed for AI Creators

https://medium.com/budgetpixel-ai/we-built-a-social-feed-for-ai-creators-and-its-live-9ff5db7caea3
1•ironking•29m ago•0 comments

Why most podcasts make almost no money even when people listen

https://medium.com/@erezt.dev/why-most-people-misunderstand-how-podcasters-actually-get-paid-3291...
1•erezT•30m ago•1 comments

Show HN: I built an AI fashion photographer to help small e-commerce businesses

https://www.vestiai.com.br/en
1•fabriciosx•31m ago•0 comments

MongoBleed Explained Simply

https://bigdata.2minutestreaming.com/p/mongobleed-explained-simply
3•todsacerdoti•32m ago•0 comments

Fluster: Floppy disk cluster filesystem in Rust

https://github.com/DocJade/fluster_rs
1•etc-localtime•32m ago•0 comments