From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Input needed: Plan for packaging scala Date: Tue, 14 Mar 2017 15:56:29 +0100 Message-ID: <87mvcnx5ya.fsf@elephly.net> References: <878tovwt43.fsf@gmail.com> <20170224194522.30b2ac58@scratchpost.org> <878touupj6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnnsT-0008VQ-Hi for guix-devel@gnu.org; Tue, 14 Mar 2017 10:56:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnnsO-0007pt-O6 for guix-devel@gnu.org; Tue, 14 Mar 2017 10:56:45 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cnnsO-0007nt-Gc for guix-devel@gnu.org; Tue, 14 Mar 2017 10:56:40 -0400 In-reply-to: <878touupj6.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Katherine Cox-Buday Cc: guix-devel@gnu.org Hi Katherine, >> It seems you already did the hard work of finding out how to bootstrap >> Scala. (I think that writing the package definitions is the easy >> part. Finding the Scala versions that can be compiled by Java and then >> compile the correct newer Scala version using it is the hard part) > > Looks like not quite! After speaking to some friendly scala community > members, it looks[1] like the bootstrapping process is much more > harrowing. The last version of scala which only used Java to compile was > pre 2.0 (for reference the 2.0 commit appears to be here[2]). So we'd be > looking at a chain of scala packages numbering possibly in the hundreds > and going back 10+ years. I just found out about http://www.scala-native.org. It’s a project to build a stand-alone Scala compiler on top of LLVM. Version 0.1 has just been released. Maybe this could be used to build the build tools needed to build an initial version of Scala on top of the JVM? Sounds better to me than having to go back in time for a fragile bootstrap. What do you think? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net