Better HN
topnewbestaskshowjobs
Log inSign up

dochtman

8,692 karma · joined Aug 2, 2010 (16y ago) · 841 submissions

Professional Rust maintainer.

https://dirkjan.ochtman.nl/ https://github.com/djc https://xavamedia.nl/

[ my public key: https://keybase.io/djc; my proof: https://keybase.io/djc/sigs/8IkleSSBN9hhCZWqkfDndLYhEEfanUDBVDQdS_hqH9U ]

Submissions

comment 2w ago · link · parent

Unfortunately it's not entirely clear if rustls can compete in the embedded space where Mbed TLS is most popular?

As a rustls maintainer, we'd love to get feedback about this and/or work with organizations that want to sponsor getting rustls to the point that it could!

comment 1mo ago · link · parent

More on upki:

https://discourse.ubuntu.com/t/an-update-on-upki/77063

My interest in building OneCRL support into upki has definitely increased this week. Issue:

https://github.com/rustls/upki/issues/229

I'm hoping some organizations will step forward to fund work on this.

(Note that curl on Ubuntu 26.10 now has CRLite support baked via upki -- unfortunately that doesn't help with this because AIUI CRLite is only for end entities, not for intermediate certificates.)

comment 1mo ago · link · parent

Running Go? Upgrade to 1.27.3 or 1.26.10.

Rust with rustls? Upgrade to rustls-webpki 0.103.16 and/or webpki-roots/webpki-root-certs 1.0.10.

Python? Upgrade certifi to 2026.10.19.

Homebrew ca-certificates? 2026-09-25_1.

Electron? 44.9.1, 43.8.1, or 42.11.16.

comment 3mo ago · link · parent

Wild is a decent bit faster than mold at this point:

https://github.com/wild-linker/wild

(Benchmarks in the README.)

comment 3mo ago · link · parent

Pretty obviously LLM-generated.

6.

Show HN: OxiSH, a modern, memory-safe SSH server(dirkjan.ochtman.nl ↗)

28 points · by dochtman · 3mo ago · 3 comments

comment 3mo ago · link · parent

I don’t think it’s completely unfair to say that the Neo is based on a chip that was first announced in Sep 2024 while the Intel chip is from Apr 2026.

Also, I think the battery life most people are practically interested in is more like running (close to) idle and less like the number of Watts spent when running maxed out, and I wouldn’t be surprised if Arm chips still win on that metric…

comment 5mo ago · link · parent

> I wonder if someone could create a GitHub account using my name and claim ownership of them...

AIUI the crates are actually linked to the account via a different identifier, not directly to the username.

comment 5mo ago · link · parent

GitButler now employs/has hired the gitoxide maintainer, I think? So no doubt they’re aware.

I guess they found that gitoxide isn’t good enough and/or to expensive to extend/improve for their use cases?

10.

The Rule of Three and Four(bcg.com ↗)

1 points · by dochtman · 6mo ago · discuss

comment 6mo ago · link · parent

A lot of Let’s Encrypt is not the software but a bunch of auditing and process that ensure compliance and make it legible to the required auditors.

12.

Weekend at Bernie's – assessing critical open source repos(nesbitt.io ↗)

4 points · by dochtman · 6mo ago · discuss

13.

GitHub Actions is the weakest link(nesbitt.io ↗)

252 points · by dochtman · 7mo ago · 93 comments

14.

Bringing Rust to the Pixel Baseband(security.googleblog.com ↗)

2 points · by dochtman · 7mo ago · discuss

comment 9mo ago · link · parent

That's the policy, but we've been a bit more conservative in practice. `main` currently targets 1.88, but that's only because a security issue in the time crate has forced our hand (one reason I don't like the time crate all that much). Before that, it was 1.83 (from November 2024). Our last release targets 1.71 (from July 2023).

comment 9mo ago · link · parent

I'd bet a supermajority of Swift commits comes from Apple developers. Pretty sure the rust-lang/rust commit authors would be much less centralized.

comment 9mo ago · link · parent

See also:

https://github.com/1jehuang/mermaid-rs-renderer

Just submitted a HN thread about it:

https://news.ycombinator.com/edit?id=46807750

18.

mmdr: 500-1000x faster Mermaid rendering, zero browser dependencies(github.com ↗)

3 points · by dochtman · 9mo ago · discuss

comment 10mo ago · link · parent

I think the way Rust checks borrows also makes it a lot more feasible to avoid allocations/copies; not because it is impossible to do in C, but because doing it in C requires writing very careful documentation and the caller to actually read that documentation. In (safe) Rust this is all checked by the compiler such that libraries can leverage it without blowing their complexity budget.

comment 10mo ago · link · parent

There’s also a compounding effect: I’ve heard from a hardware vendor that they spend a lot of time optimizing OpenSSL to get the most out of their silicon, so for their customers they suggest using OpenSSL to get the most out of the hardware.

21.

The state of the kernel Rust experiment(lwn.net ↗)

119 points · by dochtman · 11mo ago · 130 comments

comment 1y ago · link · parent

How is the HiDPI situation, and font rendering? Last time I tried it on my M1 Max with Asahi it still looked substantially worse.

comment 1y ago · link · parent

I'm pretty sure private PKIs are an option that is pretty straightforward to use.

Security is still a lot better because the root is communicated out of band.

comment 1y ago · link · parent

When I asked about financial support, the Senior Principal Software Engineer from Mozilla I talked to said "Mozilla has no money".

To be fair, we've gotten a great amount of code contributions from the Mozilla folks, so it's not like they haven't contributed anything.

(I am one of the Quinn maintainers.)

comment 1y ago · link · parent

I would argue that regexes are often more complex than simple parsers.

comment 1y ago · link · parent

(2021)

comment 1y ago · link · parent

CRLite is awesome, and it deserves more usage; notably most non-browser clients on Linux machines don’t get any revocation handling at all.

comment 1y ago · link · parent

Tauri seems interesting. It combines a Rust core with the platform-native browser engine for presentation. Of course a potential downside is rendering incompatibilities between engines/platforms.

comment 1y ago · link · parent

No, they don’t.

Selling support contracts is actually hard.

GPL/AGPL preclude widespread adoption (these days) — the grandparent explicitly mentioned “permissive” licenses.

comment 1y ago · link · parent

IIRC derive and attribute macros via declarative macro definitions are coming soon, which probably obviates this?

https://github.com/rust-lang/rust/issues/143549

12345
29