Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lizmat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
841.
▲
by
lizmat
8y ago
Since H. Merijn Brandt started working on the Perl 6 version of Text::CSV, he has kept a log of how long a specific test (referred to as test-t) too to run. https://tux.nl/Talks/CSV6/speed.log Since then, Rakudo P
842.
▲
by
lizmat
8y ago
> after witnessing disasters such as Perl 6 OOC, how long ago did you witness this "disaster"? Perl 6 is doing very well, thank you.
843.
▲
by
lizmat
8y ago
This was way back in the late 70s porting an APL program of the University of Leiden to [TUTOR]( https://en.wikipedia.org/wiki/TUTOR_(programming_language) ). Whether I'm "the" Perl 6 Liz, I don't kno
844.
▲
by
lizmat
8y ago
I'd still prefer that to reverse engineering an APL program. Been there, done that. In the end, I did a clean room reverse engineering, which was way simpler.
845.
▲
by
lizmat
8y ago
Could we please keep the discussion factual instead of resorting to name calling?
846.
▲
No more IRC logs due to Privacy Concerns
(irclog.perlgeek.de)
3 points
by
lizmat
8y ago
|
0 comments
847.
▲
by
lizmat
8y ago
FWIW, Perl 6 does have `Proc` (to run an external process) and `Proc::Async` (to run an external process asynchronously). But `fork`, no: it was decided that `fork` was a unixism that was not supportable on OS's like Windows. And it
848.
▲
by
lizmat
8y ago
I've written a blog post about that: https://www.perl.com/article/an-open-letter-to-the-perl-comm... The modules implemented so far: http://modules.perl6.org/t/CPAN5 I'll also be giving
849.
▲
by
lizmat
9y ago
In Perl 5 threading things are only "shared" semantically. In reality, there is an extra interpreter running where the "shared" variables live, and any value fetches and stores are handled with the `tie` interface (see
850.
▲
by
lizmat
9y ago
In the late 80's I had to give a 3-week programming workshop to a group of 8 people in Bombay, India (now Mumbai). The group consisted of 7 women and one man. I was not used to such a demographic in a teaching group. So I asked: &qu
851.
▲
by
lizmat
9y ago
Which Perl do you mean? Perl 5 or Perl 6?
852.
▲
by
lizmat
9y ago
I think you will find that Perl 6 is even more sane in that respect.
853.
▲
Tau Station, the free to play sci-fi MMORPG, is now public
(taustation.space)
8 points
by
lizmat
9y ago
|
3 comments
854.
▲
by
lizmat
9y ago
Sorry, the horse does not agree it's dead.
855.
▲
by
lizmat
9y ago
No. Perl is pretty much alive. Please use https://metacpan.org instead. It has been the de-facto module search engine used by the Perl community for the past 10 years at least. Only Google still seems to think that search.cpa
856.
▲
by
lizmat
9y ago
> If you use ugly C-style loops instead of nicer native for loops, your loop will run 2x faster. This is what I currently consider a workaround. At the moment if you have a constant endpoint and it fits in a native int, such as `for ^10
857.
▲
by
lizmat
9y ago
Eh, that repo is a mirror. Issues are still handled by RT. And if you look at the actual activity, you see that it not quite dead yet ( https://github.com/Perl/perl5/graphs/commit-activity ). And afaik, Perl
858.
▲
by
lizmat
9y ago
There are. There's even a Perl 6 that is production ready: https://perl6.org
859.
▲
by
lizmat
9y ago
https://stackoverflow.com/questions/tagged/perl6 perhaps? Or on IRC: #perl6 on irc.freenode.org ? Or the perl6-users mailing list?
860.
▲
by
lizmat
9y ago
Turns out that even though primes are integers, in your Perl 6 version, every calculation was done by using floating point. And this was caused by the call to the subroutine. If you would do: sieve_sundaram(1000) instead of:
861.
▲
by
lizmat
9y ago
I'm not exactly sure I understand the algorithm, but if it is only supposed to generate prime numbers upto 1000, than it appears to erroneously include `999` as a prime number. FWIW, if I would just be interested in the prime numbers u
862.
▲
by
lizmat
9y ago
How long ago did you try that number crunching benchmark?
863.
▲
by
lizmat
9y ago
FWIW, in Perl 6, gradual type checking and function signatures do exist, and parameter flattening is only applied if the signature calls for it. sub foo(@array,$scalar) { } foo( 42, [1,2,3] ); # compile time error Signatures
864.
▲
Remote Debug Support for MoarVM
(6guts.wordpress.com)
1 points
by
lizmat
9y ago
|
0 comments
865.
▲
by
lizmat
9y ago
Not sure when you last tried to run your Perl 6 program, but things have improved over the years. Today Rakudo Perl 6 celebrated having one of the most tested canary programs break the 100x faster barrier: https://twitter.com&#x
866.
▲
Of sisters, stacks, and CPAN
(6guts.wordpress.com)
1 points
by
lizmat
9y ago
|
0 comments
867.
▲
by
lizmat
9y ago
FWIW, an apology was later issued: https://www.nntp.perl.org/group/perl.perl5.porters/2018/01/m...
868.
▲
by
lizmat
9y ago
Only 5 times now? I seem to recall it being 100x slower not too long ago.
869.
▲
by
lizmat
9y ago
> Better migration/transition from Perl 5 This is what the CPAN Butterfly Plan is all about. And after that the Butterfly Perl 5 Project.
870.
▲
by
lizmat
9y ago
https://twitter.com/zoffix/status/955290358434451456
More ›