It does the opposite of what I want ( shell to perl) but let’s install it. I got a piece of perl code of unknown value that I plan to use from a bash shell. I say convert, not translate, since what I want is the functionality. I don’t have the numbers for python versus R, but definitely, some solutions are better than others. The same compiled code for simulation running on C++ may take 10 times less running as a FORTRAN compilation. Like if you need an specific python to run your script. We can’t say the same of python and perl, although if you are a good programmer you could install the interpreter you need beforehand. A lot of operative systems have shells, or something very similar or compatible. Although of course it it possible to have some kind of suite written in several languages, everything is more readable and beautiful if it’s under a common grammar. The algorithm, the function, or whatever it is, needs to come together with other pieces, written on that “other” language. You can run a converter, then check the output on the language you control. Let’s say you are just a lamer, and yiu know by heart only python, C, or FORTRAN, and you get your code on another language you are not fully fluent. Why to convert a piece of code from one language to another? I going to name a few reasons: First you need to have the need to convert the code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |