[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PROPOSAL: Objective-C++
From: |
Philippe C.D. Robert |
Subject: |
Re: PROPOSAL: Objective-C++ |
Date: |
Mon, 19 Nov 2001 22:30:18 +0100 |
Hi,
very cool, indeed - and what is most interesting to me is the fact that there
is some new effort going on to actively maintain the language itself, also from
the Apple side! This is great news and very promising after all these years.
-Phil
On Mon, 19 Nov 2001 14:40:47 -0600
Kim Shrier <kim@tinker.com> wrote:
> Ziemowit Laski wrote:
> >
> >
> > Two questions on behalf of the benighted among us (which may include just
> > me, but so be it):
> > -- What does POC stand for?
>
> Portable Object Compiler
>
>
> > -- What is this 'blocks' feature in the POC compiler?
> >
>
> A block is a piece of code that can be passed as a parameter in a
> subroutine or a method. Smalltalk has this feature and it is
> similar to Lambda expresions in Lisp. The classic example of the
> usefulness of blocks is in sorting routines. For example, if you
> write a subroutine or have a method that performs the quicksort
> algorithm, you need to have some method for specifying the
> comparison operation. In C, this is usually solved by passing a
> pointer to a function that compares 2 values and returns a less
> than, equal to, or greater than kind of status. If you had blocks,
> you could pass a block of code instead of a pointer to a function.
>
> David Stes wrote a paper in 1998 where he describes Objective C
> blocks and talks about the syntax for them. You can read it at
> http://users.pandora.be/stes/block98/index.html
>
> Kim
> --
> Kim Shrier - principal, Shrier and Deihl - mailto:kim@tinker.com
> Remote Unix Network Admin, Security, Internet Software Development
> Tinker Internet Services - Superior FreeBSD-based Web Hosting
> http://www.tinker.com/
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep
>
--
Philippe C.D. Robert
Software Engineer
Silicon Graphics, Inc.
- Re: PROPOSAL: Objective-C++, (continued)
Re: Fwd: PROPOSAL: Objective-C++, Richard Dale, 2001/11/14
Re: PROPOSAL: Objective-C++, LHelldorf, 2001/11/16
- Re: PROPOSAL: Objective-C++, Ovidiu Predescu, 2001/11/19
- Re: PROPOSAL: Objective-C++, Kim Shrier, 2001/11/19
- Re: PROPOSAL: Objective-C++, Ziemowit Laski, 2001/11/19
- Re: PROPOSAL: Objective-C++, Kim Shrier, 2001/11/19
- Re: PROPOSAL: Objective-C++,
Philippe C.D. Robert <=
- Re: PROPOSAL: Objective-C++, Björn Gohla, 2001/11/19
- Re: PROPOSAL: Objective-C++, Nicola Pero, 2001/11/19
- Re: PROPOSAL: Objective-C++, David Relson, 2001/11/19
- Re: PROPOSAL: Objective-C++, Erik M. Buck, 2001/11/19
- Re: PROPOSAL: Objective-C++, David Relson, 2001/11/19
- Re: PROPOSAL: Objective-C++, Helge Hess, 2001/11/20
- NSInvocations (was Re: PROPOSAL: Objective-C++), Stephen Brandon, 2001/11/20
- Re: NSInvocations (was Re: PROPOSAL: Objective-C++), Helge Hess, 2001/11/20
Re: PROPOSAL: Objective-C++, Stephen Peters, 2001/11/19
Re: PROPOSAL: Objective-C++, Helge Hess, 2001/11/20