<div dir="ltr">A few times (in the mid 2000s) I prototyped in shell only to switch to ruby to avoid the overhead of forking. It was still a huge performance improvement, even with the interpreted language. It depends a lot on what the program is doing.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 12:55 PM, leam hall <span dir="ltr"><<a href="mailto:leamhall@gmail.com" target="_blank">leamhall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm not sure I know a lot of Ruby either, but the logic is the same. Calling sub-programs is expensive in terms of minute measurements. Overall, if you fork 25 time in one day, what's the actual impact? If you fork 2500 times a second for several hours straight, then you probably want a compiled language.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Oct 24, 2016 at 12:48 PM, Chris Fowler <span dir="ltr"><<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12pt"><div><br></div><div><br></div><hr id="m_8184576155726601588m_2239660367117989450zwchr"><div><blockquote style="color:rgb(0,0,0);padding-left:5px;font-family:Helvetica,Arial,sans-serif;font-size:12pt;font-style:normal;font-weight:normal;text-decoration:none;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid"><b>From: </b>"leam hall" <<a href="mailto:leamhall@gmail.com" target="_blank">leamhall@gmail.com</a>><br><b>To: </b>"Atlanta Linux Enthusiasts" <<a href="mailto:ale@ale.org" target="_blank">ale@ale.org</a>><br><b>Sent: </b>Monday, October 24, 2016 12:08:48 PM<span><br><b>Subject: </b>Re: [ale] Bash vs Perl<br></span></blockquote></div><div><blockquote style="color:rgb(0,0,0);padding-left:5px;font-family:Helvetica,Arial,sans-serif;font-size:12pt;font-style:normal;font-weight:normal;text-decoration:none;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid"><div dir="ltr">My unsolicited opinion, based off using Ruby, is that if the cost of a fork is critical use C or Go. Otherwise, "a difference that makes no difference is no difference".</div></blockquote><div><br></div><div>I don't know Ruby, but I'm sure you can text processing without executing awk, cut, sed, tr, and their other friends. I'm talking about the expense when you need to do processing that would require call those programs. The annoyances of those friends is the subject of another day. :)</div><div><br></div><div><br></div></div></div></div><br></div></div><span class="">______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/li<wbr>stinfo</a><br>
<br></span></blockquote></div><span class=""><br><br clear="all"><br>-- <br><div class="m_8184576155726601588gmail_signature" data-smartmail="gmail_signature"><div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div></div>
</span></div>
<br>______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"> Ed Cashin <<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>></div></div>
</div>