Back

Super Mario Derivations

49 points7 daysfzakaria.com
JHonaker2 hours ago

What a delightfully insane abuse of Nix. I enjoyed reading that immensely.

MiroslavPokorny6 days ago

Im confused whats the point of this ?

0xcde4c3db1 hour ago

The implementation is superficially silly, but I think this can also be read as a meditation on exactly what distinctions we're making when we use terms like "program" vs. "process" or "input" vs. "dependency". Perhaps a cousin to the idea that compression formats represent specialized instruction sets for bitstream generation, or to static single assignment. It makes explicit what is usually implicit in emulator "movies", that each frame has the state of the prior frame as a dependency, even though that relationship is normally thought of as a side effect of the passage of time.

The underlying principle of translating those implicit temporal dependencies into explicit data dependencies very well might have applications in optimizing high-accuracy computer/console emulators. The usual implementations iterate over some variable that represents the passage of time and compute all possible side effects, which is expensive. Many compilers already do a related static optimization by eliminating intermediate variable mutations that can be proven to have no side effects.

(also, if you're not familiar with the "tool-assisted speedrun/superplay" tradition of optimizing video game input sequences as a flavor of metaprogramming, see https://tasvideos.org/NewcomerCorner)

kjs32 hours ago

It's 'fun', for some folks 'nostalgic', possibly even 'interesting', in a casual sort of way. You apparently aren't familiar with these concepts. No need to hate on it.

esikich52 minutes ago

Not parent, but I am familiar with those concepts however I don't know Nix, so I don't know what I'm looking at.

kjs338 minutes ago

Not understanding something fully doesn't mean shit on it.

I know what Nix is, and think it's an answer to a problem I don't have and therefore generally don't comment on Nix posts, but I can still appreciate that this is pretty cool.

Apparently, simply shutting the fuck up when you have exactly zero to add to the discussion is the answer way too many people don't understand in the always-on social media age.

ludr3 hours ago

It's just a fun hack. I think it's neat.

semiquaver1 hour ago

Answer honestly: what is the point of yourself or anyone for that matter?