|
|
|
|
|
by saagarjha
3002 days ago
|
|
So, I see a plugin API for this, as well as a sample Swift plugin: https://github.com/marta-file-manager/HelloWorldPlugin. How are you making this work? As far as I know, creating plugins in Swift is a bad idea because trying to load two of them with incompatible runtimes (a likely possibility, since Swift doesn't have a stable ABI) would cause bad things to happen. |
|
Depending on the Swift release roadmap, I'll postpone 1.0 until the release of Swift 5, or make the API ObjC-compatible.
I also have plans for making a "lightweight API" (possibly in Lua). It will support only the subset of features available in the "full API", but if that would be sufficient, nothing prevents it from becoming the "right" way of writing plugins for Marta. (In any case, Swift API won't disappear).