login
Header Space

 
 

Re: Why Perl for pkg_* tools ?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <Cc:misc@...>
Date: Saturday, May 24, 2008 - 1:39 pm

A final word.

For all you backseat drivers: this is OpenBSD.

Those who do the work get to call the shots.

I did get permission from my fellow developers to switch our pkg_* to
perl once I made a strong enough argument.

A huge part of the argument was the actual code. I did write tools that
work. I did write an infrastructure that still grows, stays coherent,
and is still fairly easy to manage.

These pkg_* are the first in the BSD world to actually support safe
updates, without needing to back up most of your system first.

Everything-in-perl was a deliberate design decision.

What do you think ? that we grow code in a vat with eyes closed ?

I've looked very closely at the neighbors, and at our distant cousins.

The neighbors manage to live on a weird mix of awk/ruby/perl/python/sh/C.
From a distance, it looks like everyone in NetBSD/FreeBSD has their own
favorite language, and is happy to reinvent a square wheel to handle
packages in their own language.

Well, my tools were written specifically to squash that, to give people
a cool enough interface that they would not need to reinvent the world.

You prefer python ? tough cookies. Perl and python are more or less
equivalent. If you know one, you can write code in the other. Or you're
less elite than you think (as a sidenote, I loathe php, yet I run a
drupal site, and I have written numerous patches for drupal).

The only important difference, for me, was that perl comes with the
base install in OpenBSD. And we made a conscious decision to keep it so.
That gives us *one* decent high-level script language.

OS and distributions are all about editorial choices. Some have given up,
and let the user wadle through hundreds of inane choice and a bazaar of
half-finished toys. OpenBSD takes some strong stances. We wanted pkg_* that
work, we got them. You don't like that they're in perl ? you can always
go elsewhere, or, if you have some real balls, write something better in
whatever language you want.

Have fun, good luck.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why Perl for pkg_* tools ?, hyjial, (Thu May 22, 11:23 am)
Re: Why Perl for pkg_* tools ?, Marc Espie, (Sat May 24, 1:39 pm)
Re: Why Perl for pkg_* tools ?, Douglas A. Tutty, (Sat May 24, 8:34 pm)
Re: Why Perl for pkg_* tools ?, Denis Doroshenko, (Sun May 25, 4:40 am)
Re: Why Perl for pkg_* tools ? , Theo de Raadt, (Sat May 24, 9:33 pm)
Re: Why Perl for pkg_* tools ?, Han Boetes, (Fri May 23, 4:21 pm)
Re: Why Perl for pkg_* tools ?, Jeremy Huiskamp, (Fri May 23, 4:40 pm)
Re: Why Perl for pkg_* tools ?, Douglas A. Tutty, (Sat May 24, 8:26 pm)
Re: Why Perl for pkg_* tools ?, Marc Espie, (Fri May 23, 3:37 am)
Re: Why Perl for pkg_* tools ?, Almir Karic, (Fri May 23, 7:42 am)
Re: Why Perl for pkg_* tools ?, Marc Espie, (Fri May 23, 9:24 am)
Re: Why Perl for pkg_* tools ?, Marc Balmer, (Fri May 23, 8:40 am)
Re: Why Perl for pkg_* tools ?, Diana Eichert, (Fri May 23, 9:16 am)
Re: Why Perl for pkg_* tools ?, Paul de Weerd, (Fri May 23, 10:09 am)
Re: Why Perl for pkg_* tools ?, Marc Espie, (Fri May 23, 9:57 am)
Re: Why Perl for pkg_* tools ?, Diana Eichert, (Fri May 23, 12:33 pm)
Re: Why Perl for pkg_* tools ?, Will Maier, (Fri May 23, 8:13 am)
Re: Why Perl for pkg_* tools ?, Paul de Weerd, (Thu May 22, 5:47 pm)
Re: Why Perl for pkg_* tools ?, Adam Patterson, (Thu May 22, 8:55 pm)
Re: Why Perl for pkg_* tools ?, Paul de Weerd, (Fri May 23, 2:06 am)
Re: Why Perl for pkg_* tools ?, Douglas A. Tutty, (Sat May 24, 4:58 pm)
Re: Why Perl for pkg_* tools ?, Randal L. Schwartz, (Sun May 25, 11:01 am)
Re: Why Perl for pkg_* tools ?, Randal L. Schwartz, (Fri May 23, 9:27 am)
Re: Why Perl for pkg_* tools ?, Christer Solskogen, (Thu May 22, 3:35 pm)
Re: Why Perl for pkg_* tools ?, Mic J, (Thu May 22, 5:32 pm)
Re: Why Perl for pkg_* tools ?, Hugo Villeneuve, (Fri May 23, 8:20 pm)
Re: Why Perl for pkg_* tools ?, Marc Espie, (Sat May 24, 4:24 am)
Re: Why Perl for pkg_* tools ?, Diana Eichert, (Thu May 22, 1:40 pm)
speck-geostationary