Aria Desires's Avatar

Aria Desires

@gankra.bsky.social

it's me, the gay cat who writes your docs~! author of the rustonomicon and learn rust with entirely too many linked lists; worked on homestuck, rust-lang, swift-lang, firefox she/her, trans, 30

1,537 Followers  |  576 Following  |  169 Posts  |  Joined: 17.10.2024  |  1.6343

Latest posts by gankra.bsky.social on Bluesky

what the fuck

01.12.2025 13:30 β€” πŸ‘ 13    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

it sounds like y'all invented a problem for yourselves

01.12.2025 04:56 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

what on earth are you talking about

01.12.2025 04:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

python match statements are beautiful and the implications of pattern matches with python scoping rules are extremely funny

28.11.2025 04:43 β€” πŸ‘ 25    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Edited image of Shredder and Krang talking in the Teenage Mutant Ninja Turtles Cartoon

shredder is uv and is holding pyx

the giant guy krang has ty as its head, but the talking brain in its stomach that controls it is ruff

Edited image of Shredder and Krang talking in the Teenage Mutant Ninja Turtles Cartoon shredder is uv and is holding pyx the giant guy krang has ty as its head, but the talking brain in its stomach that controls it is ruff

average company meeting at Astral

27.11.2025 19:08 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Archive for β€œSwift regrets” // -dealloc

Just remembered this great series of retrospectives on Swift's language design by Jordan Rose

belkadan.com/blog/tags/sw...

26.11.2025 18:55 β€” πŸ‘ 12    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

it physically hurt me

26.11.2025 04:24 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image 26.11.2025 03:52 β€” πŸ‘ 1513    πŸ” 560    πŸ’¬ 5    πŸ“Œ 21

Bring back std::std, the curious inner-module did nothing wrong

github.com/rust-lang/ru...

24.11.2025 19:48 β€” πŸ‘ 10    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

THIS IS A SOS DISTRESS SIGNAL: Any of my mutuals on here happen to be 65816 wizards and extremely interested in it? who might be interested in solving a single problem in smrpg modding?

22.11.2025 07:04 β€” πŸ‘ 8    πŸ” 9    πŸ’¬ 1    πŸ“Œ 0
An illustration of a young women yanking a weed out of a bed of marigolds. The primary colours of the piece are deep green and a saffron yellow, with some brown and moss green tones as well. The camera is looking up at the young girl with a forced perspective, as she pulls out the weed while leaning back. The text reads: PULL FASCISM UP BY THE ROOT.

An illustration of a young women yanking a weed out of a bed of marigolds. The primary colours of the piece are deep green and a saffron yellow, with some brown and moss green tones as well. The camera is looking up at the young girl with a forced perspective, as she pulls out the weed while leaning back. The text reads: PULL FASCISM UP BY THE ROOT.

πŸ‘©β€πŸŒΎ Grab your tools

20.11.2025 16:03 β€” πŸ‘ 6219    πŸ” 2035    πŸ’¬ 19    πŸ“Œ 13

debugging the compiler with less code boring code getting in the way (loop {} is a valid implementation of every function)

17.11.2025 16:29 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

most compiler dev flag ever

17.11.2025 03:55 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

never forget the brave unstable compiler flags that gave their lives in the line of duty

rest in peace, -Z everybody-loops, the compiler flag that replaced every function body with loop {}

17.11.2025 03:07 β€” πŸ‘ 98    πŸ” 7    πŸ’¬ 5    πŸ“Œ 1
Terminal window showing cargo-nextest running a Rust test with rust-gdb debugger. The test 'test_argument_parsing' from cargo-nextest is being executed. GDB (GNU Debugger) version 15.0.50.20240403 starts up, displaying copyright information, GPL v3+ license notice, and configuration details for x86_64-linux-gnu. The debugger is reading symbols from the cargo_nextest binary in the target/debug/deps directory. The prompt shows '(gdb)' ready for debugging commands.

Terminal window showing cargo-nextest running a Rust test with rust-gdb debugger. The test 'test_argument_parsing' from cargo-nextest is being executed. GDB (GNU Debugger) version 15.0.50.20240403 starts up, displaying copyright information, GPL v3+ license notice, and configuration details for x86_64-linux-gnu. The debugger is reading symbols from the cargo_nextest binary in the target/debug/deps directory. The prompt shows '(gdb)' ready for debugging commands.

Just released cargo-nextest 0.9.113, with support for a long-requested feature that I realized I needed all of a sudden: debugger support! Run individual tests under gdb, lldb, WinDbg, or Visual Studio Code via CodeLLDB! This preserves all the environment setup done by nextest.

16.11.2025 23:33 β€” πŸ‘ 89    πŸ” 19    πŸ’¬ 3    πŸ“Œ 4

implementing Drop is a Rust poweruser feature

14.11.2025 19:54 β€” πŸ‘ 19    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

also if the implications of the phrase "google-style docstrings" set off a fight or flight response i have bad news about the number of python docstring formats in the wild and their total lack of specification or anyone checking that they're well-formed

14.11.2025 17:04 β€” πŸ‘ 16    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

wild for google's lawyers to grafitti the python stdlib with their gang tag but i guess at this point it's a heritage site

14.11.2025 16:53 β€” πŸ‘ 15    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

<implementing python docstring rendering>
"huh why does the ipaddress module in the python stdlib have a ton of google-style docstrings"

# Copyright 2007 Google Inc.
# Licensed to PSF under a Contributor Agreement.

ok google, sure thing buddy, proud of you i guess

14.11.2025 16:49 β€” πŸ‘ 23    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

also damn the android team has 4% of their rust code in unsafe? thats such a high number!! and it's still fine!!!

13.11.2025 23:37 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

i love the android team's relentless commitment to saying Skill Issue to anyone who's like "ughh it's so hard to use Rust in our existing C(++) codebase"

13.11.2025 23:28 β€” πŸ‘ 21    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

also so funny they have much ado about Almost (only Almost!!!) shipping one (1) memory safety bug in 5 million lines of rust code (they had 5000 such bugs in the equivalent amount of C(++))

13.11.2025 23:26 β€” πŸ‘ 16    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
Rust in Android: move fast and fix things Posted by Jeff Vander Stoep, Android Last year, we wrote about why a memory safety strategy that focuses on vulnerability prevention in ...

yooo the android devs are officially writing more rust per day than c/c++!!! security.googleblog.com/2025/11/rust...

13.11.2025 23:19 β€” πŸ‘ 68    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0

genuinely one of my most anticipated games, i need women to enact this kind of violence

12.11.2025 15:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It should -- the relevant context for why I'm making the distinction is in e.g. an IDE if you actually write out `float | int` and you hover the `float` it will show you `float | int` lol

11.11.2025 16:28 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

`complex` is `complex | float | int`

:)

11.11.2025 14:03 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Playground | ty An in-browser playground for ty, an extremely fast Python type-checker written in Rust.

anyway that's why `ty` has a `JustFloat` extension that is an actual alias for actual `float` that doesn't expand to `float | int`, so you can actual refer to... just float

play.ty.dev/a8714369-9b4...

11.11.2025 13:59 β€” πŸ‘ 15    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

just learned python typing invented a new kind of voldemort type, one which when named doesn't actually name it

`float` and `int` are two distinct types

but if you write `x: float` that actually means `x: float | int`. but if you write `x: float | int` that means `x: float | int | int`...

11.11.2025 13:58 β€” πŸ‘ 53    πŸ” 4    πŸ’¬ 7    πŸ“Œ 2

oh no i'm understanding python types enough to take psychic damage about them now help

11.11.2025 13:43 β€” πŸ‘ 18    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

come to rust, it's ok if you panic whenever you think about trying to change who you are while everyone is watching, that's what RefCell is for

09.11.2025 13:22 β€” πŸ‘ 38    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

@gankra is following 18 prominent accounts