Serd

Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle, TRiG, NTriples, and NQuads. Serd is suitable for performance-critical or resource-limited applications, such as serialising very large data sets, network protocols, or embedded systems that require minimal dependencies and lightweight deployment.

Features

Performance

The benchmarks below compare serdi, rapper, and riot re-serialising Turtle data generated by sp2b on an i7-4980HQ running Debian 9. Of the three, serdi is the fastest by a wide margin, and the only one that uses a constant amount of memory (a single page) for all input sizes.

Download

Documentation

Contribute