New post! Today I'm talking APIs, but not your typical library APIs! Those are boring! 😆 Nope, today it's about APIs of executables in the context of POSIX(-like) systems! Hey, I told you my next post was going to be something geeky... 💻


@arivigo Nice post :)

Just to address one specific concern:

> [...] but think of Python code, which can easily be used both as executables and importable modules without any further modification. Not sure about Go or Rust, but I think they work like Python in this.

That's not how it works in Go, Rust or pretty much any other language. In Rust, binaries associated with a library are usually placed in bin/ And in Go it's cmd/name.go

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.