<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: pcwalton</title><link>https://news.ycombinator.com/user?id=pcwalton</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 14 Apr 2026 11:07:37 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pcwalton" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pcwalton in "JIT: So you want to be faster than an interpreter on modern CPUs"]]></title><description><![CDATA[
<p>Sure, but the relevant comparison isn't between languages: it's between a state-of-the-art JIT implementation of one language and a likewise-state-of-the-art AOT implementation of the same language. Unfortunately there aren't many examples of this; most languages have a preferred implementation strategy that receives much more effort than the other one.</p>
]]></description><pubDate>Tue, 14 Oct 2025 18:27:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=45583199</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=45583199</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45583199</guid></item><item><title><![CDATA[New comment by pcwalton in "JIT: So you want to be faster than an interpreter on modern CPUs"]]></title><description><![CDATA[
<p>I believe HotSpot is usually faster than GCJ.</p>
]]></description><pubDate>Tue, 14 Oct 2025 18:25:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=45583178</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=45583178</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45583178</guid></item><item><title><![CDATA[New comment by pcwalton in "Perfecting anti-aliasing on signed distance functions"]]></title><description><![CDATA[
<p>Mathematically, what you want to do here is to calculate the area of the pixel square (or circle; however you want to approximate it) that the shape covers. In this case a linear ramp actually approximates the true value better than smoothstep does. (I had the derivation worked out at some point; I don't have it handy, unfortunately.) Of course, beauty is in the eye of the beholder, and aesthetically one might prefer smoothstep.<p>By the way, since the article mentions ellipse distance approximations, the fastest way to approximate distance to an ellipse is to use a trick I came up with based on a paper from 1994 [1]: <a href="https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334b445e67a1f945d106848/webrender/res/ellipse.glsl#L15-L38" rel="nofollow">https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334...</a> Unless it's changed recently, this is what Firefox uses for border radius.<p>[1]: <a href="http://mesh.brown.edu/taubin/pdfs/Taubin-tog94.pdf" rel="nofollow">http://mesh.brown.edu/taubin/pdfs/Taubin-tog94.pdf</a></p>
]]></description><pubDate>Mon, 04 Aug 2025 17:46:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=44789148</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44789148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44789148</guid></item><item><title><![CDATA[New comment by pcwalton in "Canyon.mid"]]></title><description><![CDATA[
<p>Your note taking app doesn't need AI, but it also doesn't need OLE, which represented an equally hot buzzword ("software componentry") of the 90s that Microsoft was trying to shoehorn into everything.<p>Every generation has its hype cycle; it's nothing new.</p>
]]></description><pubDate>Sun, 15 Jun 2025 19:25:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=44284402</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44284402</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44284402</guid></item><item><title><![CDATA[New comment by pcwalton in "Writing into Uninitialized Buffers in Rust"]]></title><description><![CDATA[
<p>jcranmer is correct and pointer provenance-related issues are not "boxed and contained". Start here: <a href="https://www.ralfj.de/blog/2020/12/14/provenance.html" rel="nofollow">https://www.ralfj.de/blog/2020/12/14/provenance.html</a></p>
]]></description><pubDate>Wed, 21 May 2025 22:53:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=44057069</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44057069</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44057069</guid></item><item><title><![CDATA[New comment by pcwalton in "Evolution of Rust Compiler Errors"]]></title><description><![CDATA[
<p>My recollection is that Brian Anderson, who came from the C# world, was an early advocate of the easily-googlable error codes that Microsoft compilers use a lot, and pushed to get them in. That was a good call. (In general Brian had a lot of behind-the-scenes positive influence on Rust: my favorite brson-ism is "if the code doesn't have a test it doesn't exist".)</p>
]]></description><pubDate>Fri, 16 May 2025 17:43:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=44008037</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44008037</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44008037</guid></item><item><title><![CDATA[New comment by pcwalton in "Evolution of Rust Compiler Errors"]]></title><description><![CDATA[
<p>When I was first developing early versions of rustc I was really fascinated with Clang's effort at good error messages, which was helping it gain traction vs. GCC at the time, and I tried to start the Rust compiler project off on the right foot. I'm really glad that the Rust compiler dev community has continued to value great error messages: they're the UX of a compiler, and are every bit as important as UX of any other app.</p>
]]></description><pubDate>Fri, 16 May 2025 17:40:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=44008019</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44008019</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44008019</guid></item><item><title><![CDATA[New comment by pcwalton in "Designing Cities for Families"]]></title><description><![CDATA[
<p>The modal urbanist who lives in the suburbs is usually just someone who wants to be able to have the lifestyle they want without a commute to work. Someone who works at Google in Mountain View but would prefer not to have to drive everywhere, for example. Or, in your example, someone who works at the Pentagon but doesn't want to have to commute from Maryland (or D.C.) in order to live in a walkable area.</p>
]]></description><pubDate>Fri, 16 May 2025 15:16:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=44006491</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=44006491</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44006491</guid></item><item><title><![CDATA[New comment by pcwalton in "Designing Cities for Families"]]></title><description><![CDATA[
<p>But urbanists do live in cities? San Francisco proper is, like, the origin of the YIMBY movement. Searching for "baltimore yimby" on Google brings up a lot of advocacy, like this: <a href="https://www.thebaltimorebanner.com/community/housing/baltimore-zoning-housing-yimby-54TYZN35CZACDN3SRQJBJ6L6RE/" rel="nofollow">https://www.thebaltimorebanner.com/community/housing/baltimo...</a></p>
]]></description><pubDate>Thu, 15 May 2025 16:52:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=43996898</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43996898</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43996898</guid></item><item><title><![CDATA[New comment by pcwalton in "RIP Usenix ATC"]]></title><description><![CDATA[
<p>Yes, all Rust papers anyone tried to submit were consistently rejected up until Rust became popular, at which point Rust became the hot new thing in applied programming language research. Academic PL is very insular (to its detriment, I'm convinced).</p>
]]></description><pubDate>Thu, 15 May 2025 05:19:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=43992078</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43992078</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43992078</guid></item><item><title><![CDATA[New comment by pcwalton in "How Riot Games is fighting the war against video game hackers"]]></title><description><![CDATA[
<p>You can raise the cost of cheating so that cheating kids will get annoyed and go cheat in some other game or scroll TikTok or whatever. We're not exactly dealing with nation-states here.</p>
]]></description><pubDate>Sun, 04 May 2025 19:39:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=43888962</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43888962</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43888962</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>Yeah, sorry, my mistake. GitHub did report on the SO survey [1], which probably led to my mixup.<p>Anyway, Rust was still the "most admired" language in 2024 [2].<p>[1]: <a href="https://github.blog/developer-skills/programming-languages-and-frameworks/why-rust-is-the-most-admired-language-among-developers/" rel="nofollow">https://github.blog/developer-skills/programming-languages-a...</a><p>[2]: <a href="https://survey.stackoverflow.co/2024/technology#admired-and-desired" rel="nofollow">https://survey.stackoverflow.co/2024/technology#admired-and-...</a></p>
]]></description><pubDate>Sat, 03 May 2025 04:00:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=43876774</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43876774</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43876774</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>Yes, you have correctly pointed out that there are some developers who are unhappy with Rust.<p>I don't really care to have an argument as to whether "Rust has peaked" or not. Rust is the same language now as it was in 2023, and 2022, and 2021, etc., and developers liked it then. That's all.</p>
]]></description><pubDate>Fri, 02 May 2025 19:51:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873974</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873974</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873974</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>I'm happy to revise what I said from "Rust keeps winning" to "Rust continually won" if you want to nitpick my choice of verb tenses. It refutes the idea that the "developer joy is pretty low" either way.</p>
]]></description><pubDate>Fri, 02 May 2025 19:29:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873794</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873794</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873794</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>Because "else" technically includes "comptime_float", so that case <i>is</i> handled, just not in the way that's expected.<p>One of the downsides of comptime over generics is that, because it's low-level and procedural instead of high-level and declarative, things like automatically inserting coercions become harder.</p>
]]></description><pubDate>Fri, 02 May 2025 19:20:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873719</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873719</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873719</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p><a href="https://github.blog/developer-skills/programming-languages-and-frameworks/why-rust-is-the-most-admired-language-among-developers/" rel="nofollow">https://github.blog/developer-skills/programming-languages-a...</a></p>
]]></description><pubDate>Fri, 02 May 2025 19:14:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873656</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873656</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873656</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>> Rust is still popular but it turns out the developer joy is pretty low.<p>I mean, Rust keeps winning the "most loved" language contest on GitHub, so it seems someone likes it.</p>
]]></description><pubDate>Fri, 02 May 2025 19:09:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873599</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873599</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873599</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>This is a good point. Zig is practically optimized for this: comptime is extremely dynamically typed compared to actual generics, and the lack of memory safety is often "a breath of fresh air"--until you have to actually fix bugs (including security bugs) resulting from it.</p>
]]></description><pubDate>Fri, 02 May 2025 19:07:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873587</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873587</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873587</guid></item><item><title><![CDATA[New comment by pcwalton in "Reflecting on a Year of Gamedev in Zig"]]></title><description><![CDATA[
<p>> It's not a great hobby language but it is a fantastic professional language,<p>I never thought I'd live to see the day when someone would say this. The first 5 years of Rust were all "this is interesting for hobby projects but nobody will ever adopt this in industry".</p>
]]></description><pubDate>Fri, 02 May 2025 19:06:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=43873563</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43873563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43873563</guid></item><item><title><![CDATA[New comment by pcwalton in "Office is too slow, so Microsoft is making it load at Windows startup"]]></title><description><![CDATA[
<p>If Microsoft had adopted this attitude, then by now Excel's market share would probably be 0% and Google Sheets' would be 100%. Microsoft doesn't add features because they like bloated software; they add features because the market demands them, and the market demanded support for more than 65,535 rows.</p>
]]></description><pubDate>Thu, 01 May 2025 21:30:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=43863583</link><dc:creator>pcwalton</dc:creator><comments>https://news.ycombinator.com/item?id=43863583</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43863583</guid></item></channel></rss>