GObject Introspection 0.6.2
GObject Introspection 0.6.2 Ranking & Summary
GObject Introspection 0.6.2 description
It makes sense to build many kinds of applications using (at least) two different levels and languages. Those being C+GObject, and a managed (GC'd) runtime. C is good for graphics, multimedia, and lower level systems work. However, writing complex software is difficult and error-prone without garbage collection. A managed runtime such as JavaScript, Python, Java, Lua, .NET, Scheme etc. makes a lot of sense for non-fast-path application logic such as configuration, layout, dialogs, etc.
Thus, one of the major goals of the GObject introspection project is to be a convenient bridge between these two worlds, and allow you to choose the right tool for the job, rather than being limited inside one or the other. With the introspection project, you can write for example a ClutterActor or GtkWidget subclass in C, and then without any additional work use that class inside JavaScript.
Major Features:
- GIR XML format - There's an XML format called GIR used by GObjectIntrospection. The purpose of it is to provide a common structure to access the complete available API that a library or other unit of code exports. It is meant to be language agnostic using namespaces to separate core, language or library specific functionality. There are currently only C based tools that work on the format, but its meant to be usable to use in other situations, for instance to/from another set of languages.
- Typelib - The typelib is a to disk version of the GIR designed to be fast, memory efficient and complete enough so that language bindings can be written on top of it without other sources of information. It is normally compiled from a GIR when a library/program is installed and accessed from the language binding or another application who wishes to use the information.
- Tools - Three tools are shipped with GObject Introspection:
- g-ir-compile, a typelib compiler. It converts one or more GIR files into one or more typelib blobs. It can either emit the raw typelib blob or C code (--code).
- g-ir-generate, an GIR generator, using the repository API. It generates GIR files from binary typelib which can be in a shared object, or a raw typelib blob.
- g-ir-scanner, a tool which generates GIR XML files by parsing headers and introspecting GObject based libraries.
- API library
- Theres also a C based library called libgirepository which provides an API to access to the typelib metadata. It also contains an API to invoke functions, given the function info object. The implementation is based on libffi.
- There are a number of GIR test files in tests/, and a script to do roundtrip tests (GIR -> typelib -> GIR).
GObject Introspection 0.6.2 Screenshot
GObject Introspection 0.6.2 Keywords
Bookmark GObject Introspection 0.6.2
GObject Introspection 0.6.2 Copyright
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com