O
O
Ockonal2011-12-18 05:00:28
Books
Ockonal, 2011-12-18 05:00:28

Programming book?

Hello. I have been programming (mainly in C++) for quite a few years now. Now it is no longer a problem that all constructions are standard, algorithms, etc., I would like to read about something more global: about the operation of the processor (caching, registers, their principles of operation). Know about how the compiler will deploy my code. Maybe in some places it turned out to be a pun, since I can’t accurately describe all the common themes. Maybe someone knows books / information on similar topics.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
NanoDragon, 2011-12-18
@Ockonal

About programming in general, this is SICP. And about the assembler, it is also interesting to read something like that, in the likeness of SICP.

S
SFx, 2011-12-18
@SFx

Using this creation , you can try to comprehend the principle of how compilers work. like in the ozone was ... I also recommend Bellard's Tiny C Compiler to look at how it is written.
As for the operation of processors, you need to read the datasheets on from Intel ( Intel® 64 and IA-32 Architectures Developer's Manual )

S
skyboy, 2011-12-18
@skyboy

I would recommend reading Tanenbaum's "PC Architecture", there about processors, and about the Assembler level, and about compilers, it is sufficiently described + plus many links to more highly specialized books. In general, it is worth re-reading all the books of Tanenbaum.

G
Gribozavr, 2011-12-18
@gribozavr

What Every Programmer Should Know About Memory
www.akkadia.org/drepper/cpumemory.pdf
What Every Computer Scientist Should Know About Floating-Point Arithmetic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question