[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Two projects up for adoption
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 19 Sep 2010 16:52:16 +0200
On Sat, Sep 18, 2010 at 10:04 PM, David Manura <dm.lua@math2.org> wrote:
> In wrapping a large API, there can be a lot of redundant coding. I
> would prefer a data-driven approach where the Lua binding code is
> automatically generated from an API description.
This is the approach taken in lua-gnome, which uses gccxml to crunch
all the headers and provide bindings for over 7000 functions, but the
resulting library is still less than 400K.
There was a discussion sometime back of using Alien with
auto-generated signatures to do the same thing for Win32.
The _utopian_ situation is a somewhat higher level set of libraries
which provide equivalent functionality on different platforms in a
uniform way. All modern operating systems do shared memory or async
i/o, but the details differ. Ideally a programmer could rely on an
abstracted view of these OS services.
steve d.