1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/docs/programming-languages.rst
Andrea Bolognani 94153862ab docs: Add programming-languages.rst
Most new contributors are probably going to modify existing code rather
than introducing all-new programs and scripts, and even when the latter
happen they'll hopefully get a feel for which programming languages are
considered acceptable for the project by looking at what's already in
the repo. Make this part less prominent by moving it to a separate page.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2020-04-08 09:32:32 +02:00

22 lines
772 B
ReStructuredText

=====================
Programming languages
=====================
The libvirt repository makes use of a large number of programming
languages. It is anticipated that in the future libvirt will adopt
use of other new languages. To reduce the overall burden on
developers, there is thus a general desire to phase out usage of
some of the existing languages.
The preferred languages at this time are:
- C - for the main libvirt codebase. Dialect supported by
GCC/CLang only.
- Python - for supporting build scripts / tools. Code must run
with both version 2.7 and 3.x at this time.
Languages that should not be used for any new contributions:
- Perl - build scripts must be written in Python instead.
- Shell - build scripts must be written in Python instead.