Skip to content

a4z/szq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

szq: Swift ZeroMQ Bindings - An Opinionated Approach

szq is an opinionated Swift library for using ZeroMQ, also known as ZMQ. It draws inspiration from its C++ equivalent, zq, adhering to a shared philosophy: Provide essential functionality that covers most use cases while remaining flexible and extendable for project-specific needs.

Please note: szq requires Swift 6


About

While several ZeroMQ Swift bindings already exist, none met my expectations.

Most bindings aim to wrap the entire ZMQ interface, which I find unnecessary for many applications. In real-world projects, developers often know which patterns and ZMQ features they need to use.

szq takes a different approach:

  • It demonstrates how to "fish" 🐠 instead of handing you pre-caught fishes 😉.
  • It provides a streamlined interface for most, if not all, common use cases.
  • When advanced functionality is needed, it doesn’t stand in your way.

The result is a library that simplifies usage without sacrificing flexibility.


Consuming ZeroMQ

szq depends on ZeroMQ.

For convenience, it uses the ZeroMQ XCFramework available at libzmq-xcf.


Platform Support

  • Apple Platforms: Fully supported.
  • Linux: Tested on Ubuntu 24.04, see CI for details

About

Opinionated ZeroMQ bindings for Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors