[Haskell] TABI 0.1: a typeful tagged cross-language calling convention

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Jul 21 09:51:04 EDT 2009


i've uploaded very preliminary version of TABI to

Shortly speaking, while with cdecl calling convention you pass
parameters by position, TABI passes parameters by name and annotates
each parameter with its type

It may be used in following situations:

    * providing interoperatbility between C, Haskell and any other
    languages while avoiding complexity of language-specific FFI
    descriptions. For example, Lua function may receive all parameters
    as the table
    * passing complex datastructures between various languages forth
    and back, providing faster alternative to serialization approach

    * implementing APIs that may be extended without losing
    compatibility - new services and parameters may not be supported
    by all client and server implementations but everything will work

... read the rest at http://code.google.com/p/tabi/

issue tracker and SVN repository is also there

Best regards,
 Bulat                          mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell mailing list