today i read an article in http://blog.csdn.net/codesnail/archive/2009/10/10/4652380.aspx. and have some word to say.
in that paper, the author consider abstract is hiden what is didn't need. but in my opinion, abstract is a method which is to make people accept object easily. in software develop, ADT(abstract data type), which is represent object in real world. however, there are gesture and attribute in an object. that corresponding to member function and attribute in a class in c++. (actully, class in C++ is as same as ADT in c)
for c language, we exert abstract to understand object in real-world, and express it with ADT in C language. in asm you also can use this thinking, but it is hard to code. the authod also mention this aspect. in my experience, asm is not everywhere we need. develop initial machine, we need it, whereas in data processing is not essential. in data processing we can make use of c or c++, or even in java.
i have develop a small os which can roll state of process. to develop os, initial and set mapping address in chip is the first step. in those code, i write asm, and in 'switch' function, it nedd too. others is c code.
P.s if you want my os(named lyso), please contact me with e-mail.
本文讨论了抽象数据类型(ADT)在软件开发中的作用,并通过C++类与ADT之间的联系进行阐述。作者还分享了自己使用汇编语言开发小型操作系统的经验。

776

被折叠的 条评论
为什么被折叠?



