4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
#include <stdlib.h>
int main() {
for (size_t i = 0; i < 4096*4096; i++) {
void* p = malloc(i * 4096);
free(p);
}
}
Running strace on it gives me a whole spam of logs like: mmap(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46f000
munmap(0x7f0e7d46f000, 139264) = 0
mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46e000
munmap(0x7f0e7d46e000, 143360) = 0
mmap(NULL, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46d000
munmap(0x7f0e7d46d000, 147456) = 0
mmap(NULL, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46c000
munmap(0x7f0e7d46c000, 151552) = 0
mmap(NULL, 155648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46b000
munmap(0x7f0e7d46b000, 155648) = 0
mmap(NULL, 159744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0e7d46a000
munmap(0x7f0e7d46a000, 159744) = 0
That was run under a standard Debian 11 installation.comment 4y ago · link · parent
[1]: <https://github.com/bminor/glibc/blob/a364a3a7090b82ddd30e920...>
comment 4y ago · link · parent
comment 4y ago · link · parent
[1]: Or even 0, as in Big Sur, where it's provided inside the runtime linker(/loader), instead of being a separate file.
comment 4y ago · link · parent
comment 4y ago · link · parent
[1]: Reading works of scholasticism was dreadful. "Aristotle this, Aristotle that, I'm so insecure I'm afraid to utter a sentence without supporting it by something Aristotle said" and not a single experiment in sight.
comment 4y ago · link · parent
Solution to talking nonsense is not talking better nonsense, but recognising that one speaks nonsense and should better be silent.
comment 4y ago · link · parent
comment 4y ago · link · parent
Additionally, going through the FFI from C++ to Python and back to C++ has a cost. Eliminating this overhead was one of the motivations behind Julia.
comment 4y ago · link · parent
To me talks by practitioners, who have experience in a given field allowing them to know what works and what doesn't, are more compelling. In the past Mike Acton and Chandler Carruth were such speakers. After quickly going over the schedule, this year Ben Saks, Andrew Drakeford, Ivica Bogosavljevic, Eyal Zedaka, Daniel Withopf, Andreas Weis and Ilya Burylov seem to be such speakers. I'll watch their talks when they become available.
comment 4y ago · link · parent
Games demand more from their audience than TV, but you're still given a lot to consume passively, compared to a book: instead of imagining scenes, you're again given them as pictures. Games do compensate though with demanding that you make choices as you play a game, which may impact a story. Well... that's as long as the game is not an FPS, or a racing game, where choices don't matter for a story, as the story is either non-existent, or barely important; and what matters a lot more is your dexterity and reflex.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Note that in the above I haven't said anything about faithfulness to the lore, which I'm not particularly attached to. To me the show can't stand even on its own, much less as part of a larger whole.
When it comes to stylisation, with Elves, at one point I felt as if I was watching Vulcans from Star Trek rather than Elves from LoTR. They obliterated all their features except the ears, and most of them look ridiculous (what's with the haircuts?).
So: I'm not angry (since they didn't break anything I cared about). But I am completely unamused be the show. I won't continue watching it.
[1]: I didn't dislike LoTR, but neither is it something I care all that much for.