frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Relm4 makes developing beautiful cross-platform applications idiomatic

https://relm4.org/
12•Bluestein•4d ago

Comments

WD-42•33m ago
I used plain gtk-rs for my last project and there is definitely some friction between rust and the gobject system. I think for my next project I will give relm4 a try. Apparently you can always drop back to gtk-rs if needed.
slacknatcher12•33m ago
Reading the documentation, I just notice lots of familiarity with my own solution using haskell and gi-gtk4. I think that anybody that read https://bichanna.github.io/posts/tea-time/ will get the same ideas. This basically boils down to:

1. Use a native widget system such as GTK (I evaluated Qt too)

2. Wrap widgets into a component datatype that is aware on how to update the widget when the props/model changes.

3. Define a dispatch closure that is passed to widget that accepts messages. Actions on the widgets should use this instead of mutating a reference.

4. That dispatch closure is component aware and it will call the update function on all the widgets.

There are some extra complications for long running computations but the model is a good base to build on. I wish the best to the relm team, most likely I will use them when programminmg in rust.

ThrowawayTestr•32m ago
Why no examples of how "beautiful" this library is?
pitched•28m ago
You have to head to the documentation to see an example. It is still Rust, which is a bit of an acquired taste so keeping that beauty off the main page makes sense.
pitched•31m ago
This is Gnome/GTK, not cross-platform like I would have expected. A Linux-first approach. I’m happy that this is the world we’re in now but expect it still to be royal pain to get a build running on Windows. Huge congrats to everyone involved if not!
comex•27m ago
> Built on GTK, Relm4 runs on bare metal with no additional runtime in between.

So, not native in the sense of using or even resembling the native UI toolkit.

thataccount•25m ago
I had to read the comments to figure out whether this was AI or not. I guess that's a sign of the times...

“I just chose words carefully”

https://unsung.aresluna.org/i-just-chose-words-carefully/
263•zdw•2h ago•70 comments

Creepy Crawlies

https://people.kernel.org/monsieuricon/creepy-crawlies
928•zdw•1d ago•430 comments

Haiku R1/beta6 has been released

https://www.haiku-os.org/news/2026-08-26_haiku_r1_beta6
256•metrofun•9h ago•76 comments

Cores in space: The core memory module from a 1980 Spacelab computer

https://www.righto.com/2026/08/spacelab-core-memory.html
75•pwg•5h ago•13 comments

Show HN: NFC Energy-Harvesting PCB Business Card with an MCU

https://wilsonharper.net/projects/businesscard/
100•WilsonHarper•2d ago•9 comments

Sort branches by last commit date

https://ryangreenberg.com/til/git-branches-by-commit-date/
87•speckx•5d ago•33 comments

Continuous Diffusion Language Models (CDLM's)

https://sander.ai/2026/08/24/continuous-dlms.html
56•peter_d_sherman•4h ago•17 comments

Relm4 makes developing beautiful cross-platform applications idiomatic

https://relm4.org/
12•Bluestein•4d ago•7 comments

Commercially Available Bike Generators Are Not Sustainable (2011)

https://solar.lowtechmagazine.com/2011/05/bike-powered-electricity-generators-are-not-sustainable/
26•baud147258•4d ago•18 comments

Why open source rocks – a new SM750 (Silicon Motion GPU) HDMI Driver

https://github.com/KodeMunkie/sm750hdmifb
67•SillyUsername•6h ago•33 comments

Coordination Headwind: How Organizations Are Like Slime Molds

https://komoroske.com/slime-mold/
127•rzk•9h ago•43 comments

Hacking IKEA Furniture

https://greenlightning.eu/diy/hacking-ikea-furniture/
267•greenlightning•14h ago•183 comments

Yen weakens past ¥160 per dollar, eroding intervention gains

https://www.japantimes.co.jp/business/2026/08/29/markets/yen-160-dollar-intervention/
33•rguiscard•1h ago•27 comments

Zig: Pointer Stability for ArrayLists

https://ziglang.org/devlog/2026/#2026-08-27
84•tosh•11h ago•58 comments

Startup Anti-Patterns

https://www.itamarnovick.com/intro-to-startup-anti-pattern-series/
78•rzk•9h ago•38 comments

Dad’s Custom Atari Peripherals

https://www.goto10retro.com/p/dads-custom-atari-peripherals
95•rbanffy•3d ago•12 comments

Arbitrary code execution in QubesOS via copy-to-VM error reporting backchannel

https://www.qubes-os.org/news/2026/08/29/qsb-118/
205•vntok•16h ago•84 comments

Electric rain can eat through metal

https://www.scientificamerican.com/article/electric-rain-can-eat-through-metal/
95•sohkamyung•3d ago•19 comments

Adding a directional cost bias to a TSP heuristic reveals better local optima

https://tsp.uncledroid.app
3•Abhijit8086•6d ago•1 comments

Longest Straight Line Paths on Water or Land on the Earth (2018)

https://arxiv.org/abs/1804.07389
192•joebig•17h ago•56 comments

How to build a diffusion language model

https://kuleshov-group.github.io/blog/blog/2026/how-to-build-a-diffusion-language-model/
4•volodia•2h ago•0 comments

Artie (YC S23) Is Hiring Technical AES

https://www.artie.com/careers?ashby_jid=e87b84d2-78b3-41a3-937a-47e83643cdf1
1•j-cheong•8h ago

Matrox: Graphics for Professionals

https://www.abortretry.fail/p/matrox
5•BirAdam•2h ago•0 comments

Quest for the Eternal Dock – Lambdock

https://jointhefreeworld.org/blog/articles/gnu-linux/quest-for-eternal-dock/index.html
14•signa11•1d ago•2 comments

European Commission Revives Push for Encryption Backdoors in ProtectEU Strategy

https://reclaimthenet.org/eu-protecteu-strategy-encryption-backdoor-law-enforcement
356•nickslaughter02•10h ago•148 comments

Omarchy: Any User Process Can Escalate to Root

https://0xcc.io/posts/omarchy-root-creds/
414•trap0xcc•9h ago•408 comments

Synchronisation and SMPTE timecode (time code)

https://www.philrees.co.uk/articles/timecode.htm
38•sublinear•2d ago•12 comments

How would you know whether an ancient culture had zero?

https://www.johndcook.com/blog/2026/08/21/ancient-number-system/
20•ibobev•3d ago•2 comments

Automating Immersive Reading

https://smoores.dev/post/automating_immersive_reading/
91•smoores•13h ago•38 comments

Europe's summer drought is so extreme that desertification is a growing threat

https://fortune.com/2026/08/29/europe-summer-drought-desertification-threat-rivers-fish/
261•Brajeshwar•11h ago•306 comments