Some readings feels like a gust of wind running through your mind, in and out by unsuspected windows, opening new ways for light to come in, making you breath again like you forgot how to.
Programming of the metal-slaves is a thing of the Dark, meant to enslave us.
But it is for us Humans to master it and make beauty out of it.
I would learn coding with examples, so here is my request :
Have you ever been moved by a bit of code ?
Can you lead me to some simplistic and efficient and somehow Inspired code ?
Also, I have heard about the C language to be more 'bare-metal' than many others.
I feel less interested by languages that runs into a Virtual Machine like Java or an interpreter like Bash.
I suppose that no one ever code directly on Assembler, that is not the question.
But I'm interested to know more about the 'bare-metal' quality of some languages and which exactly will, coupled with the adequate theory, grant me a profund understanding of the machine.
>>61537800
I want to strangle people who think code looks like some dumb quote instead of a beautiful formula.
the ycombinator flipped me out a bit when I understood it.
>>61537974
This quote is especially destructive.
Tho i'd like to know if your love for logic and intellectual swiftness can provide us with something beautiful.
>>61537800float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed
return y;
}
>>61538073
I'm diggin it. Thanks a lot :)
There are hundreds of lines of source code publicly available, hosted by the FTP servers of the GNU project (or Github, or...)
Many times I've been called a dreamed but still..
May /g/ spoonfeed me with the name of a package, easy to find, simplistic and self-explanatory for the non-programmer ?