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.devel,gmane.lisp.guile.user Subject: Re: Worrying development Date: Fri, 16 Jan 2004 12:59:37 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20040116115936.GC27205@www> References: <1074246064.6729.23.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1074257056 16465 80.91.224.253 (16 Jan 2004 12:44:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2004 12:44:16 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jan 16 13:44:10 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhTKc-0006JK-00 for ; Fri, 16 Jan 2004 13:44:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhTJv-0000zQ-Ex for guile-devel@m.gmane.org; Fri, 16 Jan 2004 07:43:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AhTEj-0000jt-9B for guile-devel@gnu.org; Fri, 16 Jan 2004 07:38:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AhSnW-0005JQ-Hq for guile-devel@gnu.org; Fri, 16 Jan 2004 07:10:29 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhSdc-0004Uq-4T; Fri, 16 Jan 2004 06:59:44 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 1B67D14550; Fri, 16 Jan 2004 12:59:37 +0100 (CET) Original-To: Roland Orre Content-Disposition: inline In-Reply-To: <1074246064.6729.23.camel@localhost> User-Agent: Mutt/1.5.3i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.lisp.guile.devel:3229 gmane.lisp.guile.user:2610 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2610 On Fri, Jan 16, 2004 at 10:41:05AM +0100, Roland Orre wrote: > At the moment I'm somewhat in a crisis how to continue with guile. [about the disappearing of shared substrings in Guile] Hrm. I wasn't very happy with this decision either. But since Dirk et al were doing the grunt work and I had nothing to contribute, I decided to shut up. As far as I remember, the main reasons for this step were simplicity (with shared substrings you get to choose between changes propagating from substrings to the containing string (you don't always want that, although sometimes), a copy-on-write implementation. Which is right?). Besides, with non-shared substrings, you may guarantee null-termination which helps naďve C interfacing (not a major advantage to my eyes, but...). I'd propose to implement a higher-level library (perhaps using GOOPS) in which strings (or more generally arrays) are implemented as (lists/trees/arrays) of arrays. That'd help designing an interface, and when done (and if necessary), re-implementing as smobs in C (or steal a datatype ;-) Opinions? -- tomás _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel