#FFI

Cora, agora com Extra Fofocora@hachyderm.io
2025-06-02

For some brain bleach, and because I have some time on my hands, AND because my curiosity about USB and working with the IO subsystem in Unix generally and MacOS specifically, the #rustlang #ffi and making Rust and #objc memory management play nicely together has always out stripped my knowledge, I've started playing with such things.

Ok, really, this is a yakshave adventure that started with me just wanting to write something simple to present a shiny button I could press to get a console on a serial device after plugging it in, without having to to look in /dev. I predict all of this will save me 3.3 minutes per annum on average—totally worth it.

I expect tens or maybe even ones of people will care about this, and there's nothing remotely pioneering. But I needed to write it down to remember it, so here we are.

crystaldrift.net/for-future-re

2025-05-25

[Перевод] Dart 3.8 — что нового в Dart?

Этот релиз приносит обновления форматера, null-aware элементы для коллекций, новые возможности кросс-платформенной разработки, лучший способ находить трендовые пакеты на pub.dev , доступность горячей перезагрузки (hot reload) для веба и многое другое! Мы также надеемся, что найдутся разработчики, заинтересованные в участии в нашей программе раннего доступа к FFigen и JNIgen .

habr.com/ru/articles/912544/

#dart #flutter #ffi #crosscompilation #Nullaware #formatter

2025-05-24

[Перевод] Flutter 3.32 — Что нового во Flutter?

Добро пожаловать во Flutter 3.32! Этот релиз наполнен функциями, призванными ускорить вашу разработку и улучшить ваши приложения. Приготовьтесь к горячей перезагрузке (hot reload) для веба, потрясающим "сквирклам" (squircles) в стиле Cupertino для нативной точности и мощным новым интеграциям с искусственным интеллектом через Firebase. С 1024 коммитами от 156 уникальных участников, включая 39 новичков, Flutter 3.32 является свидетельством невероятной работы нашего сообщества. Давайте посмотрим, что нового!

habr.com/ru/articles/912462/

#programming_languages #dart #flutter #web #firebase #ffi

2025-05-21

Нативная мощь: Flutter SDK на C++ ядре. Часть 1

Меня зовут Александр Максимовский, и я тимлид команды

habr.com/ru/companies/2gis/art

#Flutter #dart #c++ #ffi #crossplatform #mobile_sdk #codegeneration #codegen

2025-04-20

Туториал: использование Go из PHP через FFI

Свою первую работу программистом на языке PHP я нашёл в далёком 2011 году, имел опыт с разными версиями языка от 5.0 до 8.1 в коммерческих разработках. C тех пор иногда приходилось выходить в смежные области: Python, NodeJS, 1С, VBA и вот наконец Go. Для любого опытного профессионала не станет откровением, что одну и ту же вещь можно сделать разными средствами, и что для каждой задачи есть свой наиболее подходящий инструмент. В середине 2010-х особое распространение начинают получать такие направления, как High Load, микросервисная архитектура, и конечно модное тогда распиливание монолитов. Многие из проектов-монолитов были написаны на языке PHP, и из тех, кто стал делать первые шаги в Go в то время стали в том числе те самые программисты, которые с блеском в глазах могли, как мантру повторять «распилить монолит» и мечтать написать микросервис на Go под каждую задачу, требующей всего того, на что привычный PHP был не способен: неэффективный расход памяти, отсутствие асинхронности. И в принципе, до выхода версии 7.4 с ее возможностью FFI (Foreign Function Interface) решить озвученные выше проблемы мог совсем не каждый программист, занимающийся разработкой "коробочной" CMS (WordPress, Drupal, Joomla! или Битрикс). В конце концов, мало кому хотелось, вспоминать полузабытый после университета язык C, браться за разработку собственного расширения для PHP (pecl). Сказанное выше является моим субъективным мнением, единственным выводом из которых хотелось выделить одну простую мысль - есть некая аудитория программистов, которые знают и Go, и PHP. Если вы набрели на эту статью, вбив в поисковике слова "PHP FFI Go", то эта статья для вас, тех кто ищет нетривиальные пути, тех кто пытается взять лучшее от каждой из технологий.

habr.com/ru/articles/902532/

#PHP #go #Cshared #ffi #туториал #Foreign_function_interface #dockercompose

zeyus :gopnik_implant_b:‎zeyus@corteximplant.com
2025-03-28

But, I have done something that is super cool and I have nobody to share it with, and nothing to show for it besides some passing tests.

github.com/zeyus/liblsl.dart/b (readme is outdated, see tests)

HMU if you're a #softwareengineering , #networkengineering , #systemsarchitecture or #designpattern nerd, I'd love feedback and suggestions for improvement (or just question my sanity)

#dart #flutter #crossplatform #development #softwaredevelopment #c #ffi #dartnative

2025-03-18

@lennart_n Takk! Kom også på denne podcasten fra #FFI om hvordan de jobbber for å finne, analysere og uskadeliggjøre gammel ammunisjon #forsvaret ffi.no/aktuelt/podkaster/pa-sp

2025-03-14

It's now Yvan Sraka's @yvan turn! Presenting "Beyond proc-macros".

#RustInParis #RustLang #ProcMacros #FFI #bindgen

Yvan in front of his first slide, next the the MC, Ayoub.
2025-03-07

#Forsvaret og #FFI er på dagsorden for tiden. Visste du at FFI har en utmerket #podcast som heter #ugradert ? #norsktut ffi.no/aktuelt/podkaster

2025-02-20

[Перевод] Кофе и крабы. Вызов Rust-кода из Java

Java — один из наиболее часто используемых языков программирования, который мы еще не обсуждали в нашем Rust Interop Guide . В этой статье мы рассмотрим три различных метода вызова кода Rust из Java : JNI , JNR-FFI и Project Panama . Мы покажем различия между этими методами и проведем базовый бенчмаркинг для сравнения их производительности. Эти методы работают не только для Java , но и для других языков JVM, таких как Kotlin . Здесь мы в основном сосредоточимся на Java , но примеры Kotlin доступны в ветке Kotlin нашего репозитория GitHub . Эта статья является частью нашего Rust Interop Guide .

habr.com/ru/articles/884150/

#rust #java #interop #ffi #project_panama #jni #jnr

2025-02-16

Usar Rust desde Java o Kotlin. No perderse el resto de artículos de los mismos autores sobre uso de Rust desde otros lenguajes
tweedegolf.nl/en/blog/147/mix-
#rust, #ffi

Deno's fully featured, zero-overhead FFI is stable

#deno #nodejs #webdev #javascript #typescript #ffi

2025-01-19

This is really cool and kinda insane—running modern #Perl on the #Java Virtual Machine (#JVM).

Why? Maybe you want the flexibility of Perl scripts in your JVM-based environment (including #Kotlin and #Scala) without shelling out. More reasons here: github.com/fglock/PerlOnJava/b

Anything with #XS or #FFI C code has to be ported to Java, mind you. But @fglock has been doing just that, e.g., #DBI support via #JDBC and #JSON via fastjson2.

mastodon.social/@fglock/113034

#programming #coding

2025-01-18

I've been trying out C interop with Common Lisp lately, since I tried C Interop with Zig and that was juicy nice.

With CL, it's nice too, but the process is a bit more involved. I had to build C2FFI, but that's painless since I already had Clang and LLVM on my system. There was a small fiffy where it couldn't find Clang but you could just pass a custom -I dir.

Generating bindings for a small library is easy. Generating bindings for a big library like SDL3 is not 😭 Been trying to do that since last night with cl-autowrap but I'm just not well-versed enough in this corner to understand the compiler messages. Currently stuck on `Class is not yet defined or was undefined: _IO_FILE` .

#c #zig #commonlisp #sdl #ffi #progamming #interop

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst