682 karma · joined Sep 8, 2014 (12y ago) · 180 submissions
Concurrent Computing ←
Programming Language Design ←
WebAssembly and Rust ←
u(๑╹ᆺ╹)
comment 1mo ago · link · parent
This is one of two remaining features needed to make Async Functions in Traits (AFITs) practical. Dyn dispatch support being the other missing feature, though that isn't blocked by the new solver.
2.
Hyperlight 0.17.0(hyperlight.org ↗)
2 points · by yoshuaw · 3mo ago · discuss
3.
2 points · by yoshuaw · 3mo ago · discuss
comment 4mo ago · link · parent
comment 4mo ago · link · parent
https://nesbitt.io/2026/05/24/signing-is-for-the-bad-days.ht...
comment 4mo ago · link · parent
[1]: https://www.electrive.com/2026/06/26/catl-targets-up-to-2000...
comment 4mo ago · link · parent
> The Neralie clock has two groups of 3 digits, called the beat & the pulse. A beat contains 1000 pulses, and equivalent to 86.4 seconds. A day is 1000 beats, or a million pulses.
comment 5mo ago · link · parent
A price of 30 EUR makes this sensor really easy to pick up. For the same price as one Aranet (~180 EUR) the typical household can place a sensor in every room of the house. Which provides far more accurate readings for the whole house than just one high-end sensor in one room.
comment 5mo ago · link · parent
comment 5mo ago · link · parent
[1]: https://hacks.mozilla.org/2026/02/making-webassembly-a-first...
comment 5mo ago · link · parent
Declarative interfaces via the WIT format are so much more readable in comparison; I'm really happy that's the direction we took for the component model.
comment 5mo ago · link · parent
https://bytecodealliance.org/articles/WASI-0.3
The current link is just the release notes and covers only the interface-level changes. The announcement post goes into more detail on what's new in WASI 0.3, how it differs from WASI 0.2, and includes examples.
comment 5mo ago · link · parent
Perhaps some people are happy to keep the status quo where each call between Wasm and the browser needs to roundtrip through a JS glue layer. But personally I'm excited about a future where that is no longer needed.
comment 8mo ago · link · parent
For the first example the better option would be to use the `race` operation [2]. For the second it would be better to use `ConcurrentStream` [3]. Many (but not all) of the issues people have with cancellation in async Rust can be improved with the advice: "don't use select!".
[1]: https://blog.yoshuawuyts.com/futures-concurrency-3/#issues-w...
[2]: https://docs.rs/futures-concurrency/latest/futures_concurren...
[3]: https://docs.rs/futures-concurrency/latest/futures_concurren...
comment 9mo ago · link · parent
comment 10mo ago · link · parent
comment 10mo ago · link · parent
comment 10mo ago · link · parent
The way I remember the ordering is by thinking about the restrictions the various Fn traits provide from a caller's perspective:
1. FnOnce can only ever be called once and cannot be called concurrently. This is the most restrictive.
2. FnMut can be called multiple times but cannot be called concurrently. This is less restrictive than FnOnce.
3. Fn can be called multiple times and can even be called concurrently. This is the least restrictive.
So going from most to least restrictive gives you `FnMut: FnOnce` and `Fn: FnMut`.comment 10mo ago · link · parent
Right now they do require rather bulky lamps (Krypton Chloride), but last I checked there had been promising advancements in producing far-UVC LEDs [2]. Which should make installation and deployment of far-UVC both more practical and economical in the future.
[1]: https://en.wikipedia.org/wiki/Far-UVC
[2]: https://ece.engin.umich.edu/stories/ece-spinout-company-ns-n...
comment 11mo ago · link · parent
To point at one example: we recently added `std::mem::DropGuard` [1] to Rust nightly. This makes it easy to quickly create (and dismiss) destructors inline, without the need for any extra keywords or language support.
[1]: https://doc.rust-lang.org/nightly/std/mem/struct.DropGuard.h...
comment 1y ago · link · parent
> The BYD Dolphin EV sells for the equivalent of around $16,500 in China, while in Germany, with the same battery pack, it’s over $37,400, or more than double the price. The Seal costs around $30,300 in China, while a similar version currently on sale in Germany is over $48,000. Reuters found Dolphin prices outside China between 39% and 178% higher, while those for the Seal ranged between 30% and 130% higher.
Affordable EVs are here already, though access to them is not evenly distributed.
[1]: https://insideevs.com/news/718036/byd-major-ev-markup-prices...
comment 1y ago · link · parent
- Most days when cooking PM2.5 doesn't exceed 5ppm.
- I accidentally burned some vegetable oil this week, and PM2.5 shot up to around 70ppm.
- I fried up pancetta a little too hot a few months ago, rendering the fat entirely, and both PM2.5 and PM10 went up to >999ppm.
comment 1y ago · link · parent
Say if Bluesky (the company) bans someone, that person could still have the keys to their data, but their feeds will no longer be "re-broadcast" by that company's servers - right?