<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: burjui</title><link>https://news.ycombinator.com/user?id=burjui</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 06 Apr 2026 13:31:09 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=burjui" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by burjui in "$20K Bounty Offered for Optimizing Rust Code in Rav1d AV1 Decoder"]]></title><description><![CDATA[
<p>> rav1d is transpiled c-to-rust version of dav1d<p>Sounds like a bad way to port. Completely different languages. It took me some time to learn that one cannot simply write C code in Rust and expect the result to be any good. Should've started from scratch.</p>
]]></description><pubDate>Mon, 19 May 2025 08:09:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=44027525</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=44027525</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44027525</guid></item><item><title><![CDATA[New comment by burjui in "$20K Bounty Offered for Optimizing Rust Code in Rav1d AV1 Decoder"]]></title><description><![CDATA[
<p>It's more likely they will end up shotgunning sloppy AI PRs.</p>
]]></description><pubDate>Mon, 19 May 2025 07:44:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=44027410</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=44027410</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44027410</guid></item><item><title><![CDATA[New comment by burjui in "Rust inadequate for text compression codecs?"]]></title><description><![CDATA[
<p>... in the way of writing code with undefined behaviour. "You don't tell me how to live! Maybe I want to shoot myself in the foot sometimes! I already shot myself in the head, and it was awesome, instantly made me an old fart that refuses to learn. Ignorance is bliss!"</p>
]]></description><pubDate>Thu, 13 Mar 2025 23:15:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=43358189</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=43358189</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43358189</guid></item><item><title><![CDATA[New comment by burjui in "Ways to generate SSA"]]></title><description><![CDATA[
<p>I've used the 2013 algorithm, it's fast, simple enough and easy to implement in Rust.</p>
]]></description><pubDate>Fri, 21 Feb 2025 07:32:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=43125029</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=43125029</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43125029</guid></item><item><title><![CDATA[New comment by burjui in "F8 – an 8 bit architecture designed for C and memory efficiency [video]"]]></title><description><![CDATA[
<p>I wonder what's the point. 8 bits is not enough to store most values for most applications, it's bad for timers and multiplication, it's just a big waste of CPU cycles in general. The more work CPU has to do, the less time it spends sleeping, which is bad for battery-powered embedded devices. Perhaps, it has its place somewhere, but realistically, an 8-bit CPU these days is very niche at best. Imho, it's not going to take off in mainstream embedded.</p>
]]></description><pubDate>Thu, 20 Feb 2025 14:35:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=43115148</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=43115148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43115148</guid></item><item><title><![CDATA[New comment by burjui in "Build It Yourself"]]></title><description><![CDATA[
<p>One day I needed to parse and generate RISC-V instructions. I wrote a custom bitfield implementation, nothing fancy: no derive macros or any crap like that, only u32 bitfields specified by an array — [(RangeInclusive<u32> /<i>src</i>/, usize /<i>length</i>/, RangeInclusive<u32> /<i>dst</i>/]. One function + a bunch of tests. It worked great. Then I tried the `bitfield` crate, which claims to be as fast as code I would've written by hand. It had dependencies and was two orders of magnitude slower. Basically, it was as fast as code that I would've written by hand in Python.</p>
]]></description><pubDate>Mon, 27 Jan 2025 18:05:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=42843889</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=42843889</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42843889</guid></item><item><title><![CDATA[New comment by burjui in "Mathematicians discover new way for spheres to 'kiss'"]]></title><description><![CDATA[
<p>At least, we can assume that after a few weeks, he became not quite that depressed.</p>
]]></description><pubDate>Mon, 20 Jan 2025 07:54:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=42766067</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=42766067</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42766067</guid></item><item><title><![CDATA[New comment by burjui in "Curl removes experimental HTTP back end in Rust"]]></title><description><![CDATA[
<p>Why it's always the borrow checker that bugs the haters? You don't even see it work most of the time, because instead of using references everywhere, like most C++ers are conditioned to do, not only you can move values (doesn't necessarily mean actually performing memory operations), but also the compiler checks that you don't use the variable from which the value has been moved. And even if you do use references everywhere, they don't usually cause any problems, unless you decide to put more than one reference in a often used struct. I often use both shared (RO) and exclusive (RW) references as function arguments and rarely have to specify lifetimes manually, because automatic lifetime elision done by the compiler is sufficient in most cases.</p>
]]></description><pubDate>Sun, 29 Dec 2024 20:32:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=42542813</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=42542813</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42542813</guid></item><item><title><![CDATA[New comment by burjui in "Curl removes experimental HTTP back end in Rust"]]></title><description><![CDATA[
<p>Exactly the same experience : my toy compiler project has 10477 lines of Rust code, and there is only one line with unsafe:<p><pre><code>  let is_tty = unsafe { libc::isatty(libc::STDERR_FILENO) } != 0; 
</code></pre>
Here's the source, just in case: <a href="https://github.com/burjui/rambo/">https://github.com/burjui/rambo/</a><p>In fact, there are exactly two "unsafe" blocks in all of my Rust projects, and the second one is not even needed anymore because of the language and ecosystem improvements, but the project is basically abandoned, so I'm probably not gonna fix it. There's just no need for unsafe in the vast majority of code.<p>I don't know where Rust critics get their statistics; probably from picking their noses, judging by their arguments. Most don't seem to even have read the official docs, the bare minimum required to form any conclusions at all about the language. I guess they don't read much Rust code and think there is no way we can write even semi-decently performing high-level code without resorting to unsafe hacks or calling C, because that's the way it's done in other languages.</p>
]]></description><pubDate>Sun, 29 Dec 2024 20:18:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=42542692</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=42542692</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42542692</guid></item><item><title><![CDATA[New comment by burjui in "Curl removes experimental HTTP back end in Rust"]]></title><description><![CDATA[
<p>It's literally THE unsafe part of the code. It's the only part of code that can invoke UB.<p><pre><code>  fn do_something() {
      unsafe { ... }
  }

  // Somewhere in the program
  do_something();
</code></pre>
Doesn't matter where "do_something" is used and how much. The only possibly problematic part of this code is the unsafe block. You only audit it.</p>
]]></description><pubDate>Sun, 29 Dec 2024 19:52:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=42542479</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=42542479</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42542479</guid></item><item><title><![CDATA[New comment by burjui in "Memory safety without lifetime parameters"]]></title><description><![CDATA[
<p>Even plain C++ is very hard to read, it's one of the reasons I ditched it. Cannot even imagine writing code in this version. C++ is overcomplicated already, imho it's best to leave it to die naturally instead of prolonging the suffering of millions that use it.</p>
]]></description><pubDate>Tue, 29 Oct 2024 16:36:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=41986183</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=41986183</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41986183</guid></item><item><title><![CDATA[New comment by burjui in "Can you get root with only a cigarette lighter?"]]></title><description><![CDATA[
<p>Apply the flame to the sysadmin's hand and get root access. I mean, it's a cool demo, but if you can solder crap to the hardware, might as well do anything that physical access provides normally. Like, you can just install the payload without the exploit.</p>
]]></description><pubDate>Tue, 15 Oct 2024 05:49:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=41845317</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=41845317</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41845317</guid></item><item><title><![CDATA[New comment by burjui in "Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc."]]></title><description><![CDATA[
<p>C++ & autotools. No, thanks.</p>
]]></description><pubDate>Wed, 18 Sep 2024 02:59:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=41575325</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=41575325</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41575325</guid></item><item><title><![CDATA[New comment by burjui in "Boeing CEO admits company has retaliated against whistleblowers"]]></title><description><![CDATA[
<p>I would like that veey much, but they likely will not go to prison, just pay off the damages, as usual. Capitalism works that way.</p>
]]></description><pubDate>Thu, 20 Jun 2024 16:07:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=40740281</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40740281</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40740281</guid></item><item><title><![CDATA[New comment by burjui in "Circle C++ with memory safety"]]></title><description><![CDATA[
<p>> I think Ada not being very popular shows that the need for a memory safe non-garbage collected language is kind of overstated.<p>It only shows that Ada is very old and verbose.</p>
]]></description><pubDate>Tue, 04 Jun 2024 07:36:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=40571686</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40571686</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40571686</guid></item><item><title><![CDATA[New comment by burjui in "Rust is not about memory safety"]]></title><description><![CDATA[
<p>It's not impossible. But if one says "Rust is bad", they better elaborate, unless their goal was to post a meaningless comment.</p>
]]></description><pubDate>Mon, 03 Jun 2024 18:24:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=40565692</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40565692</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40565692</guid></item><item><title><![CDATA[New comment by burjui in "Rust is not about memory safety"]]></title><description><![CDATA[
<p>It doesn't. Most people complaining about "ugliness" of Rust are either too lazy to read documentation (which is great btw), or just don't like the syntax, because it doesn't resemble their favorite language[s]. Some have valid criticism, but they usually lay it out straight, sometimes in the form of a blog post, instead of vague "Rust is bad" statements.</p>
]]></description><pubDate>Mon, 03 Jun 2024 15:02:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=40563298</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40563298</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40563298</guid></item><item><title><![CDATA[New comment by burjui in "How to parse config files with Bash"]]></title><description><![CDATA[
<p>How about writing relatively complex things not in Bash? If your shell script requires configuration, it shouldn't be a shell script.</p>
]]></description><pubDate>Fri, 31 May 2024 07:49:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=40532464</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40532464</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40532464</guid></item><item><title><![CDATA[New comment by burjui in "You probably don't need to validate UTF-8 strings"]]></title><description><![CDATA[
<p>That's why paths in Rust don't have to be UTF-8. See Path and OsStr documentation.</p>
]]></description><pubDate>Fri, 17 May 2024 18:22:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=40392788</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40392788</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40392788</guid></item><item><title><![CDATA[New comment by burjui in "Computer scientists invent an efficient new way to count"]]></title><description><![CDATA[
<p>The algorithm uses less memory, but more CPU time because of rather frequent deletions, so it's a tradeoff, not just generally better algorithm, as article may suggest.</p>
]]></description><pubDate>Fri, 17 May 2024 18:08:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=40392639</link><dc:creator>burjui</dc:creator><comments>https://news.ycombinator.com/item?id=40392639</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40392639</guid></item></channel></rss>