From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: data-crunching in guile Date: Fri, 26 Jun 2009 22:25:04 +0100 Message-ID: <874ou2lmbz.fsf@arudy.ossau.uklinux.net> References: <86r5x891t1.fsf@gnu.org> <87y6rgszfw.fsf@arudy.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246051566 10266 80.91.229.12 (26 Jun 2009 21:26:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2009 21:26:06 +0000 (UTC) Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jun 26 23:25:59 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MKIvm-0006fm-0y for guile-devel@m.gmane.org; Fri, 26 Jun 2009 23:25:58 +0200 Original-Received: from localhost ([127.0.0.1]:50077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKIvl-0006eR-84 for guile-devel@m.gmane.org; Fri, 26 Jun 2009 17:25:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKIvf-0006dw-9e for guile-devel@gnu.org; Fri, 26 Jun 2009 17:25:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKIva-0006d6-8u for guile-devel@gnu.org; Fri, 26 Jun 2009 17:25:50 -0400 Original-Received: from [199.232.76.173] (port=36751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKIva-0006d3-3X for guile-devel@gnu.org; Fri, 26 Jun 2009 17:25:46 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:42628) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKIvX-0003Oi-Nt; Fri, 26 Jun 2009 17:25:44 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id A06761FAC49; Fri, 26 Jun 2009 22:25:05 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id BAC843801F; Fri, 26 Jun 2009 22:25:04 +0100 (BST) In-Reply-To: (Andy Wingo's message of "Fri\, 26 Jun 2009 16\:37\:58 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8776 Archived-At: Andy Wingo writes: > Hi Neil! Hi Andy! > On Fri 26 Jun 2009 00:47, Neil Jerram writes: > >> Thanks, I see now. But presumably even VM code will frequently call >> out to primitives all over libguile, won't it? > > Over time, I'd say no. I see functions written in C migrating over to be > written in Scheme, like PLT did recently with `map'. We should port > srfi-1 back to Scheme I think :) Not to mention silly things like > string-any being in boot-9... > > There's no reason for Scheme to be slow. Of course, this is the "over > time" view, currently we're not there... > > And yet, disassemble the functions that you use regularly, and often you > find they just use VM ops, and don't call out to primitives. That shows > that the VM is, while virtual, still quite a good machine for > computation. Fair enough, I can see that now. In other words, that there will be long enough passages of pure VM code to make the VM code size important. Neil