]> Sergey Matveev's repositories - stargrave-blog.git/commit
Почему единственный интерпретируемый язык в штатной поставке OpenBSD это Perl?
authorSergey Matveev <stargrave@stargrave.org>
Mon, 6 Jun 2022 09:35:21 +0000 (12:35 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 6 Jun 2022 09:35:21 +0000 (12:35 +0300)
commit8ff2c8d406334eed7653041988e2f53a8887e693
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904
parent0db731c4363bb3ae00f5c4eb724fb814f446529a
Почему единственный интерпретируемый язык в штатной поставке OpenBSD это Perl?

https://marc.info/?l=openbsd-misc&m=159041121804486&w=2

    Assume you need a script language, because writing everything in C is
    cumbersome.

    What are the choices ?
    - you need something under and acceptable licence, so python is out.
    (Artistic Licence is "close enough");
    - you need something that builds everywhere, so python is out (hard to build
    without dynamic libraries, that was vax...);
    - you want a modicum of security, so shell and tcl and php are out.
    - awk would kind of work, except it's not that readable, and it wouldn't
    scale up to some of the things we use perl for.