Hi all,

Question of interest, just trying to understand why in other languages like Python for example are very different when installing libraries, particularly not going through any test suite and for libraries that have integrated C/C++ code it doesn't have to compile it for your installation when you install.

For example I am using a popular bioinformatics application written in Python (it should have been written in Perl but some bioinformaticians and software developers in the computational biology/bioinformatics/biomedical research community I'm part of decided not to use Perl for some large projects (for reasons that were mostly out of lack of knowledge of what Perl can do) when most every library and app we had before was in Perl and also Java... sorry off topic)

When you first configure the application it automatically fetches library dependencies i.e. Python "eggs" for your version of Python. I see there are multiple libraries that I know have integrated C code and it just fetches them and puts the eggss in the desired folder with no compilation or testing whatsoever. For example, NumPy which has a lot of integrated C code and also pysqlite which has C code it just downloads the egg and I double-checked its not compiling absolutely anything.

You just see this:

Fetched http://eggs.g2.bx.psu.edu/new/numpy/numpy-1.3.0-py2.6-linux-x8 +6_64-ucs2.egg Fetched http://eggs.g2.bx.psu.edu/new/pysqlite/pysqlite-2.5.6_3.6.17_s +tatic-py2.6-linux-x86_64-ucs2.egg

So, finally the question: why does Perl need to go through all this extra rigmarole of testing and compiling any library C/C++ code?


In reply to Why are other popular languages very different from Perl when installing libraries, e.g. no testing needed and no compilation of C/C++ code done by hermida

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.