Better HN
topnewbestaskshowjobs
Log inSign up

steveklabnik

98,990 karma · joined Mar 1, 2009 (17y ago) · 20,729 submissions

http://steveklabnik.com

Chief Product Officer @ https://ersc.io/

Submissions

comment 8h ago · link · parent

Maybe, but it’s not standardized, which is what is being asked for in this context.

comment 23h ago · link · parent

The folks trying to work on packaging burned out, so I suspect you’ll get your wish.

comment 3d ago · link · parent

FALC was the original formulation, the "gay" and "space" got added once the book broke out to the wider internet.

comment 3d ago · link · parent

Rust has never claimed to prevent memory leaks.

comment 4d ago · link · parent

I think the single commit case makes it even less of a need to name the branch, since the description is very much naming exactly what piece of work it is already.

comment 4d ago · link · parent

Sure, I agree with all of this. I just think jj supports doing all of this even easier than git does.

comment 4d ago · link · parent

You see the description of changes in your log, and so that's often good enough as a name. No need to give it a second one. Here's an example from a project of mine:

    │ ○  lrvwrmqv steve@steveklabnik.com 2026-09-07 22:13:12 977b1ab7
    │ │  harden running image identity fixtures
    │ ○  vqmsmkup steve@steveklabnik.com 2026-09-07 22:13:12 bcd98591
    ├─╯  add running compiler image identity
    ◆  mxvotmyz steve@steveklabnik.com 2026-09-07 21:53:55 trunk e37a132e
    │  satisfy the byte recovery Clippy gate
It's nicer with color. Anyway, this is an anonymous branch, with two changes on it. "add running compiler image identity" and "harden running image identity fixtures" let me know what that branch is about, without needing to add an extra name onto the branch itself.

comment 4d ago · link · parent

The op log is really nice, separate from the staging stuff. Very easy to audit exactly what happened, and roll back if something is weird.

Claude is also very good at fixing merge conflicts as well.

comment 4d ago · link · parent

It's fewer steps, because it is not an additional concept, just the same concept as the others. Better factored.

comment 4d ago · link · parent

jj makes it easier to craft good commits than git does. This is specifically because the index is just another commit. You cannot apply your slice and dice tools to the index in git, but you can with jj, since the index is a commit like any other.

comment 4d ago · link · parent

Same as the index, the stash is also just a commit. It's not that it's impossible to do any of this in git, it's that it's more orthogonal in jj. Commits, the stash, and the index are three features in git, but a single feature in jj. This also means you can bring all of the tools to use on your psudeo-index and psuedo-stash that you use to work with commits.

comment 4d ago · link · parent

You don’t need to a skill. You do have to ask it to use it.

comment 1w ago · link · parent

Thanks for helping maintain Chrono. Burnout is the worst, I hope you're feeling better these days.

comment 1w ago · link · parent

Comments that go below one karma are made an increasingly light shade of grey.

comment 1w ago · link · parent

I’ve got one I haven’t made public yet as well…

comment 1w ago · link · parent

I know that's a meme but this actually is a really huge release.

comment 1w ago · link · parent

I am speaking about Rust specifically, yes.

comment 1w ago · link · parent

Any is not a top type and ! is not a bottom type, actually. They are sort of similar from a lay perspective if you squint, though.

comment 1w ago · link · parent

Compiler speed is continually being worked on https://nnethercote.github.io/2026/11/04/how-to-speed-up-the...

And the large target directories is also being worked on as well.

comment 1w ago · link · parent

A monumental release. Thanks to everyone who worked so hard on all of these long-term features that are finally landing.

21.

Memory management in 40 major C projects, a survey(theconsensus.dev ↗)

3 points · by steveklabnik · 2w ago · discuss

comment 2w ago · link · parent

> Why is this so critical that we can't say we're going to put it in another next version of the standard?

This feature was first proposed in 2004. In 2018, they were added to the draft of the standard, and then removed in 2019. So that already has been happening, for over a decade.

Part of the reason this is coming to a head is that it's already been a long time. Another reason is that some see contracts as fitting into the safety story for C++. Part of it is because, well, standards are done by the people that show up, and the people who show up care about this.

> I'm disagreeing that this is so critical it needs to abort the whole process.

It's a byproduct of how the process works. There are a series of votes, and they're not done by the same people. Some people voted yes to put them in, and then the vote after involved people voting no, they don't think they're good enough to put in. It is not so much that "this is so critical that it needs to abort the whole process," so much as it is "the final vote is the time when those people get to express their support or dissent." One of the proposals in the paper is that they could remove this feature, and then the rest would likely move forward. It will only hold up the entire thing if the people who are pro this feature landing decide that it's worth holding everything else up for.

comment 2w ago · link · parent

Those are evaluated at compile time, C++’s aren’t guaranteed to be, they’re runtime checks.

comment 3w ago · link · parent

Yeah, I'm not saying C does, just that Rust's features aren't limited to "helping you with heap memory." Rust is also more than lifetimes.

comment 3w ago · link · parent

https://en.wikipedia.org/wiki/Zero_interest-rate_policy

comment 3w ago · link · parent

Rust doesn't have heap allocation in the language at all. It still has useful features regardless.

comment 4w ago · link · parent

> Rust has no reason to touch the original Unix API.

As a systems language, Rust must provide access to the APIs of the underlying system, and on UNIX, that’s, well, UNIX.

comment 1mo ago · link · parent

I was born in Butler!

comment 1mo ago · link · parent

Okay, yes, I agree that that’s how it works. I thought when you said MUST you meant that it doesn’t work; it does work it’s just that it burns a turn or two to do the lookup there. I certainly agree it would be nice to not do so.

(And I didn’t know the double args thing, that’s very interesting! I should have said I only meant the first bit.)

12345
691