- 博客(6)
- 资源 (11)
- 收藏
- 关注
原创 c++对象模型
c++对象在内存中包括以下几个部分:1.类的非static数据成员2.一个指向virtual table的指针virtual table的内容:virtual table的第一项指向类的type_info,其余每一项指向该类的虚函数对于类的static数据成员和非虚函数则放在全局数据区。c++对象至少需要的内存量:1.该对象的所有非静态成员总和大小2.为了align
2009-12-28 15:46:00 460
原创 iostream.h vs iostream
iostream.h 是c++旧的i/o库,iostream是c++新的i/o库。 产生的原因:c++的标准化过程导致了c++核心语言以及c++库的改变,iostream.h也作为其中的一部分被修改,形成了新的iostream iostream的优点:1.使用了大量template2.iostream.h的实现具有多个版本,因为编译器的不同,iostream.h的实现会
2009-12-23 16:10:00 672
原创 note for ---Native Client: A Sandbox for Portable, Untrusted x86 Native Code
Secure sandbox standard a secure sandbox must ensure 3 things:1.data integrity 2.safe instruction :ensure unsafe instruction is not allowed 3.control flow integrityensure the target
2009-12-16 14:47:00 597
转载 积极看待每一天(转)
If your life feels like it is lacking the power that you want and the motivation that you need, sometimes all you have to do is shift your point of view.如果你觉得心有余力不足,觉得缺乏前进的动力,有时候你只需要改变思维的角度。By
2009-12-02 19:24:00 436
原创 gae(google app engine)原来是个好东西
今天看到gae我还不知道是什么,现在简称太泛滥,都记不过来。查了下gae,原来是指google app engine。oh,my god。又随便看了下怎么使用gae,我的理解是google提供服务器,你可以再服务器上做web开发,又看到可以使用django。这个太好了,本来想写些个人的一些服务,但是因为没有公网的服务器也只能作罢,现在有了gae,看来可以动手了。
2009-12-01 11:20:00 844
Python源码剖析
2009-06-19
understanding the linux kernel 3rd
2009-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人