212 karma · joined May 21, 2015
How many letters R are in the word "s-t-r-a-w-b-e-r-r-y"?
The word "s-t-r-a-w-b-e-r-r-y" contains three instances of the letter "R."
How many letters R contain the word strawberry?
The word "strawberry" contains two instances of the letter "R."
Important thing is that we have developed rules that parents teach to kids in regards to many things, but we've developed those rules for centuries, now with internet we need generations before kids will be ready to dangers of internet as good as they are prepared for the dangers of the street for example. Damn we still have bullying in schools, because schools are around just recently, like 100+ years, we have not adapted yet.
I've watched a video recently from a guy who compiled entire Linux kernel in under 1 second I believe, he used TinyC and also noticed that something like 90% of compilation is tokenization of headers that are included many times, like there are headers that are included thousands of times in almost every C file, so he ended up caching tokens. So a big reason to have a separate tokenizer is that tokenization is a simpler task and can be optimized with all low level approaches, like perfect hashes, crafted nested switch/if tries, branchless algs, compiler intrinsics etc.
The good tokenizer is about as fast as a speed of writing the output array of records into memory. Which means it is important to choose right memory layout for your tokenized data so that when parser reads tokens it has as little cache misses and indirect memory access as possible. Tokenization can be thought of as a sort of in memory compression.
Related question is do species really need intellect at all and how much. It could be that the main purpose of intellect is to increase chances to survive, but what if civilisation already figured survival, will they even need to stay intelligent? Maybe their goal is to be happier or maybe have billion orgasms per second.
Another more obvious reason to explore the universe is lack of resources, at least Earth was mostly explored to be exploited. If resources are solved, one reason to explore less.
I have read the sci-fi short novel when I was a kid, and that was 80ies. The future earth have found signs of life on some distant planet and the science ship was sent to investigate, they got there but could not find anything on the empty rocky planet, the somewhat detective story leads them to realize the life is on the star of that system, not on the planet, and intelligent creatures are plasma based life forms. Unfortunately I barely remember this story, and cannot remember the name or author, I've read hundreds of sci-fi back then.
I also read some random popular science post about subatomic processes in cells, it gave some examples of which I recall one that fascinated me, it appears that there is a gate in a cell that opens or closes by a single electron to let a water molecule in or out I guess. This ignited my fantasy, what if there are more subatomic stuff going on in out bodies? How far it can go in reality and in fiction? What if our memory is subatomic? Could we build something on subatomic level, a logic gate for example? Can a life form be fully subatomic?
Also there is a galaxy on the Orion's belt, and the Orion is a cat, they briefly and somewhat humorously explored the idea in Men in Black which I watched many times.
There is quantum realm in the Ant-Man series. If it existed I guess super civilisation would try to go there or stay there to be more energy efficient.
There is also dr Manhattan, whose blue body I believe is photons. Imagine he was not the only one in that experiment, and our entire human race followed him, what would our civilisation be? No buildings, no machines, no crops, no transportation, would we even stay on the planet? What we would do freed from servicing our fragile bodies most of our time? I guess we would just gather together, have fun, party, make new life, teach each other endlessly. So maybe that's what stars are, each just have trillion of dr Manhattan offsprings and that's why we cannot see any signs of life cause we're looking for meatballs.
Since this is seemingly a byte code or threaded code based VM, your code execution probably also contributes to cache exhaustion.