From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.user Subject: Low level things in C or Scheme [was Stupid module and pregexp questions] Date: Tue, 29 Apr 2003 10:12:43 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20030429081243.GA18455@www> References: <20030428175342.GA15667@www> <9c0db84ca1f62a523f9acef422573520@bouncing.localnet> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051601061 18384 80.91.224.249 (29 Apr 2003 07:24:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2003 07:24:21 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Apr 29 09:24:20 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19APTP-0004mM-00 for ; Tue, 29 Apr 2003 09:24:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19APTG-0006iy-00 for guile-user@m.gmane.org; Tue, 29 Apr 2003 03:24:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19APQB-0005wP-00 for guile-user@gnu.org; Tue, 29 Apr 2003 03:20:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19APQ9-0005vg-00 for guile-user@gnu.org; Tue, 29 Apr 2003 03:20:58 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19APPw-0005tm-00 for guile-user@gnu.org; Tue, 29 Apr 2003 03:20:44 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 76AFF1457F; Tue, 29 Apr 2003 10:12:43 +0200 (CEST) Original-To: MJ Ray Content-Disposition: inline In-Reply-To: <9c0db84ca1f62a523f9acef422573520@bouncing.localnet> User-Agent: Mutt/1.5.3i X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1868 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1868 On Mon, Apr 28, 2003 at 06:55:26AM -1100, MJ Ray wrote: > On 2003-04-28 18:53:42 +0100 tomas@fabula.de wrote: > > >Call me conservative, what not. I'd think You'd Write A Regexp Lib In > >C (TM). > > Why do you want to tie one hand behind your back like that? Scheme is > such a beautiful language that we should have a good, optimised, tight > core and then as much as possible of the remaining system written in > Scheme, possibly compiled down, maybe through C, for speed of loading > when necessary. Some things have to interface with the outside world > and may need to have C layers for that reason, but regular expressions > aren't one of them. Uh, oh. I think we touch a Deep Philosophical Thing (TM) here :-) In theory, Scheme can be as efficient as C (a sloppy way of expressing that a Scheme program, given the right Scheme implementation, etc.). Still, I think it comes at a price (in terms of a sophisticated Scheme implementation, and it seems there are (practical) tradeoffs in the trio code efficiency -- eval flexibility -- complexity of implementation). Of course, if we can have our cake and eat it, I'm all for it, but I'm comfortable with the idea of a layered system where you do the low-level things in one language and the high-level things in another. It correlates quite well with the layering of software and thus feels (to me) very natural. Sorry for the hand-waving :-) Regards -- tomas _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user