#RustLang

2025-12-14

I've been hacking on a #cli tool to control some smart bulbs using #rustlang and #helix, mostly to get more acquainted with both, and it's fun :)

A week ago I would have used #vscodium.

codeberg.org/asmw/mablurs

Jan :rust: :ferris:janriemer@floss.social
2025-12-14

PSA: Please don't do this in #Rust:

if let (Ok(foo), Ok(bar)) = (expensive_op(), expensive_op()) {
println!("{foo} {bar}")
}

It can be very inefficient, causing people to wait on your software wasting their time (I've just seen this in a fairly popular open source project with 3k stars)!

For a better, more maintainable and efficient version, see second toot or have a look at the playground for the full examples:

play.rust-lang.org/?version=st

1/2

#RustLang #SoftwareEngineering

Valentin B. :ferris:beeb@hachyderm.io
2025-12-14
2025-12-14

ual v0.7.3 released

ual is a systems language for orchestration and embedded computation. It comes in two forms: a compiler targeting native binaries, and an interpreter for development. Both share the same runtime and produce identical results. This release marks the completion of runtime unification β€” the interpreter now has full parity with the compiler, including true goroutine-based concurrency, using Go as IR and bootstrapping tool.

github.com/ha1tch/ual

What makes ual different

ual is built on a specific philosophical foundation: that coordination is the primary problem of programming and that types and computation are subordinate within coordinated contexts. Data lives in typed stacks accessed through perspectives (LIFO, FIFO, Indexed, Hash). Time is explicit β€” blocking waits, timeouts are native. Errors must be acknowledged before proceeding.

Binaries available for:
Linux (amd64, arm64, arm, 386), macOS (Intel, Apple Silicon), Windows (64-bit, 32-bit), FreeBSD, OpenBSD, NetBSD

Release:
github.com/ha1tch/ual/releases

Docs
github.com/ha1tch/ual/blob/mai

#ual #golang #foss #rust #rustlang #forth #programming #compsci

Hugo Tunius :rust:k0nserv@infosec.exchange
2025-12-14
Sminez :ferris:sminez@hachyderm.io
2025-12-14

OK, so I've been playing around with cargo-fuzz for the first time this weekend, and I just need to double check something.

It's called "fuzzing" because of the sound your fans make when you run this thing, right?

/s

#rust #rustlang

Thorsten Leemhuis (acct. 1/4)kernellogger@hachyderm.io
2025-12-14

#Linux 6.19-rc1 is out:

lore.kernel.org/lkml/CAHk-=wgi

""So it's Sunday afternoon in the part of the world where I am now, […]

[…] on the #Rust front, we are now starting to see several actual drivers starting to take form. The "mainly preparation and infrastructure" phase is starting to become "actual driver and subsystems development".

That said, despite a few unusual patterns, the big picture really looks pretty normal […]

Linus""

#Kernel #LinuxKernel #Rustlang

Jan :rust: :ferris:janriemer@floss.social
2025-12-13

hotpath.rs

hotpath.rs/

Simple #Rust #profiler with memory and #async data-flow insights - quickly find and #debug #performance bottlenecks.

Repo:

github.com/pawurb/hotpath-rs

#RustLang #Profiling #TUI

Valentin B. :ferris:beeb@hachyderm.io
2025-12-13
2025-12-13

@vavakado Sophia, one of the people who resigned over it, put it in no uncertain terms that racism is one of the reasons: sophiajt.com/why-i-left-rust/

The summary by Amos is very centrist, but it provides a good overview into all the statements made (you can notice how toothless they are, but at least they are corporately apologetic): fasterthanli.me/articles/the-r

Then, dtolnay wrote his own perspective, 3 months after the fact, in which he gave a non-apology and suggested that ThePhdDev wanted to do the talk much later and was "pressured" into doing it early. This is utter bullshit, ThePhdDev had regular nervousness and was encouraged many times, he wanted to give that talk.

ThePhdDev rightfully exploded on Fedi for this fucker, being one of the most vocal enemies of that talk, saying this gross lie and half-assing a non-apology. You'll have to forgive me; I don't have a link to it handy. I hope it should still be available.

#Rust #RustLang #dtolnay

2025-12-13

Today, I once again wake up worrying about #Rust 's future.

Why is a shitbag such as #dtolnay still allowed to single-handedly maintain fundamental libraries for the ecosystem? Why is he part of Library API team? How is he not permabanned for single-handedly permanently damaging Rust by killing off comptime reflection over his racism? How is he not permabanned for the power play he attempted to pull with his "RFC" after pushing pre-compiled binary to serde without notice? Why are MIC companies routinely tolerated at Rust conventions? Why does no one talk about it, despite the problems not being solved? Has #Ruby takeover taught people nothing? Will Rust survive another year without turning into #fashtech?

So many questions. I think about them every time I use Rust, which is often.

Apropos of nothing.

#RustLang #serde #FOSS #OSS #OpenSource

2025-12-13
Aaron W. SwensonTitanOfOld
2025-12-13

This is a handy guide for this Perl guy:

Compound Types - From to
oylenshpeegul.gitlab.io/from-p

Ivan Enderlin πŸ¦€hywan@floss.social
2025-12-13

The state of the kernel Rust experiment, lwn.net/SubscriberLink/1050174.

> Android 16 systems running the 6.12 kernel are shipping with the Rust-written `ashmem` module. So there are millions of real devices running kernels with Rust code now.

> Ojeda […]: can the "experimental" status be ended? Torvalds said that, after nearly five years, the time had come.

#RustLang #kernel #linux

Rust Bytesrustaceans
2025-12-13

Listen to Glauber Costa (CEO of Turso) talk about building Turso - the in-process SQL database written in Rust and compatible with SQLite.


youtube.com/watch?v=1JHOY0zqNBY

Calisti πŸ³οΈβ€πŸŒˆπŸ¦‡ β€” πŸ“ž26980calisti@chaos.social
2025-12-13

Our #39c3 #RustLang absolute beginners workshop is planned for Day 2, 11:30-14:30:

events.ccc.de/congress/2025/hu

Please like and subscribe!

(For real, though: Marking the workshop with a β™₯️ in the 39C3 Hub helps gauge the amount of interest.)

2025-12-13

Seven hours of chatting with llms can save you 5 minutes of reading documentation.

#rustlang #llm #python #typescript #kubernetes #vibecoding

Guillaume Gomezimperio@toot.cat
2025-12-13

If you have a malformed attribute in your code, rustc will provide suggestions... but way too many sometimes. So now, if there are more than 3, we just discard all of them (original error is already very nice too).

Done in github.com/rust-lang/rust/pull.

#rust #rustlang

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst