This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Google Summer of Code
- From: Jamison Hope <jrh at theptrgroup dot com>
- To: "kawa at sourceware dot org list" <kawa at sourceware dot org>
- Date: Thu, 6 Mar 2014 19:00:01 -0500
- Subject: Re: Google Summer of Code
- Authentication-results: sourceware.org; auth=none
- References: <20140305094242 dot 349492d0 at debian-andrebask> <5316F956 dot 8040303 at gmail dot com> <20140305132208 dot 3081f8dc at debian-andrebask> <m2lhwo48vi dot fsf at gmail dot com> <5319088C dot 5060401 at bothner dot com>
On Mar 6, 2014, at 6:45 PM, Per Bothner <per@bothner.com> wrote:
> On 03/05/2014 01:45 PM, Helmut Eller wrote:
>> On Wed, Mar 05 2014, Andrea Bernardini wrote:
>> [...]
>>> Thank you, I will start looking at the code. I also found on the
>>> website the documentation about the internals of Kawa, that should be
>>> useful. I will ask here if I have questions.
>>
>> For the "Optimize switches" project I would also suggest to read
>> Clinger's paper "Rapid case dispatch in Scheme" [1]. The paper
>> describes the kind of optimizations that we, well I, would like to see.
>> The problem is how to integrate the ideas of the paper into Kawa's
>> existing infrastructure.
>
> In addition, we probably want to look at JDK7's switch-on-strings
> feature. Ideally, we'd like to special-case the switch if the expression
> is java.lang.String (most likely using the same implementation as Java),
> and also special-case java.lang.CharSequence (somewhat trickier).
Also enums! Basically anything that's valid for a Java switch.
--
Jamison Hope
The PTR Group
www.theptrgroup.com