From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jason R. Green" Newsgroups: gmane.lisp.guile.devel Subject: Guile and GSL Date: Sun, 7 Mar 2010 12:38:21 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1267965541 25407 80.91.229.12 (7 Mar 2010 12:39:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Mar 2010 12:39:01 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Mar 07 13:38:54 2010 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.69) (envelope-from ) id 1NoFkz-00022L-3y for guile-devel@m.gmane.org; Sun, 07 Mar 2010 13:38:53 +0100 Original-Received: from localhost ([127.0.0.1]:50803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoFky-0002Ub-JQ for guile-devel@m.gmane.org; Sun, 07 Mar 2010 07:38:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoFku-0002UT-Sd for guile-devel@gnu.org; Sun, 07 Mar 2010 07:38:48 -0500 Original-Received: from [140.186.70.92] (port=52951 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoFks-0002UK-3O for guile-devel@gnu.org; Sun, 07 Mar 2010 07:38:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoFkp-0003bC-Bd for guile-devel@gnu.org; Sun, 07 Mar 2010 07:38:45 -0500 Original-Received: from mail-fx0-f222.google.com ([209.85.220.222]:33822) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoFkp-0003b0-7E for guile-devel@gnu.org; Sun, 07 Mar 2010 07:38:43 -0500 Original-Received: by fxm22 with SMTP id 22so1263373fxm.26 for ; Sun, 07 Mar 2010 04:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=Ogwm0QLIfWc5WcpKsvGkiywoeXfOoW/qOwRcQl5rojU=; b=nYMAkSIYUf2K2QAd3W0d4NycxXmcbLC6fp5BG4bLeN4OETHap3v/vRLVjVa68zYC8W 9ygYQ2XmP6e7WQcDjK2nU+jinlRA/gjuWUdYkpY+q/PrY9/gAp5XSmC72ac1/ibiy1II DeG2c5BkJHs7Ds2WQKVkIbuJJ4NehhVqgl08U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=cUsWMTGYQktSN2ZQr7XfA5kMbOR7SJvSE6p/2u2LbIj/N/u78ck+JfdHssXv8txGG4 s9lscIcnaXeQGmoEtuPOCaD9A1PG1q6GXKZq/+GD7oumJAdajYjtJawY/xU3k4yr1Kgw 0US6Kd72lOEdvHniu9JQcQ6/KftLxzxL0t89A= Original-Received: by 10.223.15.21 with SMTP id i21mr4059307faa.58.1267965521146; Sun, 07 Mar 2010 04:38:41 -0800 (PST) X-Google-Sender-Auth: 1a9efcc19b941b69 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:10026 Archived-At: Guile and GSL are two great GNU packages for building scientific computing software. In my own work I need support for GSL data types (e.g., vectors, matrices) and my own types built from them. I know this has come up in the past: (1) http://www.gnu.org/software/guile/manual/html_node/Starting-and-controlling-the-interpreter.html (2) http://sources.redhat.com/ml/guile/1998-10/msg00332.html (3) http://sources.redhat.com/ml/guile/1998-10/msg00431.html I also read about a similar project (http://community.schemewiki.org/?GEE-Guile-GSL) being withdrawn from Gna! but I can't find the thread now. What is the current consensus in the guile-devel community? Is there interest in this line of development? I'm a user of GSL and new to Guile, but I've tried to make some progress in this direction with the scm_ interface. What I've done rather closely follows the Guile manual and the available tutorials, like Michael Gran's book ``How to extend C programs with Guile''. Though it isn't much, I'd be happy to share what I have so far. I have gsl_matrix and gsl_vector smobs, their make, mark, free, and print functions, as well as wrapper functions that zero each. I also have functions for converting between GSL and SCM vectors. Unfortunately, as discussed in the threads at (2) above, defining new smobs may not be the best approach. I'm willing to learn and contribute to future development, would appreciate any advice on how to best proceed, and welcome any thoughts or suggestions. Thanks, Jason Green