Skip to main content
Foreign function interface

Foreign function interface

Search complete. 12 mentions across 6 episodes found for "Foreign function interface".

Nov 10, 2026

Scott HainesHOST
41:41
And so with that, There's a couple of different kind of like renames.
Scott HainesHOST
41:46
So if you're used to like the Hudi JVM FFI and you're working inside of like the Hudi Java ecosystem and or you're looking at like the kind of, you know, the boundary.
Scott HainesHOST
41:57
So FFI is called foreign function interface for people from the Java world that used to be like JNI with more kind of recent versions of Java.
Scott HainesHOST
42:05
You have something called FFM.
WesHOST
46:17
Kind of the interesting part on text injection, how it actually works, it's got the IBUS injector, which speaks the IBUS-DBUS wire protocol via that ZBUS library.
WesHOST
46:28
No FFI, registers the component and the engine, and then becomes the global engine during dictation.
WesHOST
46:35
So it hooks kind of right into how the system expects this to work and takes over.
WesHOST
46:40
Yeah.
WesHOST
46:48
Kind of the interesting part on text injection, how it actually works, it's got the IBUS injector, which speaks the IBUS-DBUS wire protocol via that ZBUS library.
WesHOST
46:58
No FFI, registers the component and the engine, and then becomes the global engine during dictation.
WesHOST
47:06
So it hooks kind of right into how the system expects this to work and dictates.
WesHOST
47:10
takes over.
Jonas KruckenbergGUEST
11:52
So like the first chapter is quite, quite simple.
Jonas KruckenbergGUEST
11:54
You know, we go FFI and like unsafe Rust and like what are pointers and stuff like that, right? So that even, you know, even someone like me coming back from JavaScript way back when, right? Even someone coming from JavaScript, you know, could ideally get started migrating C to Rust because, not so much for C and C++, but for a lot of languages, the people that will be reading those books and going through those workshops are not super seasoned, experienced Rust engineers.
Jonas KruckenbergGUEST
12:24
That's kind of one thing we have to keep in mind always is that we want to make Rust approachable and easy to get started with for people from those languages, right? Like you're migrating your existing code base from whatever language to Rust.
Jonas KruckenbergGUEST
12:40
And so it should pick you up where you are effectively.
Jonas KruckenbergGUEST
17:01
It could just be all spread out.
Jonas KruckenbergGUEST
17:05
And so for work like that, or simply because if you do good preparatory work in preparing the code base and sort of you know, separating modules and cleaning stuff up, it becomes dramatically easier to then actually port it to Rust, which is kind of cool and exciting.
Jonas KruckenbergGUEST
17:26
And then the very, very expected complexity and hard parts are in the interop and FFI.
Jonas KruckenbergGUEST
17:35
My favorite story is always of the intrusively linked list that I've written where for this big client project that we have going on, they have a central data processing pipeline, if you will.
Danilo KrummrichGUEST
29:55
It's one of the building blocks they're consisting out of.
Danilo KrummrichGUEST
29:58
The only rule is for Rust driver specifically, they are not calling the C primitives directly because that would also involve a lot of unsafe code interactions through an FFI layer.
Danilo KrummrichGUEST
30:08
But they are calling into the abstractions that ideally only provide safe APIs.
Gregory KapfhammerHOST
30:13
Okay, that's really helpful.
Tech Rants

Tech Rants

The AI Coding Secret

Oct 23 · 2 Mentions

Edward OjamboHOST
11:20
0.2 of the Gini plugin, uh, provider plugin.
Edward OjamboHOST
11:24
It says a full rewrite of the plugin in Rust using handwritten FFF bindings, FFI bindings to Gini, GTK3, GLIB-C APIs, no maintained Gini RS for it exists or one creates IO or GitHub.
Edward OjamboHOST
11:41
So the bindings in, um, source such FFFI are maintained directly against the installed Dini headers.
Edward OjamboHOST
11:51
It replaces the earlier Lua script.
Edward OjamboHOST
11:53
Oh, does that

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.