hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

10K
active users

Paul Cantrell

I gave a talk this week and it went really well and the main thing I want to share with you from it is that I referred to an int as “just 64 booleans in a trench coat” and I’m proud of that one.

(The actual main thing I want to share with you from the talk is this slide)

@inthehands kinda remarkable that trenchcoats are generally free in computing

@NeoNacho
Only free when you have statically typed structs. In OO, the trench coat will cost you a malloc and a vtable pointer and god knows what.

@inthehands @NeoNacho a cache miss is when you left your cache in the pocket of your other trenchcoat

@inthehands @NeoNacho rust: fearless concurrency and zero cost trenchcoats

@inthehands @Catfish_Man “what order are they in?”
“depends whether they’re going by Lenny or Benny”

@hugo
uh…thanks [shifts uncomfortably]

Although it took me a bit to register that one.

@hugo
I’d make another pun, but you know what they say: two’s a complement, three’s a crowd

@inthehands and of course a boolean is just a lousy two-bit integer.

@tastapod Heh. One-bit, technically, now trying to figure out how to work “two bit” into a pun…

@inthehands d’oh of course, that’s annoying!

A pair of booleans walk into a two-bit saloon…

@inthehands were you looking over my shoulder tonight? I literally wrote a little `FixedWidthInteger.bits: [Bool]` after dinner to make some binary shenanigans a bit more readable

@inthehands old age is when you read this and feel vaguely unnerved by the choice of 64 booleans instead of the proper and traditional 8.

@inthehands Recon that depends on where you are, pal. In my day they only had 32 booleans in there; hell, down some more primitive parts they’d just put in 16 or even 8, though we’ve done come a bit farther now.

We heard some tales of locales where they’d have more but us, we had to accomplish that sort of thing in shifts.

@donw
Back in my day, we only had sport coats for stacking booleans

@inthehands Sadly, being curious and tinkering sounds like a zero interest rate phenomenon :(

@benpickering The whole point of the talk was in fact that it pays enormous dividends

@inthehands a friend replies to me reposting this elsewhere:

@lilith Ha! That’s definitely me. Who’s the friend?

@lilith I almost guessed Chip! Tell him hi!

@inthehands Depends on the machine though, it could as well be "just four groups of 8 booleans in a trench coat, that are dancing the conga line"

@lily About the talk, the bits, or the trench coat?