@jrhawley is a memory hog too (of course Python in general also tends to use up lots of memory).
is probably the best solution out there for data management and queries: sqlite3 interface, server less, static type lang api that should allow for embedding either via or .
are the big pic considerations when one is using those in multilang implementations.

#pandas #duckdb #c #swig #ffi #ipc

Last updated 2 years ago

I've always used to create interfaces to , but I noticed there is a package Platypus that is a wrapper over libffi.
Any comparative experience?

#swig #perl #clang #c #metacpan

Last updated 2 years ago

We Built This City · @webuiltthiscity
1064 followers · 1583 posts · Server sutrofan.com

If you’re a fan of the amazing sugar cookies and are bummed we can’t get them here (my friend brings them from Utah!), this copycat recipe turned out pretty well! melskitchencafe.com/the-best-s

#swig #baking #cookies

Last updated 2 years ago

Mark Gardner ‍:sdf: · @mjgardner
650 followers · 3930 posts · Server social.sdf.org

@EndlessMason Almost every “safe” language has some kind of foreign function interface where guarantees break down. has JNI, Microsoft .NET has P/Invoke, and just calls theirs .

Perl’s XS is a glue language mostly made up of macros that lets you wire up Perl’s guts to C code. There are also alternatives like and FFI::Platypus, the latter of which uses a separate portable library (written in C, natch) that can talk to lots of calling conventions, not just C.

#java #rust #ffi #c #swig

Last updated 2 years ago

Tycho Softworks · @tychosoft
346 followers · 4934 posts · Server fosstodon.org

There is a brilliant and simple header-only C++ library to do rpc over tcp, but of course it is tied to C++, and so would not integrate with anything else, unless maybe thru , which is a level of complexity, like protobuf, that I do not want.

#swig

Last updated 2 years ago

Adam ♿ · @voltagex
389 followers · 841 posts · Server aus.social

got further by hacking the binding to # define __LA_MODE_T unsigned short (there's still compatibility code in there for FUCKING BORLAND C)

Now seems to be dying in the code, which might be an improvement, but by the look of this setup.py, probably not.

#swig #python

Last updated 2 years ago

Adam ♿ · @voltagex
388 followers · 839 posts · Server aus.social

Do I know anyone who knows ?
The generated code is dying on

_libarchive_wrap.c(7095): error C2065: 'mode_t': undeclared identifier among other things

#swig #python

Last updated 2 years ago