lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


pocomane:

On Wed, May 15, 2019 at 7:31 AM pocomane <pocomane_7a@pocomane.com> wrote:
... Snip, snip...,
> > Le mar. 14 mai 2019 à 17:47, Francisco Olarte <folarte@peoplecall.com> a écrit :
> >> Why do you need this? I did a similar thing, more or less:
>
> I did this mostly to avoid messing with emscripten interface. I liked
> to keep that code small, and write as much as I can in the sole lua
> and javascript. However, I agreed with you: a proper C api published
> to the lua interpreter is better than my proposed solution. This is
> why I was asking for alternative in my fist message.

Ok, I see it. No C code wanted, gluing is more difficult. I normally
have some c/c++ gluing every system around, so I do not have this kind
of problems.

Francisco Olarte.