Should be possible as the FFI supports calls and callbacks, but I'm not
aware of anyone who has tried.  Love the idea, though!

On Sat, Feb 7, 2015 at 6:22 AM, Marmaduke Woodman <mmwood...@gmail.com>
wrote:

> Hi
>
> I'm curious as to the feasability of exporting a C API for a library
> written in Factor.
>
> From the FFI docs, I expect that it would be possible for a small stub
> library in C to initialize the VM and populate a table of alien callbacks
> which could be used from another language... in theory.
>
> Does anyone have any experience with this?
>
> Thanks
> Marmaduke
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to