Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 39238 invoked from network); 30 Mar 2009 15:31:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Mar 2009 15:31:07 -0000 Received: (qmail 8512 invoked by uid 500); 30 Mar 2009 15:31:06 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 8434 invoked by uid 500); 30 Mar 2009 15:31:06 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 8423 invoked by uid 99); 30 Mar 2009 15:31:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 15:31:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rednaxelafx@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 15:30:55 +0000 Received: by wf-out-1314.google.com with SMTP id 23so2484521wfg.24 for ; Mon, 30 Mar 2009 08:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=N/Y8yFhbzlIsyBR7AsQeewpJYaqsgEGc0WV+URdZWgA=; b=X68NMReFWi6yoG1oiHaR3qIcrfokozx0R9ZLny7yOIbXtxjHN6NaeisLe2WIrazl3i qZ9a91cXBJ6FtTyAlW6vfbN47xuTcZLRIGxpitUt7/4aV/FPp7KXDiKQ0wN6kiQju+OD vYcuMtm6Az/MV1203b22qVmcWIzm1X4cpuPxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CRZxUM9p7MUpN345tRmvLLRm0/6fQcLsiCXkUlRAozVleqvjTp4YHmnzzaAocGJI55 RggBVoHQKoEKq7Rtdu05wI5AN6zgs2x2tFrCas2yhq8j1IjSVks8FW+wRXhADAFxpCgE v7UBLelJZ8cuQYDFPocMNy1q19B/LxwOCfzGU= MIME-Version: 1.0 Received: by 10.142.84.5 with SMTP id h5mr2169353wfb.81.1238427034670; Mon, 30 Mar 2009 08:30:34 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Mar 2009 23:30:34 +0800 Message-ID: Subject: Re: [GSoC] Interested in harmony-JIT-1 From: Krystal Mok To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=001636e910ef7b58c9046657c362 X-Virus-Checked: Checked by ClamAV on apache.org --001636e910ef7b58c9046657c362 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hi Alexei, Thank you for your advice. By "patch", are you suggesting a patch against the current Jitrino so that it modifies the current behavior for demo purpose, and/or the structure of code? By "prototype", is it good enough to build a simple JITter of some sort, say from a very simple bytecode instruction set to x86, instead of prototyping the whole JVM's instruction set? Time is very crucial, but during this week it's really hard for me to do anything significant, because I've got a few exams to take, from tomorro= w on until Friday. Hopefully I can get something out of the night time... Thanks, Krystal Mok, Nanjing University 2009/3/30 Alexei Fedotov > Hello Krystal, > > I like a free style of your proposal. JIT is a complicated subject. It > would be nice if you demonstrate your strong C++ coding skills by > creating a useful patch or a prototype. > > Thanks! > > > > On Mon, Mar 30, 2009 at 4:43 PM, Krystal Mok > wrote: > > Hello everyone, > > > > This is Krystal Mok from Nanjing University, Nanjing, China. I'm in my > last > > year of as undergraduate. > > > > A little bit on my experience first: > > I've been enthusiastic in language design and implementation since my > > freshman year in college. I've read materials on compilers and virtual > > machines, including introduction material to Harmony back in 2006. I to= ok > > compiler's introductory course, and after that I've implemented a few > > complete compilers as part of my enthusiasm. > > My interest in VM's began when I played games built with an open-source > game > > engine called Kirikiri2 (http://kikyou.info/tvp/). It has a > JavaScript-like > > scripting language, and the underlying runtime is implemented as a > > big-switch style bytecode-interpreter. I took a lot of time to dig into > the > > details, and learned a lot from it. Although I learned Java before comi= ng > > across Kirikiri2, I thought JVMs might be too complicated to dig deep > into. > > But after getting into Kirikiri2, I was fascinated by VMs and read a lo= t > of > > things on various implementations of High-level Language VMs, including > > JVM's spec, Mono, SpiderMonkey, CPython/IronPython, Parrot, to name a > few. I > > implemented a simple big-switch style interpreter myself, but have neve= r > > implemented JITters yet. > > I didn't read Hotspot's sources, though, so I don't know what other JVM= 's > > JIT implementations really look like. I was a little bit worried of my > lack > > of experience in the particular field of JITters, but according to > Harmony's > > clean-room policy, this turns out not to be too bad :-p > > > > Alright, back to GSoC. I'd like to have a chance to anticipate in > > harmony-JIT-1. I've just set up the build environment to get started on > > Harmony. Looks like it'll take some design work to separate JET with OP= T, > > but unfortuanately I'm taking 3 exams this week so I don't have the tim= e > to > > browse through the sources before GSoC 2009 submission's deadline. How > > specific should the ideas be in submissions? > > > > I'm new to this list and Harmony's community, and any advice or > > feedback would be very appreciated. Thanks in advance. > > My blog is http://rednaxelafx.javaeye.com/. It's in Chinese, but I'd > happily > > speak and write English and Japanese as well. Looking forward to hearin= g > > from you all. > > > > Cheers, > > Krystal Mok > > Nanjing University > > > > > > -- > With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9 =D0=CF=D6=C5=CC=C1= =CE=C9=D1=CD=C9, > Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF=D4=CF=D7, > http://www.telecom-express.ru/ > http://people.apache.org/~aaf/ > --001636e910ef7b58c9046657c362--