Skip to content

Various experiments written in order to learn more about how Tremor's plugin system could be implemented

Notifications You must be signed in to change notification settings

marioortizmanero/pdk-experiments

Repository files navigation

PDK Experiments

This repository contains various experiments written in order to learn more about how Tremor's PDK could be implemented.

The structure is usually the following:

  • The src directory contains the main binary which loads the plugins.
  • The interface shared between the main binary and the plugin is defined in the common crate.
  • The plugins live in plugin-* directories, which should be compiled as a shared library and then loaded from the main binary.

You have to build the main binary and the plugins separately. You can then load the plugin with the main binary and see what happens. There's usually a Makefile that does everything for you, though.

Benchmarking

The benches directory includes some benchmarks that might be of interest. You can run them with cargo bench. They will work as long as the plugins are compiled in their target directories. Remember to use --release when building the plugins.

About

Various experiments written in order to learn more about how Tremor's plugin system could be implemented

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published