While there is one XS package that wraps over , I will be using in

Sequence alignment tasks benefit greatly from multithreaded implementations of the dynamic programming to align a single sequence against another , though one often uses threads to parallelize alignment tasks as database searches that use alignments for approximate text matching are embarrassingly parallel tasks.

Thus, seems a reasonable choice to parallelize

#edlib #ffi #perl #forkmanager

Last updated 1 year ago

Derick Rethans · @derickr
2167 followers · 2555 posts · Server phpc.social

📽️ I have made a new video!

Debugging FFI and PHP with GDB

youtu.be/u420A89tIMY

#debugging #php #ffi

Last updated 1 year ago

Valentine Briese :transuwu: · @valentinegb
27 followers · 439 posts · Server hachyderm.io

How bad of an idea exactly is it to spend the next week attempting to create bindings to 2023 instead of just using …?

#rust #ffi #wpilibc #wpilibj #ffibindings #wpilib #frc #firstroboticscompetition

Last updated 1 year ago

@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 1 year ago

Ivan Enderlin 🦀 · @hywan
1459 followers · 1672 posts · Server fosstodon.org

And now, we have cancellable `Future`, github.com/mozilla/uniffi-rs/p. How fun :-).

#rustlang #ffi #kotlin #async

Last updated 1 year ago

AndreasDavour · @AndreasDavour
32 followers · 422 posts · Server dice.camp

After an extremely short time looking at docs, I managed to get a short program to compile and run, calling a simple C function from rust. Having tried similar things in the past, from different languages, I was surprised by easy it was.

#coding #programming #rust #rustlang #c #ffi

Last updated 1 year ago

LisPi · @lispi314
553 followers · 11824 posts · Server mastodon.top

@lukaseder @alexelcu @JCMann It gets awkward when you want to support stuff like the individual databases' specific SQL-extending support for large (binary) objects (e.g.: jdbc.postgresql.org/documentat) but it's feasible (that documentation is outdated, the ownership issue has been fixed by now: postgresql.org/docs/current/lo).

It does help when your driver/library already supports the interface and you don't also have to write yourself.

#ffi

Last updated 1 year ago

screwtape · @screwtape
256 followers · 3046 posts · Server mastodon.sdf.org

@fstateaudio @SDF @prahou
This directory mounting scope simple program builds seems cool to me.
gopher.floodgap.com/gopher/gw.
gopher://tilde.institute/1/~sc
Complete set of ecl c interoperability *without* ASDF (though ASDF is necessary for large scale builds)

#gopher #embeddablecommonlisp #ecl #sdl2 #ffi #lisp

Last updated 1 year ago

Felix · @leobm
226 followers · 3186 posts · Server norden.social

@borkdude This opens up completely new possibilities, e.g. to use raylib under clojurescript easily.

#bun #clojurescript #nbb #sci #babashka #ffi #javascript

Last updated 1 year ago

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

@EndlessMason works with either static or dynamic linking. and many other language toolchains default to the latter, but you can still built a big statically linked binary if you’re so inclined.

In contrast, (for example) defaults to static linking that includes the runtime along with your code in one executable. It does have a `cgo` feature that lets you call code by building and compiling C glue code with your C compiler and then linking it with your .

#perl #golang #c #ffi #go

Last updated 1 year 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 1 year ago

4Gamer.net · @4gamer
3 followers · 540 posts · Server rss-mstdn.studiofreesia.com

FFキャラクターデザインを手掛ける天野喜孝氏,カネボウの「ミラノコレクション」とコラボ。マリア様のイメージで「ミラコレ天使」をデザイン
4gamer.net/games/104/G010460/2

#final_fantasy #final_fantasy_1 #ファイナルファンタジー #ff1 #ffi #ff_i #ファンタジー

Last updated 1 year ago

:waso: :lili: · @wasolili
79 followers · 89 posts · Server toki.social

tenpo ni la, mi pini e musi Final Fantasy lon ilo NES. pona a.

#ff #finalfantasy #ff1 #ffi #nes #retograming

Last updated 2 years ago

Andrew Tropin · @abcdw
599 followers · 1124 posts · Server fosstodon.org

Do someone with Guile FFI experience want to help me to get started with guile-tree-sitter? (:

Just share some best FFI practices and highlight overall direction/approach will be enough.

#guile #lisp #treesitter #ffi

Last updated 2 years ago

The Video Game Library 📚 · @thevglibrary
3852 followers · 1003 posts · Server mstdn.social
LisPi · @lispi314
457 followers · 9015 posts · Server mastodon.top

@dekkzz76 That's true, I'm concerned with how bad the interoperation story is for right now.

I'm aware of an issue logged for it that explicitly aims to address that issue with some stable export for though (and which had some work on it last I checked), so it might work out.

#rust #ABI #ffi

Last updated 2 years ago

Felix · @leobm
203 followers · 2787 posts · Server norden.social

Does actually work in with a 64bit Windows? I am trying to get the Cuis SQLite adapter to work. But I keep getting the following error: "No module to load address from". First thought the problem is that the sqlite3.dll is not in the right directory? But now I think the problem is somewhere in the FFI code itself?

#ffi #cuis #smalltalk

Last updated 2 years ago

Thomas Powell.🧻🐴💩 · @stringsn88keys
49 followers · 176 posts · Server sdf.land

I've managed to work around the problem in which the memory allocated in a DLL is occasionally invalid by the time the call attempts to read it on the side... by sending it a 10MB output buffer. I've "fixed" the problem but
@tenderlove

#ffi #ruby #atwhatcost

Last updated 2 years ago

Yerkebulan Tulibergenov · @yerke
50 followers · 128 posts · Server hachyderm.io

If you interested in trying to speed up your Python code using Rust, check out Lily Mara’s talk: Blazing Fast, Minimal Change - Speed up Your Code by Refactoring to Rust.

infoq.com/presentations/refact

#rustlang #python #ffi

Last updated 2 years ago

michabbb · @michabbb
14 followers · 323 posts · Server social.vivaldi.net