tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using , what's actually wrong with it?

aka What are the sharp edges?

mjgardner,
@mjgardner@social.sdf.org avatar

@gisgeek I’m a little confused: are you saying that and are better than or worse regarding third-party / integrations?

/ @leonerd @tripleo

hywan, to rust
@hywan@fosstodon.org avatar

LLVM CFI and Cross-Language LLVM CFI Support for Rust, https://bughunters.google.com/blog/4805571163848704/llvm-cfi-and-cross-language-llvm-cfi-support-for-rust.

> add LLVM CFI and cross-language LLVM CFI (and LLVM KCFI and cross-language LLVM KCFI) to the Rust compiler as part of our work in the Rust Exploit Mitigations Project Group. This is the first cross-language, fine-grained, forward-edge control flow protection implementation for mixed-language binaries that we know of.

Really interesting project.

#RustLang #llvm #security #safety #ffi

ChristosArgyrop, to programming
@ChristosArgyrop@mstdn.science avatar

Reminder that the languages useful for may not be the same as those used for that the applications use, and this is just fine, e.g. performance often requires that one does not rediscover the wheel by recoding libraries in and because they are, for whatever reason , resistant to use a proper (or an ) .

rml, to FinalFantasy
@rml@functional.cafe avatar

I would kill for one of those "recipes" cookbooks dedicated to providing solutions to the general hangups of #FFI

derickr, to php
@derickr@phpc.social avatar

📽️ I have made a new video!

Debugging FFI and PHP with GDB

https://youtu.be/u420A89tIMY

#Debugging #PHP #FFI

hywan, to rust
@hywan@fosstodon.org avatar

After 132 commits and 6 reviewers, https://github.com/mozilla/uniffi-rs/pull/1409 is finally merged \o/.

UniFFI can generate bindings for Rust async functions/methods to Python, Swift and Kotlin, with native async runtimes (resp. asyncio, Task and suspend).

That’s really exciting! Rust Future being driven by a foreign language async runtime, that’s pure fun.

#RustLang #FFI #SwiftLang #Kotlin #PythonLang #asynchronous #future

hywan,
@hywan@fosstodon.org avatar

And now, we have cancellable Future, https://github.com/mozilla/uniffi-rs/pull/1684. How fun :-).

#RustLang #FFI #Kotlin #async

thevglibrary, to books
@thevglibrary@mstdn.social avatar

A rare addition to #TheVideoGameLibrary this morning! 📚

A #FinalFantasy Choose Your Own Adventure book from 1987. 🤯

❓ Curious if any fans have heard of this one ❓

"Can you obtain the Water Crystal and become the true Hero of Light?"

💎 https://www.thevideogamelibrary.org/book/final-fantasy-crystal-inheritance-legend

#FF1 #FF #FinalFantasyI #FFI #FinalFantasy1 #Book #Books @bookstodon #Bookstodon #ChooseYourOwnAdventure #Nintendo #Famicom #RPG #JRPG #Square #Squaresoft #SquareEnix #Adventure #Fun #VideoGame #VideoGames #Gaming #Gamer #Novel

EndlessMason, to random
@EndlessMason@hachyderm.io avatar

how in the world am I supposed to be "detail oriented" when every job ad is just 9 pages of waffle about how the company is driving the world to be green by ... running an interpreted language in a container in a k8s on a vm on amazon in 4 sites for redundancy

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

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

Perl’s XS is a glue language mostly made up of #C macros that lets you wire up Perl’s guts to C code. There are also alternatives like #SWIG 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.

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@EndlessMason #FFI works with either static or dynamic linking. #Perl 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, #GoLang (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 #C code by building and compiling C glue code with your C compiler and then linking it with your #Go.

abcdw, to random
@abcdw@fosstodon.org avatar

Arghhh, guile-commonmark doesn't support raw html
https://github.com/OrangeShark/guile-commonmark/issues/8

abcdw,
@abcdw@fosstodon.org avatar

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

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines