Email or username:

Password:

Forgot your password?
gaytabase

tfw you find a pentagram in your computer science paper

it's a pentagram. at each point are boxes "thread" and memory" with arrows to and from each other
35 comments
Dan Sugalski

@dysfun Out of curiosity, are you doing memory cleverness at the OS level, compiler/core library level, or userspace level? Because if you're at OS or compiler/core levels of the system you can do some Really Clever Things with the MMU that aren't phenomenally expensive...

gaytabase

@wordshaper not my paper.

i am only working in userspace.

Dan Sugalski

@dysfun Pity. You can do fun things with even just the tiniest bit of access to the system hardware. (You also learn to swear at length and enthusiasm at Intel since their MMU hardware is... somewhat quirky and not necessarily as awesomely performant as one might want) It can make some of the generational copying algorithms a lot faster and you can make some of the transactional algorithms conceptually simpler if you squint right.

gaytabase

@wordshaper no good for the current project, but i'm certainly interested in hearing more

Ben Rosengart

@wordshaper @dysfun And if you write UB, you can trap the nasal demons in your pentagram.

Meg

@dysfun I think I might have read this paper in another lifetime. It looks familiar lol.

gaytabase

@megmac apparently it originally appeared in "A tutorial introduction to the ARM and POWER relaxed memory models".

checks out 😂​

Thomas

@dysfun @megmac Oh god, I read that. How did I forget the pentagram

Thomas

@dysfun Those are normally only found in electronics papers. This must be especially cursed CS

jonoodle :dragnloaf:

@dysfun reminds me of this diagram I needed for class

state diagram of MOESI cache coherence protocol
gaytabase

@ionchy they made you learn MOESI? oh i'm sorry :blobhajhug:​

gaytabase

@Emily_S @cstross i'm not sure if he admits it any more, but he used to hack perl. pentagrams help ward off the evil perl spirits, you see.

Emily S

@dysfun @cstross makes sense. you'd definitely need some kind of containment wards for that kind of thing.

Taureon

@dysfun you do need to summon satan in order to deal with multithreading, so is it too far off?

gaytabase

@taureon if you look carefully, it's cache coherence, the worst of multithreading.

🇺🇦 haxadecimal

@dysfun Hey! Yes, you! Come over here! Yes, out of the pentagram. Don't worry, you'll be fine.

Louis Dureuil

@dysfun
I mean given that multiple threads are involved, I'm not surprised

gaytabase

@mwyman no of course not, i'm just trying to do multicore programming. the demons are merely an unpleasant side effect

Michael Wyman

@dysfun true, that is dark magic that can have unanticipated side effects

uis

I'd call it pentagraph. Or pentagron. Because it is pentagram in pentagon.

Clark W. Griswold #resist

@dysfun After a series of strange occurrences, the authors of that paper were never seen or heard from again…..

Jeff ♨️ Darcy

@dysfun This looks like a way to summon philosophers. For dinner.

mcc

@dysfun w w w w w w w w w w w w w w w w

Go Up