ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] I: Perl 6 в Sisyphus
@ 2015-10-28 19:31 Vladimir Lettiev
  0 siblings, 0 replies; only message in thread
From: Vladimir Lettiev @ 2015-10-28 19:31 UTC (permalink / raw)
  To: sisyphus

В 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-28 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28 19:31 [sisyphus] I: Perl 6 в Sisyphus Vladimir Lettiev

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