Ruby FFI GC 버그: 해시가 문자열로 변하는 '불가능한' 오류 추적기
FFI 1.17.0 미만 버전에서 쓰기 장벽(write barrier) 누락으로 인해 Ruby GC가 내부 해시를 해제하고 해당 메모리 주소에 다른 객체가 할당될 수 있었습니다.
Ruby FFI GC 버그: 해시가 문자열로 변하는 '불가능한' 오류 추적기
FFI 1.17.0 미만 버전에서 쓰기 장벽(write barrier) 누락으로 인해 Ruby GC가 내부 해시를 해제하고 해당 메모리 주소에 다른 객체가 할당될 수 있었습니다.
Diplomat: Multi-language FFI for Rust Libraries
http://manishearth.github.io/blog/2026/06/14/diplomat-multi-language-ffi-for-rust-libraries/
#rubixml Wer nur #ml will, nimmt #python. Wer #php lebt, für den ist es ein Meilenstein.
Das Spannende: #ffi (7.4) und #jit (8.0) holen kompilierte Numerik in die Sprache. Erklärtes Ziel, PHP raus aus der reinen Web-Rolle. Rubix ML ist dabei nicht der Treiber, sondern das Schaufenster, das aufzeigt zu was PHP fähig ist.
Python bleibt vorn. Aber PHP verschiebt seine Identität in eine spannende Richtung und Rubix ML ist vielleicht nur der Anfang.
cheadergen, a new tool for generating C headers from Rust crates, is now ready to try!
I've been working on it for a while, and it has seen enough real-world use that I'm comfortable recommending it to others.
The project grew out of experience working on a mixed C/Rust codebase and the challenges of incremental migration.
Documentation, examples, and source: https://cheadergen.com
June 9, 1911: Former Free French Forces intelligence officer Andre Dewavrin was born on this date. During WW2, Dewavrin, using the codename 'Colonel Passy', was an active member of the French Resistance & worked with Britain's Special Operations Executive.
Rust внутри .NET: как упаковать native-библиотеку в один NuGet-пакет
FFI, P/Invoke, EmbeddedResource, DllImportResolver и кроссплатформенная доставка без ручного копирования .dll , .so и .dylib . Когда .NET-коду нужно вызвать Rust-библиотеку, первый прототип обычно заводится быстро: Rust собирается как cdylib ; функции экспортируются через extern "C" ; C# вызывает их через DllImport ; результат возвращается через указатель.
https://habr.com/ru/articles/1043276/
#dotnet #rust #ffi #invoke #nuget #nativelibrary #dllimportresolver
Getting FFI to compile is the easy part. The harder questions are about distribution: prebuilt binaries across platforms, libraries that must be built from source, and making all of it reliable in CI.
Marcel Koch (@m) compares a custom binary download approach against Conan, using Flutter Rust Bridge as the integration point.
🔗 https://oxidizeconf.com/sessions/beyond_ffi_shipping_native-libraries_in_rust
You don't have to rewrite your C firmware in Rust all at once. Christian Meusel's workshop at Oxidize 2026 is about doing it incrementally - starting from build integration and FFI calls, through to third-party crates for QR generation.
🔗 https://oxidizeconf.com/sessions/integrate_rust_into_existing_embedded_c_applications
#Oxidize2026 #RustLang #EmbeddedRust #FFI #BareMetalRust #Firmware
Tankene som må tenkes - før det blir krise eller krig
Norge er et langstrakt land og logistikk på land er sårbart. Elektrifisering kan løse endel sivile behov, og en kan vel anta at det kan transporteres mat og drivstoff via Sverige eller sjøveien.
https://www.nrk.no/trondelag/xl/tankene-som-ma-tenkes---for-det-blir-krise-eller-krig-1.17887848
Я дал LLM писать unsafe Rust полгода. Miri плакал
Полгода я давал LLM писать unsafe Rust в боевых проектах и разбирал каждый блок под miri и санитайзерами. Категории ошибок, которые модели делают стабильно: aliasing, провенанс, layout в alloc/dealloc, забытый ManuallyDrop, гонки в FFI-колбэках, ручные Send/Sync, uninit-память, Pin. Каждая категория идёт с минимальным примером и фиксом.
https://habr.com/ru/articles/1035914/
#Rust #unsafe #miri #FFI #UB #aliasing #MaybeUninit #Pin #LLM #AI