From owner-freebsd-questions@freebsd.org Fri Jul 1 12:02:15 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 B763EB864A6 for ; Fri, 1 Jul 2016 12:02:15 +0000 (UTC) (envelope-from mail@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 786322E2D for ; Fri, 1 Jul 2016 12:02:15 +0000 (UTC) (envelope-from mail@bontempi.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 89BF6201DD; Fri, 1 Jul 2016 08:02:13 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute4.internal (MEProxy); Fri, 01 Jul 2016 08:02:13 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=bontempi.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=qRQmPuMmDoehY6JmVQf3xWEvyww=; b=AcO+y8 1rNsxmGqntsmeurKCczRKy6ulj6Ab70HW1sK36ReQMp8Etj/ASNMnkHtCFQA5qQZ 6ZqhHecRf7pV9RO4w2KrYYlhvWeroHOahUZy6mim4ORUsGe2nt89j69qx6r/rgIs 2HWoqH3a/AePMFFDMW2IR3j82FfXSlSgcxPZ0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=qRQmPuMmDoehY6J mVQf3xWEvyww=; b=gzCYDn8Yvs2KVZ4u9ljrBWRU3PBXXDNyiG5usQast+IuILt EVyOFMEc2ttxueTigYZTah9V2CyQUePBBDpzWKNNMTvmECveUjaDDl65LbrfpXMA UqUNo841YiZw/pUd74yz/c8V5B6parYIIyipmuAD+iu6kJzogk4gfs9nFh7s= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 5076AD033E; Fri, 1 Jul 2016 08:02:13 -0400 (EDT) Message-Id: <1467374533.491877.654118113.1C2C9642@webmail.messagingengine.com> X-Sasl-Enc: zzsfYl10dSqIPnaKhwPTQdDSyRqiPOzK8UCc37zEFEyA 1467374533 From: mail@bontempi.net 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:02:13 +0000 In-Reply-To: References: <20160630175243.063e07a7@KoggyBSD.org> <20160701095652.17036e6fe1e467ee64adc9f7@sohara.org> 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:02:15 -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 string 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