Zombie fungus takeover attack mitigation in-place in Goblinoid https://gitlab.com/spritely/goblinoid/commit/871d2624b72b65c7a75174572312d1d6eb39bd81
Nobody else has defined "zombie fungus takeover attack" before, but I think it's the best term I can come up with
Also adds, as a weird and semi-unintentional bonus, a way for an actor to say "am I who I think I am?" with the `eq?` operator.
Me: "I just implemented a zombie fungus takeover attack, I hope this is useful information without any further context"
Presumably my followers: "It isn't"
So here's some context:
In Goblinoid, an actor can specify that it wants to "become" another actor, kind of like in erlang. Unintentionally, an actor might call some procedure which instead of returning a value, would say "No, you're this thing now!"
That's fixed now; on invocation / message receive, the actor now gets a "become" ocap unique to that actor (but re-used between invocations). Now only someone with that reference can perform becoming-ness.
BTW the key to how this works uses sealers/unsealers. You may remember I discussed them yesterday: https://octodon.social/@cwebber/102525293049241136
The "become" operator is actually a sealer! The "kernel" that calls each actor has set up a unique sealer/unsealer/sealed? triplet per actor, passes in the "become-sealer" on invocation, and will only accept a "become" sealed by that particular sealer.
Sealers/unsealers: useful in all sorts of places!
Miaou est une instance Mastodon faisant partie des CHATONS avec une forte orientation geek aimant l'open source, le libre et les chats