Genie (programming language)

Genie is a modern, general-purpose high-level programming language in development since 2008. It was designed as an alternative, simpler and cleaner dialect for the Vala compiler, while preserving the same functionality of the Vala language. Genie uses the same compiler and libraries as Vala; the two can indeed be used alongside each other. The differences are only syntactic.

Genie
Paradigmmulti-paradigm: imperative, structured, object-oriented
Designed byJamie McCracken
First appeared2008 (2008)
Stable release
0.52.3 / May 1, 2021 (2021-05-01)
Typing disciplinestatic, strong
OSCross-platform (every platform supported by GLib)
LicenseLGPLv2.1+
Filename extensions.gs
Websitewiki.gnome.org/Projects/Genie
Influenced by
Python, Boo, D, Object Pascal

Genie's syntax is derived from numerous modern languages like Python, Boo, D and Delphi. In the vein of Python, Genie uses indentation rather than explicit block delimiters (like, for example, curly brackets) to delimit blocks.

Like Vala, Genie uses the GObject type system to create classes and interfaces declared in Genie source code, without imposing additional runtime requirements (i.e., unlike Python, Java or C#, it does not require a virtual machine).

Genie allows access to C libraries, especially those based in GObject (like GTK), without using a different application binary interface (ABI). During compilation, the code is first translated to C source and header files, which are then compiled to platform-specific machine code using any available C compiler like GCC, thus allowing cross-platform software development.

Programs developed in Vala and Genie do not depend on the GNOME Desktop Environment, usually requiring only GLib.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.