DEV Community

Cover image for Pub/Sub: C implementation
NULLX
NULLX

Posted on

 

Pub/Sub: C implementation

Note: this implementation is not optimized as:

  • Unsubscribing sets NULL on subscriptions array. Would be good to delete NULL subscriptions from there.
  • Publishing message is done sequentially. The messages will be delivered in order of subscription.

Top comments (0)

Advice For Junior Developers

Advice from a career of 15+ years for new and beginner developers just getting started on their journey.