From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.guile.user Subject: Re: How best to produce a standalone executable with Guile? Date: Tue, 07 Apr 2020 23:30:48 +0200 Message-ID: <87h7xv2dbr.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="102869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.2.0; emacs 26.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Apr 07 23:32:48 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLvpv-000QgH-CB for guile-user@m.gmane-mx.org; Tue, 07 Apr 2020 23:32:47 +0200 Original-Received: from localhost ([::1]:53624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLvpt-0002Cr-7v for guile-user@m.gmane-mx.org; Tue, 07 Apr 2020 17:32:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40031) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLvo5-0002AZ-HI for guile-user@gnu.org; Tue, 07 Apr 2020 17:30:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLvo3-00009F-C7 for guile-user@gnu.org; Tue, 07 Apr 2020 17:30:53 -0400 Original-Received: from mout.web.de ([217.72.192.78]:56809) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLvo2-00008Q-WD for guile-user@gnu.org; Tue, 07 Apr 2020 17:30:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1586295049; bh=v7/8HQBGILIl2aT2KNXwKzseaIEMJXx81qmk996te0s=; h=X-UI-Sender-Class:References:From:To:Subject:In-reply-to:Date; b=RBHd6aUJOlPXUTQTiLzdnTqc3HFGrO7kPTi4MYU89nwUUkd4yMPObM5Rt+wU07zjC edDVx1XrotZyBvOPofrZMYcsAPpzlbwp558Q9TXZRtMrLMCp7lv1226xJZGOu1jor9 jox2cP2sMQNzgRRgmie+/9UfBlPnRbB3Mf9LeJxQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from fluss ([84.149.93.38]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LaTaN-1istvC01Zn-00mM0h for ; Tue, 07 Apr 2020 23:30:49 +0200 In-reply-to: X-Provags-ID: V03:K1:OR1jLux983tuLxukjD+CMqtVD0b62FvFAFHwgGc3TVU59y4wZTV Q6LkXxNDCNKKolFSvjB6oUL22XahNDxZ5ztvehQqWjsHk8dlWqluUd9t62GPslqMSBHFHtk 9PY+/Hrya5uSlqc1/SrMJKhX3eSuJYOALyfyZWOpnIRSavtA+4vP3IBFRApbGTW47JBJUNo QQcBmlFxV/FuFZACdjfgQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:ULoJdv6IQiU=:xYSaEBZIHGjkQqmdO4AgAO 6Aukcftw//r75KZVvumQTyCBos9FxLU85zZQzOWqFIieioArK4crGdAwNFiVS1CCIsl6tjDAa O9LDzcZwSo9P98APcm1SA+Pubzh9GoUEKmbIUyB/6g8yxj2yGbT/uBPOrDZSl7K3Nf673Kq93 NJ2+J/JdE/aZuSfTrgq7L+QVusKQiSFzupa981QfsdAva9mvkKbdHKcQSXjcCCU05sxH5SBMO URa5i6PBOjCgNZyIm1z5Kg2JMTg1Hj8YvzqdGF5xHMdzdcLodHHxpp65J01isJ7UCzYVTBQHh Po46YauiPsQEanwp5pjTpoCqhUV7FTn1ZYOjYlufim7KsJ81b7pEiSz7WEoLDCi9h5ALnTmZN hAfjpsqpEKCzuzR2zh5rOlHJOHeQysK+OI1cpQoIM56dP88RfdDuiCrl4HZrzwAvqDAg2eUEs lqlzTO1uKqBWf1OU9yCxESmpKjCA2U2q/rbfdXuQ59vORKLQiG6sOTH+bndjMPkpOmTzj1zis nmVWmP7eaJ+C4SUZINDXfpYPpxuKKExn0fAb5u+AOiOWxWBvIpNp5nBpQrnDDI3bRq3DMMSo2 mcJq7ibmtvQeoYGkcdE5I3FlEffA2x83yVa2INcxPX3TGjyzzBGn0DAR6GdSQk+fTlQNgvCJ3 gpDf3oqe8mpnwbU2hZkuCLS2yOqCsZekh7xCpBXO0lNNHTuT8mnkH7HODdQ0/fEyIwURsuc/z Pht5QG7O+hlpsihE7WOHO6Xgu1u6qheHtEB5z45zZjWzi6HGAe/opUizc5EIyD4F+Eiym/1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.78 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16375 Archived-At: Hi James, James Cooper writes: > Am I correct in understanding that guild essentially is what the Guile > runtime will use to compile my source files before executing them? Not quite. Guile does create bytecode, and guild can create it, but this also happens during normal execution. For some tasty details see https://wingolog.org/archives/2014/01/19/elf-in-= guile > traditional executable is that I'm planning to run comparative benchmarki= ng > directly on equivalent versions of the same program in different language= s, > and I *think *that will work a lot better if I can specify an executable This sounds pretty interesting. Before you run this, though, please get the help of experienced Guile programmers. I have an example of a string-handling procedure which got more than 160x faster thanks to help from others here. No typo there: It really got more than hundred-and-sixty-times faster. Best wishes, Arne -- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken