news
Programming Leftovers
-
J Kenneth King ☛ Linking Zig from Haskell
I recently published the Haskell tigerbeetle-hs client library for the Tigerbeetle database.
In order to develop client libraries for Tigerbeetle it is recommended to call the official C client library instead of trying to implement the wire protocol yourself. This client happens to be written in Zig which can generate code that is compatible with the calling conventions of many different platforms. It just looks like a regular ELF shared object file, libtb_client.so.
So it should be as simple as using Haskell’s FFI, right?
This post is about a particular issue I ran into while calling libtb_client.so (from Tigerbeetle 0.16.33) from Haskell.
-
Bozhidar Batsov ☛ Why I Chose Ruby over Python
This year I spent a bit of time playing with Python, after having mostly ignored it since 2005 when was learning it originally. I did like Python back then, but a few years afterwards I discovered Ruby and quickly focused my entire attention on it.
There were many (mostly small) reasons why I leaned towards Ruby back then and playing with Python now made me remember a few of them. I thought it might be interesting to write a bit about those, so here we go.
-
Python
-
Varun R Mallya: PythonBPF - Writing eBPF Programs in Pure Python
Introduction
Python-BPF offers a new way to write eBPF programs entirely in Python, compiling them into real object files. This project is open-source and available on GitHub and PyPI. I wrote it alongside R41k0u.
-