06-09-2020, 12:40 PM
(06-09-2020, 10:45 AM)rich2005 Wrote: This from the Gimp developers about Gimp 3 and plugins
Quote: tested and work well: Python 3, Lua, Javascript and Vala.
(Note: Python 2 is also still working, but considering that this
language is end-of-life since 2020, we don't really care).
Fair enough, Python3 and the rest of the cryptic stuff.
What I really object to is we don't really care That shows real disdain for their regular user base.
As I understand it:
- AFAIK good ol' Scheme scripts are still supported
- JavaScript is a rather popular language, good addition
- Vala is a language specific to GTK/Glib, it's for compiled plugins (so like C/C++, you'll have to compile for your various targets)
- Lua is an embedded language, IMHO it could be done without. Lua would have been a good replacement for script-fu at the time (same goal of small-footprint embedded language)
When it comes to Python the issue is a bit more complicated:
- Python V2 is obsolete. It will be hard to install on future Linux distros, and is no longer maintained. Good riddance.
- Porting V2 code to V3 is quite easy, there are even scripts for this, so moving to V3 is in general a good thing.
- However in Gimp there are two kinds of Python. True Python plugins that do everything themselves (including the UI) and python-fu "scripts" that use the auto-generated dialogs and the PDB interface that mimics the functionality available to script-fu.
- The first kind is still supported (even if Gimp V3 will likely change many things),
- But the developers aren't to keen about keeping the python-fu interface around (even if there is an outside effort to port it). On of their point is that each time some fun,ctionality is added it has to be explicitly added to Python-fu, while it can also be discovered by "introspection" using the more general interface.
- AFAIK Gimp3 will also feature language-agnostic UI elements (selectors for fonts, brushes...).