Top all-time · #4229
cmyr.net
Personal blog · cmyr.net/blogprogrammingdesign
cmyr.net is a personal blog at cmyr.net about programming and design. Since 2017, 18 different Hacker News readers have linked it 24 times, most often “So you want to write a GUI framework”. The last post was in 2021, but the archive is still widely read.
Too few sampled comments (6) to say how often HN recommends it.?
Why HN links it
HN readers link these posts as overviews of building GUI toolkits, covering the ingredients, infrastructure and hard parts of GUI frameworks, mostly in the context of Rust.
Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Passionate about IT
Most-linked posts?
- So you want to write a GUI framework5 people · 5 mentions · first linked 2021-08-09
- Type-checked keypaths in Rust3 people · 3 mentions · first linked 2021-06-26
- Writing Pythonic Rust2 people · 2 mentions · first linked 2021-05-22
- The Hyperbezier Pen Tool2 people · 2 mentions · first linked 2022-12-30
- Type-Checked Keypaths in Rust2 people · 2 mentions · first linked 2021-06-23
- So you want to write a GUI framework (2021)2 people · 2 mentions · first linked 2022-03-21
- Rust GUI Infrastructure2 people · 2 mentions · first linked 2021-08-13
What Hacker News says?
Not a direct answer but a good read/overview. https://www.cmyr.net/blog/rust-gui-infra.html and the precursor https://www.cmyr.net/blog/gui-framework-ingredients.html
Comment linking /blog/gui-framework-ingredients.html
on “Iced: A cross-platform GUI library for Rust, inspired by Elm”Submitted So you want to write a GUI framework as a story · 263 points
HN discussionhttp://www.cmyr.net/blog/gui-framework-ingredients.html has a bunch of what you'll need to know about building a GUI from scratch, especially if you're interested in any of the "hard parts" rather than making a toy. It's Rust rather than C++ but many of the principles are similar. Other than that, I do recommend the immediate mode GUI approach if you're writing everything yourself, as it's the lowest overall system…
Comment linking /blog/gui-framework-ingredients.html
on “Ask HN: I'd like to practice coding GUI from scratch. Any recommendations?”Submitted Writing Pythonic Rust as a story · 218 points
HN discussionDo you happen to know if Relm addresses accessibility at all, or has plans to do so in the future? Every time I see a Rust GUI post, that's my first question: https://www.cmyr.net/blog/rust-gui-infra.html#accessibility
Comment linking /blog/rust-gui-infra.html
on “A declarative desktop UI framework for Rust built on GTK and GTK-rs”Submitted The Hyperbezier Pen Tool as a story · 120 points
HN discussionThe goals look quite similar to my hyperbezier explorations. There's an online demo of the first draft[1], and a Zulip thread on some progress toward a second draft[2]. The tl;dr is that I think I have the mathematics of the curve family, but I haven't finished the mapping between control points and the parameters of the curve family. Both drafts have (exact) Euler spirals inside their parameter space, and thus circ…
Comment linking /blog/hyperbezier.html
on “Show HN: New Bézier curves for vector graphics”Submitted Type-checked keypaths in Rust as a story · 81 points
HN discussionDidn't know about Skia previously! Thank you for the excellent suggestion! So, let's provide some links: Overview: https://en.wikipedia.org/wiki/Skia_Graphics_Engine Homepage: https://skia.org/ Source: https://skia.googlesource.com/skia/ (or) https://github.com/google/skia Also -- there's this old HN post: https://news.ycombinator.com/item?id=28143972 where the following github projects which involve drawing are men…
Comment linking /blog/gui-framework-ingredients.html
on “Cairo – Open-Source 2D Graphics Layer/API with font support and many back-ends”Submitted So you want to write a GUI framework (2021) as a story · 12 points
HN discussionThis is a strange take for me- people are CONSTANTLY trying to find new, better ways to do UI. Elm, React, DearIMGUI, Flutter, and Xilem are some of the more well-known fairly recent libraries. See https://raphlinus.github.io/rust/gui/2022/07/15/next-dozen-g... for an overview of UI libs in Rust. See https://www.cmyr.net/blog/gui-framework-ingredients.html for a great overview of some of the challenges making a GUI…
Comment linking /blog/gui-framework-ingredients.html
on “Flutter Desktop Isn't There Yet”Submitted So you want to write a GUI framework as a story · 9 points
HN discussionSubmitted Rust GUI Infrastructure as a story · 3 points
HN discussionSubmitted Type-checked keypaths in Rust. (2021) as a story · 2 points
HN discussionSubmitted So you want to write a GUI framework as a story · 2 points
HN discussionSubmitted Rust GUI Infrastructure as a story · 2 points
HN discussionSubmitted Type-Checked Keypaths in Rust as a story · 2 points
HN discussionSubmitted Type-Checked Keypaths in Rust as a story · 2 points
HN discussionSubmitted Assembled Poems (2014) as a story · 2 points
HN discussionSubmitted The Hyperbezier Pen Tool as a story · 1 points
HN discussionSubmitted Type-Checked Keypaths in Rust as a story · 1 points
HN discussionSubmitted Writing Pythonic Rust as a story · 1 points
HN discussionSubmitted Dynamic Widget Sketches as a story · 1 points
HN discussion