Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Peter von der Ahé, Sun lead for javac
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
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Veloso  
View profile  
(1 user)  More options Apr 6 2007, 3:00 pm
Newsgroups: comp.lang.java.programmer
From: "Veloso" <starlo...@bluebottle.com>
Date: 6 Apr 2007 12:00:10 -0700
Local: Fri, Apr 6 2007 3:00 pm
Subject: Peter von der Ahé, Sun lead for javac
Java.sun.com, Sun's main Java site, has an interview with Peter von
der Ahé, (http://java.sun.com/developer/Meet-Eng/vonderahe/) Sun's
tech lead for javac, Sun's Java compiler, who
claims that if developers know how to use the Compiler API, it will
provide a lot of indirect benefits. But are the benefits sufficient to
repay the time and effort required? Does anyone have experience with
this?

-- He argues, in regard to generics: "Rather than trying to provide
reified types for all instances, why not simply accept that some
instances do not have reified type information, because they are
compiled with a 1.4.2 compiler, or for other reasons? This turns
reification into a best-effort problem: if you use a raw type, then no
type information is reified, but if you avoid raw types, you can take
advantage of the additional reified type information."

Does turning reification into a "best effort problem" make sense to
anyone?

-- His proposal for an alternative to type inference for local
variables involves having the compiler provide the static factories.

-- He discusses the Kitchen Sink Language, (https://ksl.dev.java.net/)
which is a place you can modify javac and play around like the
ultimate geek. Has anyone been engaged in any experimentation there?

He's obviously a smart, creative guy; I lack the competence to guage
the validity of his ideas though, so I thought I'd throw it up in the
air and see what lands...


    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.
Tom Hawtin  
View profile  
 More options Apr 7 2007, 1:52 pm
Newsgroups: comp.lang.java.programmer
From: Tom Hawtin <use...@tackline.plus.com>
Date: Sat, 07 Apr 2007 18:52:12 +0100
Local: Sat, Apr 7 2007 1:52 pm
Subject: Re: Peter von der Ahé, Sun lead for javac

Veloso wrote:
> Java.sun.com, Sun's main Java site, has an interview with Peter von
> der Ahé, (http://java.sun.com/developer/Meet-Eng/vonderahe/) Sun's
> tech lead for javac, Sun's Java compiler, who
> claims that if developers know how to use the Compiler API, it will
> provide a lot of indirect benefits. But are the benefits sufficient to
> repay the time and effort required? Does anyone have experience with
> this?

I think he's claiming benefits for users of certain pieces of software
that will be able now have a standard way of compiling Java source code,
that also has the advantage that it doesn't have to start up a new JVM.

> -- He argues, in regard to generics: "Rather than trying to provide
> reified types for all instances, why not simply accept that some
> instances do not have reified type information, because they are
> compiled with a 1.4.2 compiler, or for other reasons? This turns
> reification into a best-effort problem: if you use a raw type, then no
> type information is reified, but if you avoid raw types, you can take
> advantage of the additional reified type information."

> Does turning reification into a "best effort problem" make sense to
> anyone?

It doesn't introduce any extra incompatibilities. You can use
reification information if you want to. Seems just about perfect to me.
You can't use reification for code compiled with pre-JDK7 javac or
without generics, but then there aren't many schemes where you could.

> -- His proposal for an alternative to type inference for local
> variables involves having the compiler provide the static factories.

I don't see why type inference can't be done for constructed types (have
to tread quite carefully with terminology here - constructors have
exactly the same type inference as methods, but generic constructors
(whether to construct generic types or not) are not well known).

> -- He discusses the Kitchen Sink Language, (https://ksl.dev.java.net/)
> which is a place you can modify javac and play around like the
> ultimate geek. Has anyone been engaged in any experimentation there?

Nope. And I wouldn't really want to under GPL. Nothing stopped anyone
playing about with javac beforehand (like Neal Gafter has done).

Tom Hawtin


    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.
Veloso  
View profile  
(1 user)  More options Apr 10 2007, 2:30 pm
Newsgroups: comp.lang.java.programmer
From: "Veloso" <starlo...@bluebottle.com>
Date: 10 Apr 2007 11:30:55 -0700
Local: Tues, Apr 10 2007 2:30 pm
Subject: Re: Peter von der Ahé, Sun lead for javac
Thanks very much -- your comments are smart and illuminating.


    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
©2009 Google