From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William ML Leslie Newsgroups: gmane.lisp.guile.devel Subject: Re: Dynamic FFI vs Static FFI (was Re: About Guile crypto support) Date: Thu, 14 Feb 2013 18:21:41 +1100 Message-ID: References: <1359896146.2754.19.camel@Renee-desktop.suse> <871ucvof60.fsf@gnu.org> <1360032192.2754.61.camel@Renee-desktop.suse> <87mwvisqwj.fsf@gnu.org> <878v6yojxg.fsf@gnu.org> <87sj55bjxz.fsf@gnu.org> <1360576299.5068.20.camel@Renee-desktop.suse> <87pq06x9ms.fsf_-_@tines.lan> <87fw11wsef.fsf@gnu.org> <87halhxuey.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1360826511 21602 80.91.229.3 (14 Feb 2013 07:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 07:21:51 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Feb 14 08:22:13 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5t8y-00083q-Q2 for guile-devel@m.gmane.org; Thu, 14 Feb 2013 08:22:08 +0100 Original-Received: from localhost ([::1]:36792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5t8f-0002gv-4F for guile-devel@m.gmane.org; Thu, 14 Feb 2013 02:21:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5t8a-0002gk-Qa for guile-devel@gnu.org; Thu, 14 Feb 2013 02:21:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5t8Z-0008Sx-7u for guile-devel@gnu.org; Thu, 14 Feb 2013 02:21:44 -0500 Original-Received: from mail-bk0-f46.google.com ([209.85.214.46]:52828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5t8Y-0008Ss-VU for guile-devel@gnu.org; Thu, 14 Feb 2013 02:21:43 -0500 Original-Received: by mail-bk0-f46.google.com with SMTP id j5so934012bkw.33 for ; Wed, 13 Feb 2013 23:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=aSpIka53pF+TndSSBQxSzHF2zJpXooxZJSBSt/OZVYE=; b=VfPN8nHimO9ZqVw8JRwS0KOvzNP0BLayF/iFPg8lrMefX0H4+aECSKb1oG9w2zlvcv OeO6YJcdtgbfLjXi8hp1drlsYjxW5/CSHfDRxwbx9sRGrsv+dxC9Sh2CIFwt9q5Yyv4t 72APF63GW5ritLdxBjpbowu5CZt80vNud5z59kB7OSkrqhofKrdzR6wZ1FfTM3ZMTOnc oJ3YB0G5Gs4qKth1TRSdZl55o1gFX69JRBGGQijZXU0KcvK7vFz0zmgmsqP4I2OHqXii MBZHZ5c+a7KoOaBUV2TxSaJyxgTSRSjljXo5SI/uwcB+sFF4X/Xm1j/VoqHLyfaC8ACm Gf9w== X-Received: by 10.204.7.144 with SMTP id d16mr7512542bkd.48.1360826501578; Wed, 13 Feb 2013 23:21:41 -0800 (PST) Original-Received: by 10.204.42.75 with HTTP; Wed, 13 Feb 2013 23:21:41 -0800 (PST) In-Reply-To: <87halhxuey.fsf@tines.lan> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.214.46 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15740 Archived-At: On 13 February 2013 05:24, Mark H Weaver wrote: > Okay, but here I'm using "Static FFI" to mean something very different > than the C API: I'm talking about a pure scheme-based API that would be > quite similar to the API our current dynamic FFI, except that a lot of > the work would be done at compilation time (probably during macro > expansion). Maybe even something like LuaJIT FFI or python's CFFI - that can parse C code at compile time to produce the data structures for the dynamic FFI? -- William Leslie