unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zajcev Evgeny <lg.zevlg@gmail.com>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: Juri Linkov <juri@jurta.org>, joakim@verona.se, emacs-devel@gnu.org
Subject: Re: FFI
Date: Mon, 19 Apr 2010 10:39:37 +0400	[thread overview]
Message-ID: <868w8kosie.fsf@gmail.com> (raw)
In-Reply-To: <878w8k8q57.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Sun, 18 Apr 2010 22:25:08 +0200")

Florian Weimer <fw@deneb.enyo.de> writes:

> * Zajcev Evgeny:
>
>> As you can see there are only strings, and numbers (boolean type is
>> done via dinamic type/value translators implemented in ffi)
>
> Numbers are problematic because SQLite can return 64 bit signed
> integers.  AFAICS, those are readily represented on SXEmacs, but not
> on Emacs.

that won't be a problem to get it working after all, you can represent
ffi data on lisp level as you want it to, using types translators.
Types translator is lisp level thingie..

my interest is to have compatible FFI in GNU Emacs and (S)XEmacs (at
least on high level, read lisp level), so two communities could reuse
bindings.  SXEmacs already have working and pretty tested interfaces
to:

 - Xlib
 - curl
 - sqlite
 - Wand        
 - libgcrypt

and few others.

Wand bindings enabled us to implement pretty astonishing image
viewer/editor inside SXEmacs, it can even do red-eye reduction on
production level and mordern liquid rescale :) - to get more about, it
click on:

http://sxemacs-en.blogspot.com/2009/12/wand-mode-image-viewer.html
and
http://sxemacs-en.blogspot.com/2009/12/wand-mode-new-features_27.html

bindings implementations mostly does not use any SXEmacs specials, the
code is very common and I'm pretty sure it can be used in GNU Emacs
without much problems.

We are also working on some complex, but interesting bindings to
libtelepathy in order to create tool for multiprotocol IM and
collaborative editing in SXEmacs.  This is pretty time consuming task
and we surely need a help, if GNU Emacs community will have same FFI
API then we could unite our efforts to enhance Emacsen..

As I noticed before, I can port and maintain FFI implementation for
GNU Emacs, but i need some kind of guaranties that community will
accept it, so my work won't be a waste of time..

thanks

-- 
lg




  reply	other threads:[~2010-04-19  6:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-17 19:55 Embedding SQLite Florian Weimer
2010-04-17 21:58 ` Deniz Dogan
2010-04-18  3:21   ` John Wiegley
2010-04-18  3:52     ` Juanma Barranquero
2010-04-18  5:39       ` tomas
2010-04-18  6:43         ` joakim
2010-04-18  8:09           ` FFI (was: Embedding SQLite) Juri Linkov
2010-04-18  8:22             ` FFI Florian Weimer
2010-04-18 18:53               ` FFI Zajcev Evgeny
2010-04-18 20:25                 ` FFI Florian Weimer
2010-04-19  6:39                   ` Zajcev Evgeny [this message]
2010-04-19  7:31                     ` FFI joakim
2010-04-19  8:33                       ` FFI Zajcev Evgeny
2010-04-19  7:44                     ` telepathy (was: FFI) Michael Albinus
2010-04-19  8:25                       ` telepathy Zajcev Evgeny
2010-04-19  8:56                         ` telepathy Michael Albinus
2010-04-20  2:28                       ` telepathy (was: FFI) Jan Moringen
2010-04-20  7:15                         ` telepathy Zajcev Evgeny
2010-04-20  8:26                         ` telepathy Michael Albinus
2010-04-21  2:00                           ` telepathy Jan Moringen
     [not found]                     ` <jwv4oj7d07h.fsf-monnier+emacs@gnu.org>
2010-04-19 13:52                       ` FFI Florian Weimer
2010-04-19  8:43                   ` FFI Andreas Schwab
2010-04-18  6:53     ` Embedding SQLite Florian Weimer
2010-04-18  9:33     ` Leo
     [not found] ` <jwvy6gked8g.fsf-monnier+emacs@gnu.org>
2010-04-18 20:23   ` Florian Weimer
2010-04-19 18:26 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868w8kosie.fsf@gmail.com \
    --to=lg.zevlg@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=fw@deneb.enyo.de \
    --cc=joakim@verona.se \
    --cc=juri@jurta.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).