'Can I use other languages(other than JavaScript) to create Gnome Shell Extensions?

I am creating a GNOME Shell Extension and want to use languages like C++/Golang rather than JavaScript to create it. It is also acceptable if I can somehow call/use the C++/go executable in my extension.js. Please tell me if this is even possible and if yes how?



Solution 1:[1]

The short answer is no.

You can't ship binaries with a GNOME Shell extension, because they are architecture dependent and can't be properly reviewed. You could write a library with GObject-Introspection and ship that separately, but still not bundled in an extension for the same reason.

If you're tempted to ship a binary with a GNOME Shell extension, there's a good chance you should just be writing an application.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 andy.holmes