From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: Re: SOS: Simple Object System Date: Wed, 24 Sep 2008 18:45:10 -0400 Message-ID: <48DAC2F6.4050205@wilsonjc.us> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1222296329 20691 80.91.229.12 (24 Sep 2008 22:45:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 22:45:29 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 25 00:46:27 2008 connect(): Connection refused Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kid7q-0000yh-57 for guile-user@m.gmane.org; Thu, 25 Sep 2008 00:46:26 +0200 Original-Received: from localhost ([127.0.0.1]:44994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kid6n-0001us-RM for guile-user@m.gmane.org; Wed, 24 Sep 2008 18:45:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kid6j-0001uM-7W for guile-user@gnu.org; Wed, 24 Sep 2008 18:45:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kid6h-0001tn-Nd for guile-user@gnu.org; Wed, 24 Sep 2008 18:45:16 -0400 Original-Received: from [199.232.76.173] (port=46540 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kid6h-0001tj-FA for guile-user@gnu.org; Wed, 24 Sep 2008 18:45:15 -0400 Original-Received: from mailgw2.fnal.gov ([131.225.111.12]:44848) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kid6h-00056U-6F for guile-user@gnu.org; Wed, 24 Sep 2008 18:45:15 -0400 Original-Received: from mailav1.fnal.gov (mailav1.fnal.gov [131.225.111.18]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0K7Q00C4O1TOKJ@mailgw2.fnal.gov> for guile-user@gnu.org; Wed, 24 Sep 2008 17:45:11 -0500 (CDT) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav1.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2008092417451123354 for ; Wed, 24 Sep 2008 17:45:11 -0500 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0K7Q004011NS3W@mailgw2.fnal.gov> (original mail from jsw@wilsonjc.us) for guile-user@gnu.org; Wed, 24 Sep 2008 17:45:11 -0500 (CDT) Original-Received: from wilsonjc.us (cpe-75-187-46-126.columbus.res.rr.com [75.187.46.126]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0K7Q00HQT1VAP6@mailgw2.fnal.gov> for guile-user@gnu.org; Wed, 24 Sep 2008 17:45:11 -0500 (CDT) In-reply-to: User-Agent: Thunderbird 2.0.0.16 (X11/20080724) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6817 Archived-At: Hi again, For an example of an OO system that is even more wildly different, but still quite interestingly useful, look up the Prometheus object system for Scheme. I don't know if there is a version that would happily run on Guile, but there are versions for at least Scheme48 and PLT, IIRC. It is prototype based, and really quite fascinating. Regards, Jon Maciek Godek wrote: > Thanks a lot for your all attention and clues. > > If it comes to GOOPS, I think it would be best to > specify a well-defined C-level interface (for it would > go with the spirit of guile). This is the one thing. > > The other is that in GOOPS a method is something > different than what is commonly known in OOP, because > a class doesn't know its methods (and furthermore, > methods can be created at any time of program execution, > not only during class definition). I'm not saying that > it's good or bad (but it's quite confusing when a few similar > but different notions share one name) > > There is also another issue concerning the fact that > methods are available in global namespace -- the > performance of the interpreter is always penalized > by the type lookup (obviously, this doesn't have to > be the case if the code is compiled) > > But the most important feature of OOP that is missed > in GOOPS (because of global namespace methods) is the lack > of the clean separation of interface and implementation > in the way it's done in java, C# and the like. > > (At least that's what I think) > > Thanks again > M. > >