Writing plug-ins?

What’s the best way to approach developing plug-ins for Animate (v2 and onwards)?

Took a look at the Qt Script stuff, but it seems to be limited to working inside a sandbox. No ability to call Operating System level functions, execute external utils, etc. (or so it seems)

Would prefer to code in Ruby or C, but happy to learn anything that gets the job done if needed. :slight_smile:

How have other people approached this?