Frectonz
3.45K subscribers
1.91K photos
82 videos
32 files
1.64K links
A place for me to talk about my projects, stuff i find on the internet and what I am currently thinking about.

By @frectonz
Download Telegram
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
Just had my first lisp revelation, i have just understood what "Code as data" means 🀯
πŸ€”3
Never trust a developer who is afraid to share their GitHub (or any other way they use to show their work).

As Linus Torvalds said

"Talk is cheap. Show me the code.”
πŸ”₯12πŸ–•4😁1
Here is a cool formatting option in lisp

(format nil "~r" 900000000000000000009)
πŸ”₯6πŸ–•4
Frectonz
Photo
Altman works at Microsoft now.

I just hope that they won't try to make AGI with C#
😁3
Frectonz
Photo
The peeps at OpenAI should switch cloud providers ASAP things won't end well for them if they keep using Azure.
Frectonz
Looks like Mira is quitting too
Job interviews after a coup be like 🀣
🀣1