Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?

Replies are listed 'Best First'.
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?
Discipulus ...
choroba . o O ( getting old )
[holli]: I liked red coke. ensures a hell of a hangover though
[Corion]: Naah, there is good wine, and I like its taste. I also like beer, depending on the food that goes with it :)
[holli]: but really, there are a lot of myths around wine. starting with people thinking they could distinguish red and white wine by taste (when blindfolded) let alone australian and french red win
[holli]: that's an empirical fact btw

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-09-25 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?