what the fuck
01.12.2025 13:30 β π 13 π 0 π¬ 1 π 0@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
what the fuck
01.12.2025 13:30 β π 13 π 0 π¬ 1 π 0it sounds like y'all invented a problem for yourselves
01.12.2025 04:56 β π 5 π 0 π¬ 1 π 0what on earth are you talking about
01.12.2025 04:27 β π 1 π 0 π¬ 1 π 0python 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 π 0Edited 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 π 0Just remembered this great series of retrospectives on Swift's language design by Jordan Rose
belkadan.com/blog/tags/sw...
it physically hurt me
26.11.2025 04:24 β π 2 π 0 π¬ 1 π 0Bring back std::std, the curious inner-module did nothing wrong
github.com/rust-lang/ru...
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 π 0An 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 π 13debugging 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 π 0most compiler dev flag ever
17.11.2025 03:55 β π 8 π 0 π¬ 0 π 0never 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 {}
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 π 4implementing Drop is a Rust poweruser feature
14.11.2025 19:54 β π 19 π 0 π¬ 0 π 0also 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 π 0wild 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
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 π 0i 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 π 0also 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 π 0yooo 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 π 0genuinely one of my most anticipated games, i need women to enact this kind of violence
12.11.2025 15:41 β π 0 π 0 π¬ 0 π 0It 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`
:)
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...
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`...
oh no i'm understanding python types enough to take psychic damage about them now help
11.11.2025 13:43 β π 18 π 0 π¬ 1 π 0come 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