• Sign in
  • Sign up
Elektrine
EN
  • EN English
  • 中 中文
Log in Register
Modes
Overview Search Chat Timeline Communities Gallery Lists Friends Email Vault DNS VPN
Back to Timeline
  • Open on hachyderm.io

Folkert de Vries

@folkertdev@hachyderm.io
mastodon 4.5.7
0 Followers
0 Following
Joined December 18, 2022

Posts

Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · 6d ago

The message on an invalid target feature now suggests the most similar valid target feature names, for when it's been a while and you can't quite remember the exact target feature name.

https://github.com/rust-lang/rust/pull/153966

You can often make improvements like this by pattern matching on the surrounding code, you should give it a go when there are errors you run into that could be more helpful.

#rustlang

View on hachyderm.io
15
0
7
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Mar 04, 2026

We're trying to change the f16 ABI on i386

https://inbox.sourceware.org/libc-alpha/DGTYN7HPA6L4.YU50VH5WZFYC@umich.edu/T/#u

Currently the ABI says to return _Float16 in a register that does not exist (on the baseline), forcing hacks on either compilers or users.

#rustlang #llvm #gcc

View on hachyderm.io
8
0
4
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 23, 2026

The cfg_select! macro is now stable, and will be part of rust 1.95.

https://github.com/rust-lang/rust/pull/149783

This is a builtin replacement for cfg_if, and is really effective at cleaning up complex configuration logic.

#rustlang

View on hachyderm.io
22
0
17
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 17, 2026

@artagnon@mathstodon.xyz that's unfortunate, our internal cleanups will have to wait for LLVM 23 then

View on hachyderm.io
0
0
0
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 17, 2026

@artagnon@mathstodon.xyz did lowering to the platform-specific instructions not make it into LLVM 22? On x86 the relevant PRs are from after the cutoff, but I thought that riscv at least made it in but can't get that to work

https://godbolt.org/z/Ercb7cMbE

View on hachyderm.io
0
0
0
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 17, 2026

Miri and const-eval can now execute c-variadic functions

https://github.com/rust-lang/rust/pull/150601

That's the last major technical hurdle for c-variadic functions. Time to stabilize this thing!

#rustlang

View on hachyderm.io
8
0
2
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 16, 2026

@harold@mastodon.gamedev.place we experimented with something like that, but the fallback is only really used during const evaluation and with the cranelift/gcc backends. So for now at least we picked the simple implementation in those cases, and trust that LLVM will normally provide something more efficient.

View on hachyderm.io
1
0
0
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Feb 16, 2026

Niche rust feature now on nightly: carryless multiplication

https://github.com/rust-lang/rust/pull/152132

This operation is useful in some cryptography and checksum algorithms, as well as e.g. simdjson.

#rustlang #llvm

View on hachyderm.io
3
0
0
0
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
Folkert de Vries
Folkert de Vries
@folkertdev@hachyderm.io
hachyderm.io
@folkertdev@hachyderm.io · Jan 30, 2026

I've implemented a `simd_splat` intrinsic, a function that puts the same value in each SIMD lane. LLVM wasn't handling the previous workaround (a manual shuffle) very well.

https://github.com/rust-lang/rust/pull/151346

the intrinsic is now used by stdarch and portable_simd:

- https://github.com/rust-lang/stdarch/pull/2003
- https://github.com/rust-lang/portable-simd/pull/501

This intrinsic fixes a bunch of long-standing optimization issues, and appears to have sped up compile times for some crates too.

#rustlang

View on hachyderm.io
8
0
4
0

Media

313k7r1n3

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • VPN Policy

Email Settings

IMAP: imap.elektrine.com:993

POP3: pop.elektrine.com:995

SMTP: smtp.elektrine.com:465

SSL/TLS required

Support

  • support@elektrine.com
  • Report Security Issue

Connect

Tor Hidden Service

khav7sdajxu6om3arvglevskg2vwuy7luyjcwfwg6xnkd7qtskr2vhad.onion
© 2026 Elektrine. All rights reserved. • Server: 20:39:42 UTC