Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: perl's long term place in bioinformatics?

by educated_foo (Vicar)
on Jan 13, 2010 at 05:05 UTC ( #817103=note: print w/ replies, xml ) Need Help??


in reply to Re^2: perl's long term place in bioinformatics?
in thread perl's long term place in bioinformatics?

I actually prefer C++, since I know it and it's as fast as C when you use it as C, and sometimes faster when you understand its compilation model. But the extension APIs for both R and Perl (and many other languages) are written in C, not C++, and C is a much simpler language.


Comment on Re^3: perl's long term place in bioinformatics?
Re^4: perl's long term place in bioinformatics?
by tritan (Sexton) on Jan 13, 2010 at 05:11 UTC
    So does learning C, or C++, help you learn the other? And what would be the advantage of knowing the same language as what the extension APIs are in? My knowledge level is such that I just looked up what API is, though I've seen it plenty but just never really knew what it was.
      So does learning C, or C++, help you learn the other?
      Yes -- C++ is mostly a superset of C, so learning either helps you learn the other.
      And what would be the advantage of knowing the same language as what the extension APIs are in?
      The idea is that you first write your program in a comfortable, high-level, slow language (e.g. R or Perl) and then, if it's too slow, reimplement parts of it in a fast language, calling those parts from the high-level language.
        Mmm, okay. Makes sense. Thank you very much for your replies! They've been very helpful.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://817103]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-09-01 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls