-
Recent Posts
Categories
- algorithm (1)
- automation (3)
- c++ (2)
- cloud (1)
- design (6)
- git (2)
- java (10)
- jenkins (1)
- linux (17)
- python (6)
- search engine (1)
- security (1)
- server (3)
- tech watch (6)
- test (3)
- troubleshooting (7)
- Uncategorized (2)
- virtualization (3)
Archives
- March 2012 (4)
- February 2012 (6)
- January 2012 (2)
- November 2011 (5)
- October 2011 (1)
- August 2011 (3)
- July 2011 (8)
- June 2011 (10)
- May 2011 (4)
- April 2011 (6)
- March 2011 (1)
Links
Tag Archives: ooc
面向对象的纯C语言
前几天lucene的c语言版本Lucy发布0.1版本。Lucy的代码中使用了面向对象的C扩展Clownfish。 Clownfish是一种很小的面向对象的语言,用于定义面向对象的接口。Clownfish包含一个编译器,允许类用C语言或者一种host语言实现,或者两者的组合。最早Clownfish用于Kino Search中,后来KinoSearch演变为Lucy,Lucy中继续使用Clownfish。参考: http://search.cpan.org/~creamyg/KinoSearch-0.311/clownfish/lib/Clownfish.pm 其他的使用面向对象的C的方法: http://www.bolthole.com/OO-C-programming.html http://www.bolthole.com/OO-C-2.html http://home.comcast.net/~fbui/OOC.html http://www.accu.informika.ru/acornsig/public/articles/oop_c.html 当然也可以使用C++或者objective c,但object c能运行的平台比较有限。