@Mara@hachyderm.io
@Mara@hachyderm.io avatar

Mara

@Mara@hachyderm.io

Rust dev, Electronics engineer, Author, Rust library team lead, ADHD, Polyamorous, Lesbian, She/Her

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Mara, to random
@Mara@hachyderm.io avatar

New toys! ⚡️

Mara,
@Mara@hachyderm.io avatar

@recursive Yeah. They also sell versions with 2 and 3 channels, so that's probably why they put channels 1 and 2 in the middle.

Mara, to random
@Mara@hachyderm.io avatar

Me: I don't have synesthesia.

Also me: The middle two digits of your phone number taste like a circular orange plastic sponge.

Mara,
@Mara@hachyderm.io avatar

The Wikipedia page for synesthesia has this example image, which i have a big issue with: the colors are all wrong. >:( 2 should be yellow! 3 should be green! 4 should be slightly desaturated blue! Etc. What were they thinking?!

Anyway I obviously don't have synesthesia.

Mara, to random
@Mara@hachyderm.io avatar

On my way to London. See you all at Rust Nation UK!

Mara,
@Mara@hachyderm.io avatar

Sitting in a comfy 400 metre long train going at 300 km/h straight from home to central London in just a few hours. 🚄

Trains are great. 😊

Mara, to rust
@Mara@hachyderm.io avatar

🦀 I'm really excited about today's #rustlang release! 🥳

  • offset_of!
  • stripping release binaries by default!
  • IP/socket types available in no_std!
  • File::create_new (won't overwrite existing files)!
  • more array and slice methods (each_ref, chunk methods)!
  • Mutex::clear_poison!

https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html

Mara,
@Mara@hachyderm.io avatar

Really cool to see the c"" string literal feature stabilized. I wrote the RFC for c"" string literals 1, so I'm very excited to see it reach stable Rust today.

I had nothing to do with its implementation, however. The implementation was done by @beef 2 and quite a few others worked on it too 3. Thanks all, for making this happen!

Mara, to random
@Mara@hachyderm.io avatar

🦀 I'm so excited for RustNL 2024!

It'll be one of the biggest Rust events this year! 🎉

May 7 & 8 in my hometown, Delft!

See you there!

@rustnl

https://2024.rustnl.org/

Mara, to rust
@Mara@hachyderm.io avatar

I love this! This is such a good description of how we (often subconsciously) handle many of the trade-offs for design decisions in #rustlang. I'm really excited to see this written down!

What beliefs do you think are fundamental to Rust?

Read Niko's blog post here: https://smallcultfollowing.com/babysteps/blog/2023/12/07/rust-design-axioms/

Mara, to rust
@Mara@hachyderm.io avatar

🦀 New #rustlang blog post! "Behind the Scenes of Rust String Formatting: format_args!()"

A dive into the dirty details behind format!(), println!() and similar macros, and an exploration of ideas for future improvement.

https://blog.m-ou.se/format-args/

Mara, to rust
@Mara@hachyderm.io avatar

🦀 New #rustlang blog post! Learn about temporary lifetimes, about something called "temporary lifetime extension", and my idea for a new language feature called "super let".

https://blog.m-ou.se/super-let/

Mara, to rust
@Mara@hachyderm.io avatar

Do you use #rustlang? Do you like a bug free type system, traits, and const generics? Go grab your (or your employer's!) credit card and go sponsor Boxy to keep making these things possible.

Rustc devs like Boxy need your support to maintain Rust for you.

https://github.com/sponsors/boxyuwu

Mara, to random
@Mara@hachyderm.io avatar

C and C++ quiz! What does the preprocessor produce for the snippet below?

A. hello world
B. hello
C. world
D. An error.

(Poll in post below.)

Mara,
@Mara@hachyderm.io avatar

#​if (false ? 1/0ll : -1) < 0
hello
#​endif

#​if (false ? 1/0ull : -1) < 0
world
#​endif

Mara, to random
@Mara@hachyderm.io avatar

If a += b is a = (a + b) and a *= b is a = (a * b), then a == b should be a = (a = b). 😌

Mara,
@Mara@hachyderm.io avatar

And, of course, a &gt;= b should be a = (a &gt; b). 🫣

Mara, to random
@Mara@hachyderm.io avatar

🦀🇯🇵 私の本「詳解 Rustアトミック操作とロック」が日本語版で出版されました!

Rust Atomics and Locks is now available in Japanese!

https://www.oreilly.co.jp/books/9784814400515/

Mara, to random
@Mara@hachyderm.io avatar

📕🖋 If you want me to sign your copy of Rust Atomics and Locks, make sure to bring it to #EuroRust tomorrow!

Mara, to rust
@Mara@hachyderm.io avatar

🦀💳 If y'all like #rustlang, take out your credit cards right now and go sponsor Waffle: https://github.com/sponsors/WaffleLapkin

Mara, to rust
@Mara@hachyderm.io avatar

🦀 Have you ever purposely made use of the UnwindSafe or RefUnwindSafe traits in #rustlang?

I'm wondering if Rust would have been better off without these (somewhat confusing) traits.

Mara,
@Mara@hachyderm.io avatar

If you think we should deprecate or remove these traits, here is my write up of how to make that happen: https://github.com/rust-lang/libs-team/issues/273

Mara, to random
@Mara@hachyderm.io avatar

📷🐦‍⬛ I spent way too many hours trying to capture the perfect shot of these birds, but I'm super happy with the end result:

(Higher resolution here: https://www.flickr.com/photos/196876155@N02/53152617991/in/album-72177720310844572/)

Mara, to rust
@Mara@hachyderm.io avatar

🦀 Starting in #rustlang 1.73.0 (to be released on October 5th), panic!() and assert_eq!() messages will be a bit easier to read: unnecessary quotes and punctuation have been removed, and the message itself will appear its own line. ✨

Thanks to @nyurik for driving this effort!

fn main() { assert_eq!("🦀", "🐟", "ferris is not a fish"); } Rust 1.72: thread 'main' panicked at 'assertion failed:

Mara,
@Mara@hachyderm.io avatar

@decathorpe It does, if you ask it to! (Which I did in this case.)

Mara,
@Mara@hachyderm.io avatar

@decathorpe Yeah, you can easily get a few hundred false positives that way. But you can then re-run crater for only those crates to get rid of most of the spurious failures, like I did here: https://github.com/rust-lang/rust/pull/112849#issuecomment-1605499790

(And that resulted in only 16 unrelated failures: https://github.com/rust-lang/rust/pull/112849#issuecomment-1607210097)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines