txiki.js icon indicating copy to clipboard operation
txiki.js copied to clipboard

Native Libraries

Open UserFive5 opened this issue 2 years ago • 1 comments

Is There Any way that you can add the header quickjs-libc.h and quickjs-libc.c from quickjs so we can import native Libraries?

UserFive5 avatar Apr 14 '22 08:04 UserFive5

I don't want to bundle the entire libc that QuickJS provided, I have reimplemented most of it on top of libuv already.

Binary modules are the one missing part but it's not a technical problem, but a design one at this point.

I'd like to go the FFI route instead of the native modules route.

saghul avatar Apr 14 '22 09:04 saghul

FFI support is builtin now.

saghul avatar Apr 11 '24 13:04 saghul