Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 56267 invoked from network); 22 Feb 2004 19:49:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Feb 2004 19:49:33 -0000 Received: (qmail 82707 invoked by uid 500); 22 Feb 2004 19:49:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 82679 invoked by uid 500); 22 Feb 2004 19:49:19 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 82664 invoked from network); 22 Feb 2004 19:49:19 -0000 Received: from unknown (HELO out001.verizon.net) (206.46.170.140) by daedalus.apache.org with SMTP; 22 Feb 2004 19:49:19 -0000 Received: from verizon.net ([4.40.114.87]) by out001.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040222194923.XEPF25581.out001.verizon.net@verizon.net> for ; Sun, 22 Feb 2004 13:49:23 -0600 Message-ID: <40390795.7090801@verizon.net> Date: Sun, 22 Feb 2004 11:48:37 -0800 From: Christopher Oliver User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Java continuations with joeq References: <13EA8488-648C-11D8-8E8F-000393CFE402@apache.org> In-Reply-To: <13EA8488-648C-11D8-8E8F-000393CFE402@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [4.40.114.87] at Sun, 22 Feb 2004 13:49:23 -0600 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bertrand Delacretaz wrote: > Le Samedi, 21 f�v 2004, � 17:13 Europe/Zurich, Christopher Oliver a > �crit : > >> ...I did some informal tests and it appears to actually be slower >> than interpreted Rhino (not sure exactly why, perhaps because Rhino >> bytecodes are higher level), but was significantly faster than >> BeanShell (which is a Java source code interpreter). > > > Is it a lot slower, do you think it would make a significant difference? > My opinion: probably not. However, I just thought of another drawback with using Joeq's interpreter, namely you wouldn't be able to debug it with a standard Java debugger. The Brakes-like approach doesn't have this limitation. In addition, since that approach simply modifies the bytecode it would still be optimized by Hotspot and would still outperform any scripting language. Torsten, what's the status of your work on this? Chris