Inside the {C++, Java, Lisp, Python, Ruby} Object Model

May 18, 2008 – 12:48 am

We just held a technical salon today named "template<language L> Inside the L Object Model". When I was looking at some code of Ruby, I found the object model is very different to a static language like C++. So I suggested the idea of discussing various object model of different languages. Finally, our amazing MSTC staffs made it happen in the form of a salon.

We finally selected 5 languages and invited 5 people to talk about their object model:

  • C++: shifan, the board manager of C++ board of freecity BBS. An interesting person, know C++ very well, commonly known as "模教教主". :)
  • Java: gbb, the board manager of Programming Technique board of cc98 forum. A very enthusiastic person. WARNING: he might become extremely exciting when discussing about any technical topic. :p
  • Lisp: binghe, the board manager of Computer Language board of freecity BBS. THE Lisp hacker of our school. He always think Lisp (especially Common Lisp) is the ultimate super cool and powerful language ever exists. :)
  • Python: Mike, the board manager of Linux board of cc98 forum. Still a freshman but already has a very good knowledge of Linux, Open Source and programming. Bright future! :)
  • Ruby: me. I’m also board manager of cc98 forum and freecity BBS. :p I’m interested in various languages.

We gave about 20 minutes to each speaker to introduce the object model. The remained time is for discussing. The salon is held in the office of MSTC. We have many people there.


Unfortunately, we didn’t have enough seats for all the people.


To avoid religion war, we selecte the alphabetic order of the languages. shifan introduced C++ object model first:



Then gbb talked about the Java object model:



Next is the Lisp geek binghe who introduced CLOS to us:



After that, Mike talked about the Python’s way of OOP:



And finally, it’s my turn to talk about Ruby:



Then comes a short summery of our enthusiastic host windreamer:


And the final free discussing time:


Here are the slides of each talk:

Our office is on Yuquan Campus, we have return to Zijingang Campus afterwards. Most people returned to Zijingang before the discussing finished, But it’s too late when we finished the discussing. We (Mike and I) found the time for the last bus had just passed, and we didn’t take enought money with us for a taxi. But finally we are lucky to found a late bus. :D

Finally, thanks everyone for attending this salon. And special thanks to those speakers who devote their time to prepare for the great talks!

  1. 9 Responses to “Inside the {C++, Java, Lisp, Python, Ruby} Object Model”

  2. Ruby听着最明白,赞!

    note: 验证码容易识别多了 :p

    By quark on May 18, 2008

  3. pretty cool workshop! thanks for sharing all of these.
    btw, s/stuff/staff/ ;)

    By tchaikov on May 18, 2008

  4. @tchaikov,
    Thanks for pointing out this. I have abused “stuff” and “staff” for several times. Feel ashamed. *^_^*

    By pluskid on May 18, 2008

  5. cool~

    By Jack on May 18, 2008

  6. Good, you write blog in English.

    By 萝卜 on May 18, 2008

  7. 拜读了Ruby的PDF,做的很漂亮。能请问一下博主是怎么做的吗?谢谢!

    By Justin on May 23, 2008

  8. @Justin,
    其实就是用 PowerPoint 做的。 :)

    By pluskid on May 24, 2008

  9. PPT做的真漂亮。我在 Powerpoint 里尝试模范了一下,第3页的标注和第5页的表格死活做不出来。请问一下pluskid,我用的是 PowerPoint 2003,是不是 2007 里才有这样的效果。如果是的话,我一定要升级了。

    By James on May 28, 2008

  10. @James,
    标注?你是指那些图形吗?还有表格的各种模板,我不知道在 2003 里是否能做出来,但是肯定是不如 2007 方便的。 2003 到 2007 并不只是界面上的改革,其实许多功能都增强了,如你所见,更容易做出更漂亮的文档来。如果有条件的话,还是建议使用 2007 的。 :)

    By pluskid on May 28, 2008

Post a Comment