News for hackers. Stuff that matters.

mcronce

Re:The case against a C alternative (2022) on Friday August 21, 2026 @10:21AM (#49388564)
> Rust made the mistake of thinking it can be low level AND safe. It tried to have the cake and eat it too. That will be its downfall.

Ridiculous take

You think that an LLM provides "love"?
Re:FFmpeg has issued a DMCA takedown on GitHub on Sunday December 28, 2025 @12:16PM (#46412587)
FOSS has been a thing for decades longer than LLMs have even been a vague notion.
Re:Why Today's Python Developers Are Embracing Type Hints on Sunday September 28, 2025 @07:24PM (#45408956)
You know you can just use a compiled language with statically checked types, right?
I don't think that's a commonly touted benefit of Rust.

You certainly can build a statically linked binary with musl libc (in many circumstances, at least), but it's not the default.

The default is a binary that statically links all the Rust crates you pull in, but dynamically links glibc, the vdso, and several other common dependencies. It's also, IIRC, the default to dynamically link many other common dependencies like openssl if you pull them in, although I think it's common for the crates that wrap them to offer static linking as an option.

For sure. Context switching tasks is certainly a lot cheaper than context switching threads, but it isn't free.
Re:Publishers Have Said the Quiet Part Out Loud About Retro Games on Wednesday November 27, 2024 @05:53PM (#42260615)
The learning effort thing is a solid point. I think what I play most these days is Super Mario World romhacks. Obviously the level design and whatnot aren't the same as the original, but the controls and physics are and I learned those as a fairly young child in the 90s.

The reason I don't like most other platformers almost definitely isn't because they're actually inferior, it's just because I'm "calibrated" to SMW

...which changes the economics of sending the spam email. Surely some of them will be "valuable" enough to send even with the added cost; however, a measure doesn't need to be 100% effective to be useful.
Re:(Re)Using rustc components in gccrs on Tuesday October 08, 2024 @11:55PM (#41784382)
You're describing rustc_codegen_gcc
Re:OpenTelemetry Tracing in < 200 lines of code on Wednesday September 18, 2024 @09:39AM (#41579590)
It's been a bit since I've added it to an existing project, but at least as of a year or so ago, the Rust implementation (tracing + tracing-opentelemetry + opentelemetry-jaeger specifically for that project) was similar.

The impact on compile time and code size wasn't bad (for a project that was large and already pulling in a lot of crates), but it had a huge runtime cost - mostly allocator pressure in the form of temp allocations from what I could see. For a mostly I/O bound workload, it more than doubled CPU utilization and ballooned OS-measured memory consumption by >30%

Re:Why am I writing a Rust compiler in C? on Monday August 26, 2024 @08:36PM (#41363570)
It is interesting. A subset of functionally (in this case) will build a superset of programs
Re:Rust for Filesystems on Monday July 15, 2024 @10:16PM (#40973192)
It certainly didn't worsen my opinion of the Asahi Linux folks. On the contrary, I commend them for standing up for what they feel is right.

I also doubt they really care whether or not any particular HN reader has a positive or negative opinion of them.

Re:Rust for Filesystems on Monday July 15, 2024 @12:41PM (#40969387)
What? All you need to do is resubmit the request without a Referer header. For me, using Firefox, this meant clicking in the address bar, changing nothing, and hitting enter.

That's hardly "no ability to do anything about it".

Re:Rust for Filesystems on Monday July 15, 2024 @12:30PM (#40969290)
That's what bindgen is for, as was mentioned in the original comment you replied to.
Re:Garbage collect your technical debt (2021) on Sunday June 09, 2024 @08:35AM (#40624013)
This follows the "debt" analogy pretty well - it's effectively the interest you have to pay on your technical debt
I think I'd love to read a fantasy book based on this premise
Re:The Super Nintendo Cartridges on Monday April 22, 2024 @09:35AM (#40114211)
Even if the bus/protocol is limited to "only" disk I/O, you could still have the controller interpret reads/writes to certain addresses as requests for other actions, including interaction with other hardware on the card
I agree. I love the Steam Controller. It's not great for everything (e.g. Super Mario World kaizo romhacks have, IME, required a real D-pad instead of the trackpad) but it's really nice for a ton of games.
> No longer can you just throw something out there, no matter how stupid

Obviously this is not the context you're talking about, but I find this issue with brainstorming type sessions these days as well these days. Not just work sessions either, as another example, I'm on the advisory board for a local club, and the first meeting was really barren for quite a while.

It's gotten to the point that I always make sure to voice my philosophy early on - "not all ideas are good, but many good ideas start out as bad ideas and become good through conversation" - and proceed to throw a few incredibly stupid ideas to the group to break the ice. It seems to help.

Exactly this. I had COVID two years ago, the flu last year, and COVID again a couple months ago. Last year's flu was absolutely miserable; just as bad as COVID was the first time around.

I really don't want either one. Putting a piece of cloth on your face when you are/recently were sick really isn't much of a burden. I did.

Re:Remaking Super Mario World in Godot on Saturday March 02, 2024 @07:33AM (#39572139)
A Plumber for All Seasons is a top-tier standard romhack. Very cool to see the creator working on something even more ambitious.
Re:Detroit's abandoned tunnel systems open door to another world on Saturday February 10, 2024 @08:13PM (#39331837)
I did a few of those tours when I lived out there. They were very cool
Re:The Potent Pollution of Noise on Tuesday February 06, 2024 @11:05PM (#39284369)
That statistic isn't particularly relevant to people who don't drink and ride
Because I also want to run performant apps.
Re:Video: Doom Running on Gut Bacteria on Saturday February 03, 2024 @11:50AM (#39242096)
I agree. And it's not even like "we displayed Doom on X" would be uninteresting, it's just a significant difference from actually running it on X.
Re:From slow to SIMD: A Go optimization story on Tuesday January 23, 2024 @02:42PM (#39108629)
They still don't have a register-based calling convention on architectures other than x86-64, right? Or is that information out of date?
Re:The Case for Rust in the base system on Sunday January 21, 2024 @04:44PM (#39083393)
Not solving all security issues isn't the same as not solving security issues. I'd rather my financial data be handled by software written in something that solves many whole classes of vulnerabilities than something that solves none of them.
Re:Ceph: A Journey to 1 TiB/s on Friday January 19, 2024 @05:13PM (#39062020)
I run Ceph in my lab. It's pretty heavy on CPU, but it works well as long as you're willing to spring for fast networking (at least 10Gb, ideally 40+) and at least a few nodes with 6+ disks each if you're using spinners. You can probably get away with far fewer disks per node if you're going all-SSD.
I worked for a shop back in 2005-2006 that did some portion of their sales on eBay. eBay was constantly holding thousands of their dollars for, from what I recall, not any substantive reason.

The stalking referenced in OP is a bit of a surprise, but none of the stories in these comments are.

Re:First do it, then do it right, then do it better on Tuesday January 02, 2024 @05:20PM (#38847871)
I care enough to violate TOS by bridging (some of) them to my Matrix server and chatting through a Matrix client instead. But absolutely not enough to (A) write one, and (B) attempt to acquire market share.

Older »