logo       

Re: Using closures to create continuations: msg#00157

Subject: Re: Using closures to create continuations
> Java and C# 2.0 supports closures.
> Is it possible to make seaside-like framework 
> using only closures? 
> What if instead of #call: will be used #call:onAnswer:
> with a closure as second argument?
> Is there any pitfalls?

I am writing a Java framework that borrows a number of Seaside concepts,
though it is not a port of Seaside. It supports closures to manage a
call/answer sequence, and so far there have not been any pitfalls,
though there can be the ugliness of writing Java anonymous inner
classes.

There is a Java framework called "Lakeshore" which is a port of Seaside
to Java and which might provide clues on how to handle closures and
continuations. I have not used it or know much about it:

<http://lakeshore.sourceforge.net/>

As for continuations, at Apache in one of the sandbox repositories there
is some effort to hack the JVM to manage continuations at that level. It
may be interesting work, but frankly the code looks ugly and like
something I would want to avoid. Embedding Scheme into Java would be
another way to add continuations. But that's the problem with Java: the
language becomes a tool to specify API's to program the machine. Even
reflection in Java is only barely tolerable because it's bolted on as
some API instead of being expressed directly in the language.

-Matt


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe