文章
首页 我的博文
用户3635970 2011-5-29 11:17
Thoughts on member initialization
Most of the time when it seems that C++ is producing bigger and slower code than C, it may be that C++ is really just distributing generated code ...
用户3635970 2011-5-29 11:16
Understanding member initialization
Most of the time when it seems that C++ is producing bigger and slower code than C, it may be that C++ is really just distributing generated code ...
用户3635970 2011-4-22 12:34
Constructors and object definitions
One of the easiest ways to misuse a structure object in C is to fail to initialise it properly. In C++, you can reduce the incidence of uninitia ...
用户3635970 2011-4-22 12:29
Constructors and object definitions
C++ compilers generate translate object definitions into constructor calls. Dan explains what to expect from the generated code.   O ...
用户3635970 2011-4-5 20:09
Demystifying constructors
Even the experienced C++ programmer can be confused about what exactly constructors do and when they get called.   One of the easiest ...
用户3635970 2011-4-5 20:07
Demystifying constructors
Even the experienced C++ programmer can be confused about what exactly constructors do and when they get called. One of ...
用户3635970 2011-4-2 16:27
Measuring instead of speculating (Part 2)
A software "device" In order to time the execution of function calls that manipulate memory-mapped devices, I needed just two ...
用户3635970 2011-4-2 12:19
Measuring instead of speculating (Part 2)
A software "device" In order to time the execution of function calls that manipulate memory-mapped devices, I needed just two ...
用户3635970 2011-3-31 19:28
Measuring instead of speculating (Part 1)
Some programmers think modeling memory-mapped devices as C++ objects is too costly. With some architectures, the chances are they're wrong. ...
用户3635970 2011-3-31 19:25
Measuring instead of speculating (Part 1)
Some programmers think modeling memory-mapped devices as C++ objects is too costly. With some architectures, the chances are they're wrong. ...
用户3635970 2011-3-30 11:36
Bundled vs. unbundled monostate classes
In one of my previous columns, I presented some common alternatives for representing and manipulating memory-mapped devices in C. I recommended ...
用户3635970 2011-3-30 11:33
Bundled vs. unbundled monostate classes
In one of my previous columns, I presented some common alternatives for representing and manipulating memory-mapped devices in C. I recommended ...
用户3635970 2011-3-29 17:51
Accessing memory-mapped classes directly (Part 2)
  Eliminating indirection in C Recall the pointer-based C implementation of the timer set function:   void timer_r ...
用户3635970 2011-3-29 17:43
Accessing memory-mapped classes directly (Part 2)
Eliminating indirection in C Recall the pointer-based C implementation of the timer set function:   void timer ...
用户3635970 2011-3-26 20:24
Accessing memory-mapped classes directly (Part 1)
Device drivers typically communicate with hardware devices through device registers. Many processors use memory-mapped I/O, which maps device regi ...
关闭 站长推荐上一条 /2 下一条