From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Come back and graphical installer Date: Wed, 24 Oct 2018 15:23:55 +0200 Message-ID: <87zhv31nro.fsf@gnu.org> References: <87lg6sejwa.fsf@gmail.com> <20181022170731.13db3f3b@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFJ8w-0005P0-Gy for guix-devel@gnu.org; Wed, 24 Oct 2018 09:24:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFJ8f-0004uE-Th for guix-devel@gnu.org; Wed, 24 Oct 2018 09:24:05 -0400 In-Reply-To: <20181022170731.13db3f3b@scratchpost.org> (Danny Milosavljevic's message of "Mon, 22 Oct 2018 17:07:31 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: Guix-devel Hello Danny! Danny Milosavljevic skribis: > I agree. I've been meaning to write parted bindings for guile, but > I got side-tracked with https://github.com/daym/guile-gcc-unit which > can extract prototypes out of gcc source files (in order to automate > wrapper generation). Now I'm motivated to pick it up again. Fun, and an interesting approach! In a similar vein, did you read about Matt Wette=E2=80=99s =E2=80=9CFFI hel= per=E2=80=9D that comes with Nyacc? It shares the same goal of automatic generation of Guile bindings and apparently it works well enough that Matt has been able to use it for pretty large and non-trivial libraries. > Maybe I should just have written the bindings manually - I would have > been done a long time ago ;-) Heheh, talk about shaving yaks. :-) Personally I=E2=80=99m not entirely sure automatic binding generation is wo= rth the effort in general, because =E2=80=9Cgood=E2=80=9D bindings necessarily = require manual intervention, at least to provide an API that meshes well with the target language and its conventions. Parted has a streamlined consistent object-oriented API, so I think it Shouldn=E2=80=99t Be Hard (ah ha!) to write bindings, with or without autom= atic generation tools. Ludo=E2=80=99.