Google Groups Home
Help | Sign in
invokedynamic: Is It What We Really Need?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Alex Tkachman  
View profile
 More options May 9, 6:55 am
From: "Alex Tkachman" <alex.tkach...@gmail.com>
Date: Fri, 9 May 2008 14:55:04 +0400
Local: Fri, May 9 2008 6:55 am
Subject: invokedynamic: Is It What We Really Need?
Here are my thoughts on invokedynamic proposal.

http://groovyland.wordpress.com/2008/05/09/invokedynamic-is-it-what-w...

Alex


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Wilson  
View profile
 More options May 9, 12:24 pm
From: "John Wilson" <tugwil...@gmail.com>
Date: Fri, 9 May 2008 17:24:07 +0100
Local: Fri, May 9 2008 12:24 pm
Subject: Re: [jvm-l] invokedynamic: Is It What We Really Need?
On 5/9/08, Alex Tkachman <alex.tkach...@gmail.com> wrote:

>  Here are my thoughts on invokedynamic proposal.

>  http://groovyland.wordpress.com/2008/05/09/invokedynamic-is-it-what-w...

I think it's unfortunate that the JSR was started with a solution
(invokedynamic) rather than a problem (implementing dynalangs on the
JVM is hard). This is not reflection on John who came to the JSR long
after it was created.

I have a lot of sympathy for the position that you outline in your
blog post but I would like to wait for the EDR to be published before
coming to a settled view on the matter. The devil is in the details
and I have not seem all the details yet.

John Wilson


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Tkachman  
View profile
 More options May 9, 12:38 pm
From: "Alex Tkachman" <alex.tkach...@gmail.com>
Date: Fri, 9 May 2008 20:38:21 +0400
Local: Fri, May 9 2008 12:38 pm
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?

> I have a lot of sympathy for the position that you outline in your
> blog post but I would like to wait for the EDR to be published before
> coming to a settled view on the matter. The devil is in the details
> and I have not seem all the details yet.

I am totally agree. At the end of the day what I say is that API
understanded by JVM is better then a new bytecode because it is
backword compatible :)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles Oliver Nutter  
View profile
 More options May 9, 2:18 pm
From: Charles Oliver Nutter <charles.nut...@sun.com>
Date: Fri, 09 May 2008 11:18:00 -0700
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?

Alex Tkachman wrote:
>> I have a lot of sympathy for the position that you outline in your
>> blog post but I would like to wait for the EDR to be published before
>> coming to a settled view on the matter. The devil is in the details
>> and I have not seem all the details yet.

> I am totally agree. At the end of the day what I say is that API
> understanded by JVM is better then a new bytecode because it is
> backword compatible :)

Current EDR does not introduce a new bytecode, and prefers to have a
"special" interface for invokeinterface as a marker for dynamic
invocation. The EDR should be public next week.

And although this particular part of the approach would not be
back-portable, I'm planning to work with you and John Rose and others to
create a backport of the anonymous classloading and method handle APIs.
John Rose has also spoken frequently about the importance of solving
these issues on older JVMs as well.

- Charlie


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Rose  
View profile
 More options May 10, 6:46 am
From: John Rose <John.R...@Sun.COM>
Date: Sat, 10 May 2008 03:46:03 -0700
Local: Sat, May 10 2008 6:46 am
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?
Wanting to capture some memories from JavaOne before they fade, and  
hoping to provide some perspective on where the JVM and its languages  
might be going, I have written out some impressions on these things.  
Enjoy:

http://blogs.sun.com/jrose/entry/the_golden_spike

It will be great to discuss the EDR on this list when it comes out  
from the JCP.  I am hoping this will be the primary public venue for  
such conversations.

One caveat:  The EDR is an early draft, and lacks javadocs.  The Java  
APIs are merely sketched.

I will start committing code to the mlvm repo. in coming weeks, and  
then we can make javadocs and talk about the detailed shape of the APIs.

-- John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Wright  
View profile
 More options May 13, 1:53 pm
From: "Patrick Wright" <pdoubl...@gmail.com>
Date: Tue, 13 May 2008 19:53:22 +0200
Local: Tues, May 13 2008 1:53 pm
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?

>  I think it's unfortunate that the JSR was started with a solution
>  (invokedynamic) rather than a problem (implementing dynalangs on the
>  JVM is hard). This is not reflection on John who came to the JSR long
>  after it was created.

See Gilad's old blog entry at
http://blogs.sun.com/gbracha/entry/invokedynamic and other blogs from
around that time. "Last winter we had a meeting with various people
who work on such languages - things like Groovy, Perl, Python/Jython.
Our conclusion was that the most practicable thing was to support
dynamically typed method invocation at the byte code level." There are
some other notes about that meeting floating around on the web
somewhere that were published at the time. If this list had existed
then, we'd have more information about what was discussed back then
and why they came up with the invokedynamic idea.

Regards
Patrick


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Laforge  
View profile
 More options May 13, 1:59 pm
From: "Guillaume Laforge" <glafo...@gmail.com>
Date: Tue, 13 May 2008 19:59:34 +0200
Local: Tues, May 13 2008 1:59 pm
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?
I'd add the our knowledge of implementing dynamic language on the JVM
has evolved a lot since 3 years ago.
The reasons back then may differ with the knowledge we have now.

--
Guillaume Laforge
Groovy Project Manager
G2One, Inc. Vice-President Technology
http://www.g2one.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Wilson  
View profile
 More options May 13, 2:09 pm
From: "John Wilson" <tugwil...@gmail.com>
Date: Tue, 13 May 2008 19:09:46 +0100
Local: Tues, May 13 2008 2:09 pm
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?
On 5/13/08, Patrick Wright <pdoubl...@gmail.com> wrote:

Yes I remember the meeting very well (I wasn't at the meeting but I
was already working on Groovy when it happened). At the time we
expected it to be the beginning of an engagement with Sun on the
problems of getting dynamic languages to run efficiently on the JVM.
The invokedynamic proposal came as something of a surprise to us it
was, and remains, difficult to see how we might have made use of it.
Bracha was not very forthcoming with details and moved on to other
things before he was able to enter into a dialogue.

This mailing list has made a huge difference and it's been very
valuable to be able to exchange information with others who share the
problem. Charlie has done a great job here.

I understand from postings on this and the Groovy list that the
current proposal does not include a new bytecode so perhaps my
original opinion of the utility of invokedynamic was not completely
wrong.

We must, of course, wait for the publication of the proposal before
coming to an informed position this.

John Wilson


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Wilson  
View profile
 More options May 13, 2:26 pm
From: "John Wilson" <tugwil...@gmail.com>
Date: Tue, 13 May 2008 19:26:58 +0100
Local: Tues, May 13 2008 2:26 pm
Subject: Re: [jvm-l] Re: invokedynamic: Is It What We Really Need?
On 5/13/08, Patrick Wright <pdoubl...@gmail.com> wrote:

Tim Bray set the meeting up and this is his report on it
http://www.tbray.org/ongoing/When/200x/2004/12/08/DynamicJava

John Wilson


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google