Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lizmat
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lizmat
2mo ago
Perl to Raku guide - in a nutshell: https://docs.raku.org/language/perl-nutshell Perl to Raku guide - operators: https://docs.raku.org/language/perl-op Perl to Raku guide - functions: https:/
2.
▲
by
lizmat
2mo ago
or raku -e 'say "etbjxntqrdke".comb.map(*.succ).join'
3.
▲
by
lizmat
3mo ago
* No separate types of bytestrings versus sequences of unicode codepoints. Fixed in Raku. You either have a string (Str) or a bytestream (Blob). * Wherever there's strings in any non-trivially-sized real-word Perl 5 project, there is
4.
▲
by
lizmat
3mo ago
And the original blog post from almost a year ago: https://dev.to/lizmat/towards-a-raku-foundation-3ne2
5.
▲
Official announcement of the start of The Raku Foundation
(dev.to)
5 points
by
lizmat
3mo ago
|
2 comments
6.
▲
by
lizmat
3mo ago
From a blog post, to a problem solving issues, to passing a lot of hurdles: The Raku Foundation is here! https://dev.to/lizmat/a-year-later-a-trf-1lh0
7.
▲
by
lizmat
6mo ago
The Rakudo implementation of the Raku Programming Language uses the MoarVM, which is pretty much a generic VM. All you need to do(TM) is write a grammar and associated actions to build the right bytecode out of the given Python source.
8.
▲
Making your JITted Code known: Let me count the ways
(wakelift.de)
9 points
by
lizmat
6mo ago
|
1 comments
9.
▲
by
lizmat
7mo ago
It also goes from source code to AST: $ raku -e 'say Q|say "Hello World!"|.AST' RakuAST::StatementList.new( RakuAST::Statement::Expression.new( expression => RakuAST::Call::Name::WithoutParentheses.new
10.
▲
by
lizmat
7mo ago
> In the raku example, what if the elements were to be multiplied? $ raku -e 'say (0, 1, 2, * × * ... )[^10]' # for readability (0 1 2 2 4 8 32 256 8192 2097152) $ raku -e 'say (0, 1, 2, * * ... *)[^10]' # fo
11.
▲
by
lizmat
8mo ago
Nothing stopping you from creating a L10N::LA module :-)
12.
▲
by
lizmat
8mo ago
You mean like: my $a of Int = 42; say $a; # 42 or my $a of Int = "foo";' # Type check failed in assignment to $a; expected Int but got Str ("foo") ?
13.
▲
by
lizmat
9mo ago
FWIW, cannot reproduce on Safari 18.6 on MacOS 15.6.1
14.
▲
by
lizmat
9mo ago
Technically, no. As Rakudo is not a programming language, and Perl6 is a deadname. But there are indeed plenty of people doing projects with the Raku Programming Language.
15.
▲
by
lizmat
10mo ago
Please, stop deadnaming the Raku Programming Language :-)
16.
▲
by
lizmat
1y ago
There is a Perl 5 compatibility mode: it's called Inline::Perl5. Maybe not the one that was originally planned. But that was only a real possibility if Perl 5 would be able to get rid of its XS addiction. Ask yourself: how many of t
17.
▲
by
lizmat
1y ago
Sadly, that's just Num.gist showing 1.0 as "1" though. say (pi/pi).^name; # Num
18.
▲
by
lizmat
1y ago
Actually, a module can implement any export heuristics by supplying an EXPORT subroutine, which takes positional arguments from the `use` statement, and is expected to return a Map with the items that should be exported. For example:
19.
▲
by
lizmat
1y ago
Everybody is entitled to their opinion, whether they'd be Raku developers or not.
20.
▲
by
lizmat
2y ago
The Raku Programming language allows one to specify the required version, the required authority and API level: use Foo::Bar:ver<0.1.2+>:auth<zef:name>:api<2>; would only work if the at least version 0.1.2 of the Foo::Bar
21.
▲
A highly configurable GNU/Linux with built-in AI
(ditana.org)
2 points
by
lizmat
2y ago
|
0 comments
22.
▲
by
lizmat
2y ago
Hi Perlgeek, long time no see! I really wish more people would use Raku :-) Because it is all built in there already! :-)
23.
▲
by
lizmat
2y ago
> those numbers show that Perl and Tcl, both "full featured" scripting languages, don't have the least issue on the matter. Anybody using modern Perl will most likely also use Moose, and probably big integers as well. If
24.
▲
by
lizmat
2y ago
Startup time is not the strong point of Rakudo. And it will be a long time before it will. Beyond startup, performance definitely has attention of the core developers: that's when hot code gets inlined, and JITted to machine code if
25.
▲
by
lizmat
2y ago
If this was about my former $work: The company using Perl was able to double its turnover in 3 weeks. The company using Java was still in the design phase. Companies choose their tools depending on their internal culture. The company using
26.
▲
by
lizmat
2y ago
> Fundamentally, Raku regexes are very much like subroutines... And if they're part of a grammar, they're essentially methods on a class. And a class that can be sub-classed. Or have roles mixed in, consisting of regexes.
27.
▲
by
lizmat
2y ago
Raku has the [Instant]( https://docs.raku.org/type/Instant ) class: "An Instant is a particular moment in time measured in atomic seconds, with fractions. It is not tied to or aware of any epoch."
28.
▲
by
lizmat
2y ago
Not actively, not anymore. Very occasionally (maybe once a year) he will post a comment on an issue. But that's about it. In other words: (hopefully happily) enjoying his retirement.
29.
▲
by
lizmat
2y ago
You can program with APL density of you want. However, you don't have to!
30.
▲
by
lizmat
2y ago
Freenode is actually dead: the Raku IRC channels are on libera.chat!
More ›