[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Can someone recommend good books that explain what happens under

You are currently reading a thread in /g/ - Technology

Thread replies: 7
Thread images: 2
File: 1420500175412.jpg (438 KB, 900x2134) Image search: [Google]
1420500175412.jpg
438 KB, 900x2134
Can someone recommend good books that explain what happens under the hood of compiles.

Whenever I code in C++ I feel like i'm spawning black holes all over the place because I don't know what happens/how will the code get compiled (into what ASM) or what is the best way to code something to achieve maximum performance ? Are books in pic related decent ?
>>
>>54324015
Dragon Book
>>
>>54324015
The very hungry compiler
>>
The dragon book or wait for TAOCP Volume 7
Or you could try looking at the monster that is gcc
>>
File: csapp.jpg (491 KB, 2188x2725) Image search: [Google]
csapp.jpg
491 KB, 2188x2725
This one pretty good if you don't mind reading over 1000 pages.
It's good though, teaches how you can optimize your code by taking advantage of how the machine deals with memory
It does so in the light of C but C++ is really just C on steroids. I don't know how the object system is implemented though
>>
>>54324852
No one cares about optimization
>>
>>54324015
If C++ is hard for you, I suggest picking up an easier language first.
Thread replies: 7
Thread images: 2

[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK