frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Rust 1.100

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
29•mbStavola•1h ago

Comments

ComputerGuru•2h ago
It would probably be better to wait for the official release blog post for submission to HN, no?
qchris•1h ago
The official blog post release is now up at https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
NobodyNada•1h ago
Yeah, it's live now so the URL should be changed to: https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
nirinor•1h ago
Woohoo, that's a release! My personal favorites:

- Stabilize never type

- Stabilize custom allocators

- Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in Cargo.lock. (RFC 3923) docs #17335

- cargo-install: now uses the existing lockfile in the .crate tarball by default. --locked in cargo install becomes a no-op. #17388

karavelov•1h ago
Finally, "never" happened
jmyeet•1h ago
One might call this the moment when nothing never occurs [1].

[1]: https://www.youtube.com/watch?v=RFm9ClqlGuo

JoshTriplett•1h ago
And the running joke that the type is named after its stabilization date can finally be put to rest. :)
hbn•43m ago
We got "never" in Rust before GTA6

Two jokes that are expiring this month

pmichaud•1h ago
Nice work... but I still yearn for a stable ABI!
orlp•1h ago
We have it: unsafe extern "C" { }.

An actual stable native Rust ABI sounds like a forward compatibility nightmare.

Xirdus•1h ago
An actual stable native Rust ABI is a prerequisite for distributing libraries as anything other than source code.
redox99•1h ago
Why would you want libraries in any other format?
eviks•1h ago
Not to waste time and space?
wahern•1h ago
Another year or three of insane memory and disk prices and people will come around.

A stable Rust ABI would be nice for not just Rust, especially if they refine or extend (formally or de facto) the SysV ABI to optimize passing and returning of discriminants. That could then smooth the way for developing these features in C and C++, such as a primitive error-result type that saw some brief attention in both C and C++ WGs a couple of years ago. Doing it properly--absolute minimum cost, ABI stable, and cross-language--seemed to require too much orchestration across the ecosystem so enthusiasm and ambition seemed to peter out. The work required for a stable Rust ABI could provide the inertia to get that done.

fallingmeat•1h ago
wait other things not named jensen happened today? whoa
nazgulsenpai•1h ago
once outlook broke we can't even share jensen memes
lukax•1h ago
Awesome timing.

I just spent last few days fixing arena leaks (Bumpalo doesn't call drop) and had to use allocator-api2 for Vec::new_in which is now available in stable Rust.

https://github.com/bancek/rust-sass/pull/1

weinzierl•1h ago
"Awesome timing."

Wait for the timing of the next release. It will be a Christmas present.

steveklabnik•1h ago
A monumental release. Thanks to everyone who worked so hard on all of these long-term features that are finally landing.
hobofan•1h ago
Thanks to all the maintainers and contributors! That's one of the biggest releases in a long time!
fock•1h ago
also humans contributing! Very cool!
fluffiac•1h ago
yay never type!!

when can we expect `Result::into_ok` and `Result::into_err` to land? the blog post includes the `infallible_unwrap` demo which is the exact functionality these two functions implement. i wonder why they didn't release these at the same time as never?

NobodyNada•1h ago
Those were stabilized in https://github.com/rust-lang/rust/pull/161712, which just barely missed the cutoff date for 1.100 and is on the 1.101 release train.

(As for why they weren't stabilized at the same time: because it's not worth adding more baggage to a major, difficult stabilization process; as that would just be more surface area that has to be reviewed and another source of potential issues or delays. Instead, the stabilization process for infallible_unwrap was started immediately after `!` was stabilized. That process includes a 2-week final comment period for community feedback which is why they landed in different releases.)

n_u•1h ago
> Cargo now reports unused dependencies to users, e.g.

> warning: unused dependency `tracing-subscriber` --> Cargo.toml:23:1 | 23 | tracing-subscriber.workspace = true | ^^^^^^^^^^^^^^^^^^ | = note: `cargo::unused_dependencies` is set to `warn` by default help: consider removing the dependency on `tracing-subscriber`

Heck yes

minimaxir•30m ago
I updated to 1.100 during a Claude session and it complained about new warnings, so I told it to fix them. It removed a large number of unused dependencies without issue.
Surac•1h ago
Still non ABI. Why is ist so hard? what is holding them back. Andy why does it need a unsave keyword? can't they marshal types like other languages?
adamch•1h ago
because they change the binary layout sometimes, and the benefits have not yet been judged to be worth freezing it.
galangalalgol•2m ago
It is explained elsewhere, but a summary is that any language with generics is going to have any stable abi as a subset of the language. There is already a subset of the language that is a stable abi, it is the c abi. Expanding that subset has to be worth it in terms of what people actually want to export from a library. As I use generics fairly heavily I don't think I would use that expanded abi for anything.
ammar_az•1h ago
This release is so big that multiple useful stabilized API aren't event mentioned in the blog post like:

- bool::toggle() https://doc.rust-lang.org/stable/std/primitive.bool.html#met...

- Box::map() https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#m...

- str::trim_prefix(), str::trim_suffix, Path::trim_prefix()

afdbcreid•1h ago
They are mentioned in the blog post, under "Stabilized APIs".
ustad•1h ago
“Never type” - Feel like I’m stupid for not having a clue what that means.
pkulak•1h ago
A few other langs have it too. It's just something to return when no return is actually possible. And then it can propagate, so it makes some nice things possible that weren't before.
igravious•34m ago
Without looking up the Rust implementation I would hazard a guess that it is loose language to say "something to return when no return is actually possible" because if it is anything like the Bottom Type then there is no something that is being returned which is what this function signature indicates. Generally used for exception handling or intentional infinite loops (in both cases the function does not return from whence it came) … please correct me if I'm wrong here …
anamexis•1h ago
The explanation in OP seems pretty solid.

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/#never-ty...

LoganDark•43m ago
It's the type called "!", or the return value of diverging control flow, such as infinite loops, returns or function calls that panic or abort. It's an uninhabited type, meaning no values of it can actually exist, and that any code that would encounter such a value is unreachable.
KolmogorovComp•52m ago
I haven’t seen any blog on the topic but I fully believe in the age of coding agents and LLM backward compatibility is a bit less important than it has been in the past and should be relaxed in some cases to allow language to move faster.
raphlinus•18m ago
I get your point but disagree strongly. One topic that's been on my mind a lot is durability. The culture of LLMs is that everything is transitory. Why bother keeping a vibe coded codebase around for more than a few weeks, when the next big model iteration will be able to vibe code it better?

By contrast, free software in general, and Rust very much in particular, has cultural norms that things should last a while, rather than immediately being thrown away. I think that's worth preserving.

jadbox•45m ago
Is the compiler any faster now? Compiling takes forever. I'm also tired of always having to do "cargo clean" everyday to clear out 90gb of temp files.
vlovich123•39m ago
Any faster vs what baseline? They’ve constantly made improvements and Rust today is pretty darn quick, especially for incremental. There’s work to parallelize the front end which will help a little bit and you can always use the cranelift backend for debugging which is substantially faster than LLVM.

They’re also doing work to reduce the amount of disk space usage (by clearing out unused articacts) and make it easier to maintain.

steveklabnik•39m ago
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.

throwaway27448•32m ago
I don't understand why people complain about this non-stop. If compilation time is such an issue use a different language. I can't say I've been bottlenecked by compilation in a very long time.
epage•29m ago
Faster compile and smaller build-dir can be at odds with each other.

That said, this release includes some incremental improvements as well as the unused-dependency lint to help reduce wasted work within the ecosystem.

Some changes that have been or are about to be merged for upcoming releases

- We will be reducing the debug info generated for the `dev` profile which reduces build-dir size and speeds up builds. We've split off a `debug` profile for when that is needed.

- Cargo will be deleting the directory rustc writes before each invocation, avoiding the leaking of debug files when split-debug is enabled (default on Mac)

- rlibs for workspace members will no longer be copied from build-dir to target-dir which takes up extra space on systems without hardlinking or where we skip it (like Mac)

- redundant information in rlibs and rmeta's is going to be de-duplicated

Examples of further out changes

- This release includes the foundational work to add a build-dir GC

- Cross-workspace de-duplicating of build-dirs

- Cross-workspace build-dir cache

- Early cut off

SkiFire13•1h ago
It's not a strict prerequisite, you can just require the library being distributed to use extern "C".
gspr•1h ago
Well yes, but then your interface is a C ABI. That's fantastic if the side using my library is any language where C is the only common ground. When the application side is Rust though, it leaves a lot to be desired. It would be delicious to actually interface in a way that respects Rust!

Hell, even if all exposed functions and types would need to be fully monomorphized at the interface, it would be a lot nicer to pass a `&'a [i64]` rather than a `const * int64_t` together with a `size_t n` and have to marshall the slice on both sides.

Xirdus•20m ago
Or to put it another way, it is a strict prerequisite and Rust already meets it via extern "C".
afdbcreid•59m ago
Rust will almost certainly never have a stable ABI by default, and libraries will continue to be compiled from source by default. It might one day have an opt-in stable ABI.
fallingbananna•53m ago
If you can drop the "native" requirement, then Wasm is also a way.
ChadNauseam•50m ago
What is the advantage of doing so? Is it for cases where your source code is confidential but you want to sell access to your library?
Svoka•1h ago
Why the yearning for prebuilt Rust libraries? Seems like a nightmare which does not need to happen.
silon42•1h ago
So, all Linux will be Gentoo?
gspr•40m ago
Dynamic linking is useful. Not to everyone and not always, but it is.
iknowstuff•1h ago
Follow or contribute to efforts on a minimal crABI:

https://github.com/joshtriplett/rfcs/blob/crabi-v1/text/3470...

aitchnyu•1h ago
Couldnt Google. Is it pronounced crabby?
iknowstuff•1h ago
Sure is :)
stillpointlab•1h ago
stable ABI sounds great, but anything/everything that reduces build times is what I really want
JoshTriplett•55m ago
The primary challenge in having a stable ABI is that we have generics. So, even if we never changed the calling conventions, an ABI is not as simple as exporting a symbol with the right name. We implement generics by providing MIR (our main intermediate representation) that gets compiled by the linking program for each instantiation of a generic.

Swift handles this through the equivalent of Rust's `dyn`. We could have a stable ABI that's based entirely on `dyn`. Such an ABI would have some limitations, since there are traits `dyn` can't represent (anything that's generic over something other than the type that implements the trait, which is quite common), though we're working on some of those.

Essentially, you wouldn't be able to have a `Vec<T>` in your ABI without either pinning down T or using something like `Vec<Box<dyn Trait>>`. Which is possible, but kind of awful.

We're still planning to ship a stable ABI at some point, but that gives a flavor for some of the kinds of problems we'd need to solve in order for that stable ABI to be useful.

(C++ typically handles generics by having types defined in header files, and those get compiled with the program consuming the library, which is effectively the same situation Rust is in. You could export symbols from a shared library for specific instantiation of a template, but people rarely do that.)

danhor•8m ago
I don't think a stable ABI has enough advantages to be worth it. C++, IMHO, is a great examples of the downsides of a stable-enough ABI, where stability was never guaranteed, but is now so entrenched that it'll likely never be broken again (limiting the language & the usability in a bunch of ways).

It might make sense to have a subset Swift-style stable ABI, but that's a huge engineering effort, has lots of overhead and is also likely not worth it IMHO.

Xirdus•28m ago
Mathematically, types are sets of possible values.

Any type (like in TypeScript; Rust doesn't have one) is a set of every possible value; a supertype of all types. Every expression regardless of type can be assigned to a variable of type any.

The opposite is the never type, which is an empty set; no value is of type never. Per set theory, an empty set is a subset of every set, which makes the never type a subtype of all types. An expression of type never can be assigned to every variable regardless of type.

If never type has no values, then how can an expression have never type? Easy: it must never evaluate. Infinite loops, unconditional panics/exceptions, process exit/abort, etc. Also, generics - you can have Vec<!> that's always empty, Result<T,!> that can never be an error, etc.

boston_clone•4m ago
Comprehensive yet succinct, and appreciate you tying it to math - that helped solidify the idea.
NooneAtAll5•6m ago
noreturn, basically

Jensen Huang resigns

https://apnews.com/article/nvidia-megaspeed-china-singapore-huang-5403f152a601cf82ce939f1d24fffa0f
2233•lldb•6h ago•2218 comments

Gemini 4 Hydrogen and Orchestrator

https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/
96•jonbaer•1h ago•14 comments

Dwarf planet candidate appears which takes roughly 280 years to orbit our sun

https://www.smithsonianmag.com/smart-news/astronomers-found-a-mysterious-object-orbiting-far-beyo...
68•cybermango•1h ago•20 comments

Rust 1.100

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
30•mbStavola•1h ago•60 comments

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
122•simpsoka•3h ago•41 comments

Outlook is down, and so is Microsoft's status page

https://gvwire.com/2026/11/12/microsoft-outlook-down-for-thousands-of-users-downdetector-shows/
247•dkpk•2h ago•82 comments

Data centers need power – lower income, rural residents pay the price

https://news.cornell.edu/stories/2026/11/data-centers-need-power-lower-income-rural-residents-pay...
27•PaulHoule•39m ago•30 comments

Gemini 4 Hydrogen

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-hydr...
326•dvaplima•2h ago•224 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
201•klaussilveira•6h ago•69 comments

22-Year-Old PostgreSQL Bug Turned into Remote Code Execution

https://mehmetince.net/part-3-6-how-i-ended-up-turning-a-22-year-old-postgresql-type-confusion-pr...
43•ozirus•2h ago•2 comments

I'm making LLMs work on small and old devices

https://github.com/hyperionaidev/smolmaxxing/
180•mrashad74•5h ago•67 comments

Ask HN: Microsoft/Azure Outage?

281•nazgulsenpai•2h ago•145 comments

Talking Zen 6 with Mike Clark at AMD In-Depth

https://chipsandcheese.com/p/talking-zen-6-with-mike-clark-at
148•dverlaeckt80•6h ago•2 comments

Relax: JIT compiler for Rust to reduce build times

https://makepad.github.io/relax/
46•adamnemecek•23h ago•18 comments

Show HN: Kapso – Iterative learning from enterprise data

19•alireza_msh•2h ago•6 comments

Show HN: AgentRun – open-source, Self-improving Managed Agents

https://github.com/Parcha-ai/agentrun/blob/main/README.md
41•miguelrios•2h ago•3 comments

Former Nvidia CEO Huang had a relationship with a second employee, sources say

https://www.reuters.com/technology/former-nvidia-ceo-huang-had-relationship-with-second-employee-...
53•jbredeche•41m ago•39 comments

ExcalidrawZ: Local Native Excalidraw on macOS/iOS

https://github.com/chocoford/ExcalidrawZ
83•Qision•5h ago•21 comments

Words of warning about radiocarbon dating medieval human bones

https://www.nature.com/articles/s40494-026-02958-x
23•gumby•22h ago•3 comments

Why Writing Correct Software Is Hard

https://pron.github.io/posts/correctness-and-complexity
319•AriFordsham•10h ago•142 comments

Nintendo Takes Down Emulators and Firmware in Massive GitHub DMCA Sweep

https://www.ign.com/articles/nintendo-takes-down-switch-emulators-and-mod-chip-firmware-in-massiv...
191•CharlesW•4h ago•122 comments

AWS Lambda Web Functions keep billing memory ~7 minutes after the last request

https://www.easel.sh/blog/lambda-web-functions-idle-memory
53•seanw265•3h ago•23 comments

Libreagi – Save OSS Models

https://libreagi.com/
95•satuke•6h ago•21 comments

Our software engineering interviews are changing a little

https://blog.janestreet.com/software-engineering-interviews-are-changing-a-little/
124•maitland•6h ago•106 comments

Socratic Tutor

https://github.com/janestreet/agent_skills/blob/master/socratic-tutor/SKILL.md
611•tosh•2d ago•137 comments

Singapore Says U.S. Not Helpful on Investigation into Suspected Spy's Company

https://www.nytimes.com/2026/11/12/business/nvidia-megaspeed-alice-huang.html
80•tedd4u•2h ago•20 comments

Anthropic IPO

https://ipo.anthropic.com/us/
713•josephljohnston•8h ago•716 comments

A live tree of systemd jobs on the boot console

https://codeberg.org/wvhulle/bootvine
324•orhunp_•3d ago•123 comments

Fitting Four 32 GB Resizable Bars Behind a PCIe Switch on Linux

https://doug.sh/posts/gpu-bars-behind-a-pcie-switch/
63•dougcalobrisi•5h ago•23 comments

Paths in Pieces

https://stoppels.ch/2026/11/12/paths-in-pieces.html
20•acossta•3h ago•0 comments