From: Vladimir Lettiev <thecrux@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] I: Perl 6 в Sisyphus
Date: Wed, 28 Oct 2015 22:31:07 +0300
Message-ID: <20151028193107.GA10796@mail.truecrux.org> (raw)
В Sisyphus отправлена сборка Rakudo 2015.10 — компилятора языка
программирования Perl 6. Это первая официальная бета-версия, ну а
финальная версия компилятора ожидается накануне рождества 2015 года. Если
кому-то будет интересно поиграться с новой игрушкой, то добро пожаловать.
Важно заметить, что Perl 6 никогда не заменит Perl 5, поскольку это
совершенно другой язык программирования несовместимый с Perl 5.
Rakudo базируется на виртуальной машине MoarVM (http://www.moarvm.org) и
работает значительно быстрее, чем какие-либо предшествующие реализации.
Например, простой «hello world!»:
$ time perl6 -e 'say "hello world!"'
hello world!
perl6 -e 'say "hello world!"' 0,29s user 0,08s system 99% cpu 0,379 total
Это уже быстрее, чем java :)
Помимо голого компилятора, можно поставить пакет perl6-Panda, который
позволит устанавливать другие Perl 6 модули с github. Это своеобразный
аналог cpanminus из Perl 5 или gem из Ruby. panda также может
устанавливать модули в домашнем каталоге (perl6 ищет модули в том числе и
в ~/.perl6).
Сборка пока достаточно сырая, нет авто-поиска зависимостей и прочей
красоты. В комплекте вытягивается valgrind/gdb, что, думаю, не помешает,
учитывая бета-статус.
--
Vladimir Lettiev aka crux ✉ theCrux@gmail.com
reply other threads:[~2015-10-28 19:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151028193107.GA10796@mail.truecrux.org \
--to=thecrux@gmail.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git