IN THIS ARTICLE

    Subscribe to Our Newsletter

    Stay updated with the latest on web, mobile, and IoT, delivered weekly.
    Thanks for subscribing!

    Thanks for subscribing!

    Get ready for some great content.

    The PubNub SDK is happy to announce our new Posix C SDK. If you need to write straight Posix C code, this is the SDK for you.

    Most developers work on platforms with their own higher level languages and compiler tools. iOS developers use Objective-C and Swift in XCode. Android developers use Java and the ADK. Web developers use many variations of JavaScript. Sometimes you just need to get down to the metal, and when that happens you want straight C code.

    When would you want straight C? Maybe you need maximum speed on a low-end Linux device like the Raspberry Pi. Maybe you are working on a resource constrained embedded ARM chip with less than a Meg of RAM. Maybe your platform uses portable C++ wrappers like QT. Or maybe you just want complete control over memory allocation. Whatever the reason, PubNub has the SDK for you.

    We designed this SDK to give you lots of flexibility in how you use it. The SDK operates as a set of transactions so, one per message. You control memory allocation using the pubnub_alloc() and pubnub_free() function calls. You can also choose to compile with or without SSL/TLS support, and can use one of the two available interfaces - the “sync” interface (easy to use) and “callback” (more flexible).

    The Posix C SDK guide will walk you through the steps to install and compile everything. We also have a special versions of the C SDK for Windows C, Windows C++, and Posix C++. The C++ SDKs are wrappers around C SDKs that provide efficient abstractions, making it much easier to use, without much overhead.

    Note that these C SDKs are different than what you’d use for an Atmel based Arduino system. For those chips use the PubNub Arduino Library.

    Is your favorite language or platform missing a PubNub SDK? Let us know!

    Resources
    Resources

    Building a HIPAA-compliant App

    Everything You Need to Know About Developing and Scaling a HIPAA-compliant App
    Download Now
    Building a HIPAA-compliant App
    More From PubNub