<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: ogoffart</title><link>https://news.ycombinator.com/user?id=ogoffart</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 29 Nov 2026 09:18:08 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ogoffart" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ogoffart in "Declare is a UI language for you and your AI"]]></title><description><![CDATA[
<p>It lives on in Slint. The syntax is inspired to QML, but statically typed and compiled to native code (no JS engine, no browser). Can be used from different programming languages. <a href="https://github.com/slint-ui/slint" rel="nofollow">https://github.com/slint-ui/slint</a></p>
]]></description><pubDate>Tue, 24 Nov 2026 17:07:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=50631154</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50631154</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50631154</guid></item><item><title><![CDATA[New comment by ogoffart in "GPUI is getting its own repository"]]></title><description><![CDATA[
<p>Ugly is a matter of taste. But I agree Rust isn't the best language to describe UI: it makes you focus on ownership and lifetimes and explicit memory allocation, instead of the layout. That's in Slint, we uses a DSL for the UI description and keeps the logic in Rust. I blogged about the subject here: <a href="https://slint.dev/blog/domain-specific-language-vs-imperative-for-ui" rel="nofollow">https://slint.dev/blog/domain-specific-language-vs-imperativ...</a></p>
]]></description><pubDate>Tue, 24 Nov 2026 07:02:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=50624674</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50624674</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50624674</guid></item><item><title><![CDATA[New comment by ogoffart in "C++26 is done (again): ISO C++ meeting trip report"]]></title><description><![CDATA[
<p>What's considered harmful is unstructured programming.<p>Historically, goto was used where we would now use function calls, or braced if/else statements. (early programming language didn't even have these constructs)<p>The famous "Go To Statement Considered Harmful" paper from Dijkstra was published before C was created. The "goto" from C and C++ is mostly fine.</p>
]]></description><pubDate>Tue, 24 Nov 2026 06:45:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=50624576</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50624576</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50624576</guid></item><item><title><![CDATA[New comment by ogoffart in "C++26 is done (again): ISO C++ meeting trip report"]]></title><description><![CDATA[
<p>I have seen them, but it was mostly using leading 0 to align numbers, not realizing it was octal.</p>
]]></description><pubDate>Tue, 24 Nov 2026 06:37:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=50624534</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50624534</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50624534</guid></item><item><title><![CDATA[New comment by ogoffart in "C++26 is done (again): ISO C++ meeting trip report"]]></title><description><![CDATA[
<p>I read the quote as "I have old code filled with bugs and UB. Using references don't magically solve the bugs"</p>
]]></description><pubDate>Tue, 24 Nov 2026 06:35:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=50624521</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50624521</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50624521</guid></item><item><title><![CDATA[New comment by ogoffart in "GPUI is getting its own repository"]]></title><description><![CDATA[
<p><a href="https://accesskit.dev/#:~:text=The%20following%20Rust%20projects%20already%20integrate%20AccessKit" rel="nofollow">https://accesskit.dev/#:~:text=The%20following%20Rust%20proj...</a></p>
]]></description><pubDate>Tue, 24 Nov 2026 06:06:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=50624349</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50624349</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50624349</guid></item><item><title><![CDATA[New comment by ogoffart in "GPUI is getting its own repository"]]></title><description><![CDATA[
<p>Slint is free of charge for commercial desktop projects.
Slint is under multiple licenses. The GPL makes it open source, the royalty free license makes it free of charge on desktop and mobile, only proprietary embedded projects need a commercial license.</p>
]]></description><pubDate>Tue, 24 Nov 2026 05:01:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=50623937</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50623937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50623937</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>I was curious, so I asked Claude to make a benchmark with this prompt: "I'd like you to make an hello world in Slint (skia GPU and software renderer), EGUI, electron, QML, QWidget, and measure the RAM usage."<p>Results on Linux, PSS  400×200 window:<p><pre><code>    Slint, software renderer: 13.5 MiB
    Qt 6.12 Widgets: 33.6 MiB
    Qt 6.12 QML, software scenegraph: 48.1 MiB
    Slint, Skia Vulkan: 75.7 MiB
    egui (wgpu, Vulkan): 98.3 MiB
    Qt 6.12 QML (OpenGL, default): 125.0 MiB
    Electron 45: 260 MiB
</code></pre>
(The GPU rows ran on Mesa's software drivers)
I think QML intrinsically takes more memory: it has a JS engine, and every item is a dynamic object. In Slint, almost everything is resolved at compile time and compiled.<p>So I wouldn't call Slint resource hungry</p>
]]></description><pubDate>Sun, 22 Nov 2026 11:32:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=50598660</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50598660</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50598660</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>Slint can do that. You can render with wgpu or OpenGL into a texture and show it as an Image. There are examples for wgpu, OpenGL and Bevy in the repository.</p>
]]></description><pubDate>Sun, 22 Nov 2026 10:11:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=50598080</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50598080</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50598080</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>Thanks for the comparison! Keep in mind that there are fixed memory costs for font caches and GPU/driver resources that don't scale with application size. So a Hello World app might not be the most representative benchmark.<p>If RAM is an issue, Slint's software renderer uses considerably less memory.<p>(and even 70 MB is not particularly resource-hungry compared to other UI frameworks, especially browser-based ones.)<p>the spike when resizing is interesting and worth investigating</p>
]]></description><pubDate>Sun, 22 Nov 2026 09:51:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=50597912</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50597912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50597912</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>I'd like to consider Slint as mature. It hasn't broken its API since 1.0 in 2023, it's used in production, and it has accessibility, live-preview tooling
(I work at Slint.)</p>
]]></description><pubDate>Sun, 22 Nov 2026 08:09:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=50597346</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50597346</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50597346</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>Small correction: Slint is free for proprietary desktop, mobile and web apps under our Royalty-free license, regardless of company size.</p>
]]></description><pubDate>Sun, 22 Nov 2026 08:04:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=50597320</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50597320</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50597320</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>Could you elaborate on what you mean by resource hungry? What kind of application and hardware are you using, and what resource usage are you seeing?<p>I'd genuinely like to understand your experience. It might be a bug or something we can improve. (I work at Slint)<p>For context, Slint is designed to be lightweight. Especially compared to shipping an entire browser runtime, which appear to be considered normal by many.</p>
]]></description><pubDate>Sun, 22 Nov 2026 07:46:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=50597220</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50597220</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50597220</guid></item><item><title><![CDATA[New comment by ogoffart in "Advice for the next 100 Rust GUIs"]]></title><description><![CDATA[
<p>I'm working at Slint.<p>First, Slint is fully open source and totally free for desktop and mobile development. The article mostly focuses on that, so the pricing argument is simply not applicable in this context.<p>You're right about certification being a differentiator. We're currently in the process of obtaining ISO 26262 ASIL B certification, and pursuing other certifications relevant to industries such as automotive and medical.<p>Our customers don't necessarily want "free". They want a serious technology they can build products on, rely on and maintain for decades. They want a partner who takes responsibility and stands behind the technology.<p>For products with 10–20 year lifecycles, that's worth a lot more than a free library. And I believe that's where Slint's moat lies.</p>
]]></description><pubDate>Sun, 22 Nov 2026 07:39:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=50597192</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50597192</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50597192</guid></item><item><title><![CDATA[New comment by ogoffart in "CUI – Native UI components for C"]]></title><description><![CDATA[
<p>The tree structure is what matters, not XML. Qt itself moved to QML for new UIs: a dedicated language that’s nicer to write</p>
]]></description><pubDate>Tue, 10 Nov 2026 12:37:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=50439468</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50439468</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50439468</guid></item><item><title><![CDATA[New comment by ogoffart in "Exact – a new cross platform UI framework"]]></title><description><![CDATA[
<p>Slint might fit: it runs on desktop and mobile, and it’s lightweight enough to run on microcontrollers. You write the UI in a small declarative language, and the logic in Rust, C++, JS, TS or Python, depending on your preference. (I work on it.)</p>
]]></description><pubDate>Tue, 10 Nov 2026 12:34:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=50439440</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50439440</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50439440</guid></item><item><title><![CDATA[New comment by ogoffart in "Exact – a new cross platform UI framework"]]></title><description><![CDATA[
<p>Not really. Slint also has a royalty-free license, so you can make proprietary applications for free. So it’s GPL for open-source apps (including if your own code is MIT/Apache as they are compatible), and royalty-free for proprietary apps. Is that not enough?</p>
]]></description><pubDate>Tue, 10 Nov 2026 09:49:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=50438070</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50438070</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50438070</guid></item><item><title><![CDATA[New comment by ogoffart in "Exact – a new cross platform UI framework"]]></title><description><![CDATA[
<p>The design here is very similar to Slint (<a href="https://github.com/slint-ui/slint" rel="nofollow">https://github.com/slint-ui/slint</a>), which I work on: both are implemented in Rust, with a declarative UI DSL and its own compiler, logic in a host language (Rust, C++, JS or Python for Slint), pure reactive expressions, and tooling that lets agents inspect and drive the app.<p>One difference is that Slint is more mature: it's been 1.x with a stable API since 2023</p>
]]></description><pubDate>Tue, 10 Nov 2026 05:48:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=50436561</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50436561</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50436561</guid></item><item><title><![CDATA[New comment by ogoffart in "Discord is ditching Electron and its new app uses less RAM"]]></title><description><![CDATA[
<p>But Slint is open source and you can for it if we were to change the license, and the royalty free license is free of charge.<p>Even MIT/Apache software can change license and start charging, as we've seen in the past with some project.</p>
]]></description><pubDate>Sun, 08 Nov 2026 21:14:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=50417321</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50417321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50417321</guid></item><item><title><![CDATA[New comment by ogoffart in "Discord is ditching Electron and its new app uses less RAM"]]></title><description><![CDATA[
<p>The royalty free license is free of charge, no need to pay</p>
]]></description><pubDate>Sun, 08 Nov 2026 21:12:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=50417308</link><dc:creator>ogoffart</dc:creator><comments>https://news.ycombinator.com/item?id=50417308</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50417308</guid></item></channel></rss>