audacia/lib-src/lv2/serd
Leland Lucius be336797b3 Update local LV2 libraries to latest versions
lilv-0.24.6
   lv2-1.16.0
   serd-0.30.2
   sord-0.16.4
   sratom-0.6.4
   suil-0.10.6
2019-12-17 11:15:16 -06:00
..
doc Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
serd Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
src Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
tests Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
waflib Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
.gitlab-ci.yml Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
.gitmodules Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
.travis.yml Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
AUTHORS Adding new libraries for LV2 support. 2013-10-27 08:56:51 +00:00
COPYING Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
INSTALL Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
NEWS Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
README.md Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
serd.pc.in Update lilv, lv2, serd, sord, sratom, and add suil. 2015-04-07 23:19:22 -05:00
serd.ttl Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
serd_bench.py Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
waf Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00
wscript Update local LV2 libraries to latest versions 2019-12-17 11:15:16 -06:00

README.md

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 or embedded systems.

Features

  • Free: Serd is Free Software released under the extremely liberal ISC license.

  • Portable and Dependency-Free: Serd has no external dependencies other than the C standard library. It is known to compile with GCC, Clang, and MSVC (as C++), and is tested on GNU/Linux, MacOS, and Windows.

  • Small: Serd is implemented in a few thousand lines of C. It typically compiles to about 100 KiB, or about 50 KiB stripped with size optimizations.

  • Fast and Lightweight: Serd can stream abbreviated Turtle, unlike many tools which must first build an internal model. This makes it particularly useful for writing very large data sets, since it can do so using only a small amount of memory. Serd is, to the author's knowledge, the fastest Turtle reader/writer by a wide margin (see Performance below).

  • Conformant and Well-Tested: Serd passes all tests in the Turtle and TriG test suites, correctly handles all "normal" examples in the URI specification, and includes many additional tests which were written manually or discovered with fuzz testing. The test suite is run continuously on many platforms, has 100% code coverage by line, and runs with zero memory errors or leaks.

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.

Time Throughput Memory

Documentation

-- David Robillard d@drobilla.net