eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

215
active users

#rustlang

28 posts26 participants0 posts today

I'm now officially a maintainer of rust's stdarch. My first larger PR brings our CI time down from 40m to 13m, by being more clever about how we compile the C++ code that we test our intrinsics against:

github.com/rust-lang/stdarch/p

Turns out over 3000 invocations of clang on a CI machine are not fast...

There is lots more to improve, but now we can do it with a substantially faster feedback cycle.

There are 3 main changes

emit the arguments (the arrays of inputs) inside of the test function, and rename the test function from main to run_{intrinsic_name}.
generate number-of-cores files, and ...
GitHub`intrinsic-test`: combine C files for faster compilation by folkertdev · Pull Request #1862 · rust-lang/stdarchBy folkertdev

So uh. #Rust #RustLang lower-level folks: does str::to_owned() actually make a full copy under the hood? I have always assumed it does, and that Cow is the only case where those semantics happen, but….

Thanks to EuroPython for putting on such a great event this week, where we were proud to have a booth! While in Prague, Rust Foundation Global Community Coordinator Ernest Kissiedu presented a lightning talk on the intersection of #rustlang and AI. Thank you to everyone who joined.

🐍 + 🦀

Today I wrote about 300 lines of Rust featuring "unsafe" that I thought about quite carefully.

Then I started adding safety comments. The act of needing to convincingly argue that something is true made me find and fix 3 bugs I had missed before.

Safety comments exist for a reason!
#rust #rustlang

Firefox 141 adds WebGPU support on Windows, boosting graphics performance via the Rust-based wgpu project. ⚙️
It brings faster, more efficient GPU access through a W3C-backed standard. 🌐

Linux and macOS support coming soon; Android is also planned. 🐧
Available now in Firefox Beta—can be enabled via about:config. 🧪

Progress is welcome, but Linux users are still waiting. ⏳

@itsfoss

news.itsfoss.com/firefox-webgp

It's FOSS News · Firefox Catches Up to Chrome With the Addition of This Feature But Leaves Linux Out (for now)Mozilla did a very good job with this. Now, bring it to Linux as well, please.
Replied in thread

@ashguy

... speaking of hard-earned skills, I just recently found out about #rustlang #clippy

I've got a mountain of clippy errors. all easily fixable - just numerous.

I just got two YubiKey 5C NFC keys - a main and a backup. Screw trying any other approaches. Physical key all the way

Heck yeah, this thing will blow up! :awesome:

Introducing Operese (a Windows-to-Linux migration tool made by a nerd):

yewtu.be/watch?v=PMoXClh8emw
(or YT: youtube.com/watch?v=PMoXClh8emw)

The demo is very impressive! 👀

It apparently migrates your #Windows10 installation to #Linux #Kubuntu (❤️) with all your files ready to use. 🚀

Written in #Rust, but not yet #OpenSource (according to author will be Open Source in the near future).

When writing #Rust code as if it were a high-level language, what is your biggest annoyance/roadblock?
Put another way, what is the biggest thing that gets in the way of Rust feeling like Python or Swift to you?
#RustLang