back
user profile
raphlinus
13,685karma·1,846submissions·March 7, 2014
about
I do research on fundamental UI technology and 2D graphics, with a focus on Rust and fonts.
@raph@mastodon.online
recent activity (1,846 total)
comment
I just broke 10k a few weeks ago, so I guess I'm famous now. AMA!
comment
After jerk come snap, crackle, and pop. These are rarely used in practice, but I believe snap (the 4th derivative) correlates with noise in high speed trains, so it's worth optimizing railroad tr…
comment
It might be a different mechanism, like brain-derived neurotrophic factor[1]. [1]: https://www.science.org/content/blog-post/how-antidepressant... …
comment
Yes definitely, but my situation is unusual. I use my blog primarily to publish research results. A typical post is halfway between a typical blog post and a peer-reviewed paper in an academic journal…
comment
'infogulch has it right. A damage region is a way of saying "this region of pixels hasn't changed," but you can also say that for a scene graph, attributes of widgets, layout, the …
comment
That's fair. The main reason Tauri isn't higher on my radar is that if you're going to make an app based on the web technology stack, why not just use Electron? The tooling is mature, t…
comment
Thanks! I might add that explicitly, but meant it to be included under "keyboard shortcuts according to platform human interface guidelines".
comment
From a computation perspective, UI is fundamentally an incremental computation engine. Most elements are not changing from frame to frame, so you can either recompute and re-render, or be smarter abou…
comment
I'll have a lot more to say about this as I gather quantitative performance data. But it's a good question. I expect the big wins are: fast 2D (vector with blends and so on) rendering with…
comment
I don't follow slint as closely as maybe I should. I'm definitely happy there's a real product out there, and would be happy to work with them on common infrastructure, but we haven…
comment
I think the answer is yes. See rui in particular (linked by its author in another comment), which inspired my Xilem exploration.
comment
I could probably have written this in a clearer way. Child windows like a proto-compositor in a way, just with more limitations. You can put video/3D/etc content in a child window, but the…
comment
“If you want to build a ship, don’t drum up the men to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea.” — Antoine de Saint-Exupéry I will one …
comment
I'm not a fan of distance fields for GUI text rendering. Their main advantage in games is super-easy integration into the rendering pipeline (they're basically just a texture and a simple sh…
comment
Yeah, it does seem to come up a lot more often than discussions about U+5350.
comment
UWP is most definitely not HWND per control, and doing so would be incredibly limiting. I don't know the UWP (WinUI) internals, but on mac it's generally a CALayer per widget, and Core Anima…
comment
It used to be they didn't render high-dpi text correctly, but fixes went in for that. Even so, it's a hack and often not pixel perfect. If you're trying to do visually sophisticated thi…
comment
A serious question: what are native controls on Windows? Is the Windows XP era where each control is its own HWND (and usually drawn with GDI+)? Is it Windows 7 era where the drawing is Direct2D? Wind…
comment
Not GP, but the following come to mind: Jai, Zig, Odin, and Hare, all of which aspire in one way or other to be a modernized take on C. There is also a larger class of languages I call "safe-ish&…
comment
Thank you for posting such a beautiful example of a false claim about your language. The front page of vlang.io has prominently featured under "Safety" the line "No undefined behavior&q…
comment
Hey, I went through another one of the examples, the lack of SFINAE, here's how I tested: I used the same methodology as the linked blog post. I'm getting the same compiler error as the blog…
comment
It's legit, here you go: https://news.ycombinator.com/item?id=19086589 I'll also add, my personal reading of the quote has more than a note of "this sounds too good to …
comment
The claims made in that blog post are easily verifiable. Your claim that all issues have been fixed was hard to believe, so I checked myself. The first two have indeed been fixed (these involve printi…
comment
Thanks for the explanation. I would consider that type of logic error more or less impossible to defend at the language level, but I can see how analysis tools can be helpful.
comment
I am skeptical until I see the details, and strongly suspect you are dealing with a "safe-ish" language rather than one which has Rust-level guarantees. Uninitialized memory reads are undefi…
comment
Here are the first few sections: https://gist.github.com/raphlinus/f6b34f85d63c4b73a0242481ed... I'll keep going if there's positive feedback, delete it if the author d…
comment
I might be willing to give this a shot. I appreciated the charm and humor in the original, but especially for readers who don't have English as a first language it probably gets in the way of the…
comment
If you're not able to remember, it seems like you're suffering from some form of amnesia. You know who wrote about amnesia in this context? Murray Gell-Mann, that's who!
comment
I think the operative trope is more Sturgeon's Law than Gell-Mann Amnesia. I had a period where I was reading obsessively about Covid, including reading papers and listing to TWiV (which is very …