Scratchpad

From XCDL (eXtensible Component Definition Language) Wiki
Revision as of 10:09, 20 March 2015 by Ilg (Talk | contribs)

Jump to: navigation, search

make vs python

Two candidates for the build systems are considered:

  • make
  • something based on python, like SCons

make pros

  • well-known
  • available on all platforms (separate install on Windows, but available)

make cons

  • considered not very efficient by some

python pros

  • extending the build process is very powerful

python cons

  • may face acceptance problems, like SCons

Thoughts

Only as internal builder, probably it does not matter. It was easier to start pyXCDL with make files, and performance was not a problem.

However, for writing recipes, like for BitBake, an object oriented approach in Python might have advantages.

python2 vs python3

This is no longer an issue, there are no reasons for not using it.

  • the project is new, there is no legacy code (pyXCDL need not be used as is, it can be ported)
  • python3 is available on all platforms