Jun. 6th, 2016

jack: (Default)
Why don't more languages compile to C?

It seems like, you can use your own memory manager etc if you want, and any specifics you want to optimise you can write a specific optimiser for, but even if it's a mess of pre-optimised assembly-in-C and higher-level-C, there's already a C compiler for most target systems, which produces reasonable machine code.
jack: (Default)
In C and C++, you should avoid using an uninitialised variable for several reasons, not least of which, it's undefined behaviour (?) But in practice, what are the relative likelihoods of the (I think?) permitted outcomes:

(a) it being treated as some unknown value
(b) the following code being deleted by the compiler
(c) something even weirder happening?
jack: (Default)
https://en.wikipedia.org/wiki/Saturday_Morning_Watchmen

The fictional saturday morning cartoon version of Watchmen was really funny. But it also looked pretty fun. Like actually, maybe a lot of what people responded to in watchmen was the characters, the worldbuilding... things which were good but separate from the "real life superheros would suck" message, and could be incorporated into an annoyingly-up show just as easily as an annoyingly-down show.

Just like you have Batman appearing in heroic, campy, and grimdark versions.

And in some ways, it's making the same parody about how the low collateral damage of of superhero fights used to be unrealistically low, but showing them EVER LOWER, rather than VERY HIGH :)

But also, given how relentless grimdark has become since, "happy watchmen" might be almost as subversive now as the original was :)