From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: Minimal Guile Date: Wed, 04 Jan 2012 21:48:16 +0100 Message-ID: <878vlnyz1r.fsf@rotty.yi.org> References: <1324326921.17612.YahooMailNeo@web37905.mail.mud.yahoo.com> <1324483391.16920.YahooMailNeo@web37904.mail.mud.yahoo.com> <87fwfwlavy.fsf@gnu.org> <1325631236.82931.YahooMailNeo@web37908.mail.mud.yahoo.com> <87ty4cgt65.fsf@netris.org> <1325642994.97968.YahooMailNeo@web37905.mail.mud.yahoo.com> <87lipogmic.fsf@netris.org> <87obujp9by.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325710117 6303 80.91.229.12 (4 Jan 2012 20:48:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2012 20:48:37 +0000 (UTC) Cc: Mark H Weaver , Ludovic =?utf-8?Q?Court=C3=A8s?= , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 04 21:48:33 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiXlB-0004IA-4h for guile-devel@m.gmane.org; Wed, 04 Jan 2012 21:48:33 +0100 Original-Received: from localhost ([::1]:33496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiXlA-0003Np-Nw for guile-devel@m.gmane.org; Wed, 04 Jan 2012 15:48:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiXl7-0003NY-3O for guile-devel@gnu.org; Wed, 04 Jan 2012 15:48:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiXl3-0006vw-Ek for guile-devel@gnu.org; Wed, 04 Jan 2012 15:48:29 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:58892) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RiXl2-0006vm-Vt for guile-devel@gnu.org; Wed, 04 Jan 2012 15:48:25 -0500 Original-Received: (qmail invoked by alias); 04 Jan 2012 20:48:23 -0000 Original-Received: from 85-127-150-34.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.150.34] by mail.gmx.net (mp032) with SMTP; 04 Jan 2012 21:48:23 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/8mO8MIlP82FthihshaSEJWRPqNy8RClawFlefe6 A1PHF1JiHZJ63o Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 965AA3A68F; Wed, 4 Jan 2012 21:48:21 +0100 (CET) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZSJ+6qdHvP90; Wed, 4 Jan 2012 21:48:17 +0100 (CET) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 2596B3A685; Wed, 4 Jan 2012 21:48:17 +0100 (CET) Original-Received: by delenn.lan (Postfix, from userid 1000) id CCEB63A2343; Wed, 4 Jan 2012 21:48:16 +0100 (CET) In-Reply-To: <87obujp9by.fsf@pobox.com> (Andy Wingo's message of "Wed, 04 Jan 2012 14:16:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13295 Archived-At: Andy Wingo writes: > On Tue 03 Jan 2012 22:44, Mark H Weaver writes: > >> If this single file is to be built only during the package build >> process, and never modified after that, then it should be super-easy to >> invent your own little homebrew format. > > Indeed. It would be nice to use ELF, though. I'd like to change the > format of .go files to ELF in 2.2. That would allow lots of things, > like having multiple entry points (as for different modules). It would > also help to further separate debug information from code (helping > performance), statically allocating data (lowering allocation, > increasing cross-process sharing), and allowing for extensibility, > including sections for natively-compiled code. > > But if you (or anyone) wants to work on something simpler, that's cool > too :) I do have a Scheme ELF parser around somewhere, and intend to > get back to the "linker" sometime soon. > FWIW, I have written a simple ELF generator in R6RS, which can be found here: http://rotty.xx.vu/gitweb/?p=scheme/avrth.git;a=blob;f=elf.sls;hb=master Regards, Rotty -- Andreas Rottmann --