From owner-freebsd-questions@freebsd.org Fri Jul 1 12:03:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 916C0B8664F for ; Fri, 1 Jul 2016 12:03:51 +0000 (UTC) (envelope-from bsd@bontempi.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53AE02F7D for ; Fri, 1 Jul 2016 12:03:51 +0000 (UTC) (envelope-from bsd@bontempi.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6C342201CB for ; Fri, 1 Jul 2016 08:03:50 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute3.internal (MEProxy); Fri, 01 Jul 2016 08:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=bontempi.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=gdl bphe7GkWPHgQwaKjJhYcCYKc=; b=NrnJ8BcSWkp2ZZTvDSKM1dUK+2HfvwVmBrO 0ZjF8Iwb8rq2dBMYY6/XFSCgZrxLrmQH+uGWI/qh0sr0OuXJ122UlX9A6FIMJTEr yUdfcxXiKihsKlkWzTQlq+qlKoETVTmuQtP1Z4QOb0f4ZB9I7nvTu8nwM7nA/bKl d18zRzYk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=gdlbphe7GkWPHgQwaKjJhYcCYKc=; b=r/5Mf 3PxRe93R4DqZonshzHYPCpB/y7FIlpkAIfgPvzlH7TYYQHaBD5eJWiroQmXQ51wN sDPZMJ0eGcbmyE1e2Hv37uFbZf6zJmOiJOE/+fDvFyh+4+5g78jfBLvCld2hh03j 3TAuNbcEQWCFqkQXRmSgShqSHOWrm1ClDm5Sr0= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 36A16D033E; Fri, 1 Jul 2016 08:03:50 -0400 (EDT) Message-Id: <1467374630.492024.654123513.7B7754E4@webmail.messagingengine.com> X-Sasl-Enc: fO30ztNDOz3uW6etnZE1fEX7AyZpkaiNx6LS1XLIbuCl 1467374630 From: Priyadarshan To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-15e5213e Subject: Re: "Simple" Languages in FreeBSD Date: Fri, 01 Jul 2016 12:03:50 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2016 12:03:51 -0000 On Fri, 1 Jul 2016, at 11:50, Ultima wrote: > If perl has been decided, I suggest learning rperl instead of regular > perl. They more or less the same, except in that rperl has a stricter > syntax usage (correct me if I'm wrong, not an expert). It will compile it > into a c blob and be much faster than regular perl. One of the compile > settings was 400ish times faster? Yeah... if I were to learn perl, it > would > definitely be rperl. >=20 > On Fri, Jul 1, 2016 at 6:22 AM, krad wrote: >=20 > > Depending on the problems you are tackling it may also be worth thinking > > about things at a higher level as well. eg if you are doing systems > > maintenance/automation look at something like ansible. It's not program= ming > > in an traditional sense, but it can make things a lot easier to do, > > especially if you are doing things at scale. There are other config > > management tools out there (chef, puppet, salt, fabric etc) but ansible= is > > relatively easy to setup and get going, and will utilise anything you l= earn > > in python very well. Don't be put off by the fact you may only have a s= mall > > number of machines, it still makes life easier. > > > > On 1 July 2016 at 09:56, Steve O'Hara-Smith wrote: > > > > > On Thu, 30 Jun 2016 17:52:43 -0400 > > > Allen wrote: > > > > > > > Anyway, in all these years that have passed using FreeBSD and a bun= ch > > > > of Linux distros, I never had time or patience enough to learn > > > > Programming Languages, and I'm getting more and more to the part wh= ere > > > > I'm thinking it's a good idea more so now than before. > > > > > > First off FreeBSD supports most programming languages from BA= SIC > > to > > > Prolog by way of C, Smalltalk, LISP, Haskell and Forth among many oth= ers. > > > > > > Here's the thing - each of the languages I've listed is an > > example > > > of a particular programming paradigm (there are many other examples of > > each > > > paradigm). If your aim is to learn about programming in general then I > > > would advise learning as many different paradigms as possible. If your > > aim > > > is to do a bit of programming then pick a language - any language - a= nd > > > learn to write something useful. > > > > > > Python and Perl are both easy to learn OO/structured language= s, > > > python attempts to force good style, perl is more of an anything goes > > > approach. Learn one and the other is easy to learn. > > > > > > -- Thanks for that reference. Although rperl is a pretty young project, it is quite promising. Some benchmarks here: http://rperl.org/performance_benchmarks.html As far as I understand, Perl can be used with rperl, since the latter is a =C2=ABstrict=C2=BB compiler of the former. Perl is a lot of fun to learn. If one likes Perl's =C2=ABweltanschauung=C2= =BB as programming language, it can easily become addictive. Priyadarshan