Frectonz
4.02K subscribers
2.08K photos
92 videos
32 files
1.79K links
A place for me to talk about my projects, stuff i find on the internet and what I am thinking about.

By @frectonz
Download Telegram
who the fuck is downloading my crates.io packages, there must be some service that just goes over every package in crates.io and downloads it, like these can't be real people.
πŸ‘4
I have just achieved the ultimate FFI threesome.

OCaml + Rust + C = ❀️

What you are seeing in the images is OCaml code calling out to Rust which in turn is calling out to C.

The actual flow
(->) this means calls into

OCaml project -> chafa-ocaml (Rust to OCaml bindings) -> chafa (safe Rust wrapper) -> chafa-sys (unsafe FFI rust) -> chafa (the c lib)

You know complexity gets such a bad rep but it's actually cool when you actually understand it. Feeling pretty proud of myself to have achieved this 😁.

As always the code is on GitHub
πŸ”₯14
peaking.mkv
24.1 MB
Here is a vid to help you guys understand what you have just witnessed 😁.
πŸ”₯2😁1
Going all in on e/acc because it mostly aligns with my convictions.
😁
😁9
Frectonz pinned a photo
Frectonz
😳 https://fxtwitter.com/nullpointered/status/1726065661389287856
They should have played this at the candle light event 😁

https://t.me/bekacru_c/158
😁4
I can't let go of the C-isms hard wired in my brain.
πŸ€”2