LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2011, 08:01 PM   #16
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751

I'd just like to pt out (re post #12) that, whilst bash (any shell really) is an interpreted lang ie every cmd has to be re-parsed each time it's used, even in a loop, Perl is actually compiled-on-the-fly at program startup http://www.perl.com/doc/FMTEYEWTK/comp-vs-interp.html.
Net upshot is it's MUCH faster than eg bash.
Also, as sundialsvcs says, it's got a huge library of pre-built modules.
The Perl guys also keep a lot of backward compatibility.
 
Old 07-06-2011, 03:18 PM   #17
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
If I would make a distro, I'd go for Bash + Perl + C/C++ (C/C++ over Perl, Perl over Bash)
And sometimes I might choose Ruby instead of Perl. Depends..

Last edited by konsolebox; 07-06-2011 at 03:39 PM.
 
Old 07-06-2011, 08:20 PM   #18
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
The amount of time required to "compile source code" before execution (which might not even apply in some cases, e.g. Python's ".pyc" files) is truly inconsequential. It pure-and-simply does not matter at all.

Perl .. Python .. Ruby .. there are lots of choices, and lots of libraries. (Although I recently worked with a project, at a very, very household-name company, that found out the hard way that Ruby's packages in some cases were not nearly as battle-tested as Perl's. So it goes ... "your mileage may vary(TM).")

The bottom line is, these are all readily-available, very mature, programming systems that are at your fingertips. Thanks to the magic of the "#!" ("shebang") line, you can use any or all of them to construct your commands and other programs, and no one will ever know. Thanks to their extensive and well tested libraries, you can construct your new solutions very quickly indeed ... leveraging, instead of replicating, what has already been done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Scripting languages Deepa Linux - Newbie 5 03-07-2011 08:53 AM
Scripting languages for sysadmins thehollow89 Programming 10 08-14-2010 05:22 AM
LXer: Explore alternative languages for .NET development LXer Syndicated Linux News 0 01-09-2007 01:33 PM
what is the difference between Scripting language and Normal Languages ? indian Programming 5 03-15-2005 03:10 PM
advantages of php over other scripting languages? spyghost Programming 1 09-21-2003 10:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration