Writing a plugin in Zig #3878
Closed
Khalid-Nowaf
started this conversation in
Ideas & Features
Replies: 1 comment 3 replies
-
Hey and welcome to Tenzir! There's nothing stopping you from doing so on a technical level. The plugin entrypoint is a set of functions with C linkage with fixed names, and for C++ we offer a convenience macro in libtenzir and build scaffolding in our CMake tooling that make it a lot easier to write a plugin. When you want to create a plugin in Zig, you either have to recreate what our convenience macro and CMake code do in Zig, or write the plugin entrypoint in C++ and link it against a library written in Zig that you call into. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to write a plugin in Zig language?
Beta Was this translation helpful? Give feedback.
All reactions