Linking Zig from Haskell
agentultra.com·1d
⚙️Zig Comptime
Preview
Report Post

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](https://github.com/tigerbeetle/tigerbeetle/iss…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help