Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm Set by Zoffix on 27 July 2018. |
|||||||||||||||||||||||||||||||||||||||
00:34
Kaiepi left,
Kaypie joined
00:53
Kaypie left,
Kaypie joined
02:14
pamplemousse left
02:21
klapperl_ joined,
klapperl left
02:29
Kaypie left,
Kaypie joined
02:33
Kaypie left
02:34
Kaypie joined
04:50
BeastieBot left,
BeastieBot joined
06:30
patrickb joined
06:31
ufobat joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | Files=1268, Tests=108561, 192 wallclock secs (26.68 usr 7.76 sys + 2691.76 cusr 252.97 csys = 2979.17 CPU) | 06:49 | |||||||||||||||||||||||||||||||||||||
07:06
robertle joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | .ask jnthn would it make sense to fix thread safety of state variables / once blocks by using an atomic int increment to signal initialization on the MoarVM backend? | 08:02 | |||||||||||||||||||||||||||||||||||||
yoleaux | lizmat: I'll pass your message to jnthn. | ||||||||||||||||||||||||||||||||||||||
08:33
robertle left
09:26
patrickb left
|
|||||||||||||||||||||||||||||||||||||||
|Tux| |
|
09:30 | |||||||||||||||||||||||||||||||||||||
09:38
patrickb joined
11:42
MasterDuke joined
|
|||||||||||||||||||||||||||||||||||||||
MasterDuke | an interesting article and commentary about doing parallel programming in julia that seems relevant here news.ycombinator.com/item?id=20507628 | 11:43 | |||||||||||||||||||||||||||||||||||||
12:06
MasterDuke left
12:55
llfourn joined
13:26
Voldenet left
13:31
lucasb joined
13:32
Voldenet joined,
Voldenet left,
Voldenet joined
|
|||||||||||||||||||||||||||||||||||||||
jdv79 | I thought the Hash:Map::Array:List stuff was all settled a while ago | 13:35 | |||||||||||||||||||||||||||||||||||||
13:36
robertle joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | jdv79: apparently not ? :-) | 13:46 | |||||||||||||||||||||||||||||||||||||
the fact that I created a PR should not be construed as supporting that change, merely as a tool to make the discussion clear | |||||||||||||||||||||||||||||||||||||||
since vrurg is trying to fix the issue of exporting scalar values | 13:47 | ||||||||||||||||||||||||||||||||||||||
13:48
AlexDaniel left,
AlexDaniel joined
|
|||||||||||||||||||||||||||||||||||||||
vrurg | lizmat: Actually, your PR will fix things for those exporting with Map. The rest is in the core already. | 13:49 | |||||||||||||||||||||||||||||||||||||
lizmat | jdv79: ^^ | ||||||||||||||||||||||||||||||||||||||
Geth | rakudo/nested_stagestats: d0c6b6b7f6 | (Timo Paulssen)++ | src/core/CompUnit/PrecompilationRepository.pm6 Show stagestats for dependent precompilation This way you can get much more info when your "stage parse" takes long, and you can more easily see the dependency structure of your projects (though of course modules that were already precompiled won't show up here) |
14:04 | |||||||||||||||||||||||||||||||||||||
rakudo: timo++ created pull request #3082: Show stagestats for dependent precompilation |
|||||||||||||||||||||||||||||||||||||||
timotimo | may be a good idea to shorten that excerpt a bit, haha | 14:08 | |||||||||||||||||||||||||||||||||||||
14:27
patrickb left
14:39
Kaypie left
14:41
Kaiepi joined
14:57
pamplemousse joined
15:31
chloekek joined
15:43
robertle left
|
|||||||||||||||||||||||||||||||||||||||
ugexe | lizmat: you'd probably have to use a lock for the same reason you would for //= -- knowing if its initialized isn't enough, the second thread must also wait for the value to be available | 15:47 | |||||||||||||||||||||||||||||||||||||
if the initialization marker was the value itself then it'd be fine | |||||||||||||||||||||||||||||||||||||||
i guess maybe cas could work | 15:48 | ||||||||||||||||||||||||||||||||||||||
on systems that support it | |||||||||||||||||||||||||||||||||||||||
as for `once { }` you are left choosing if a second thread can skip past while the first thread is still inside the once block | 15:51 | ||||||||||||||||||||||||||||||||||||||
i'm assuming thats ok but would still catch people up using once to initialize things | 15:52 | ||||||||||||||||||||||||||||||||||||||
16:36
pamplemousse left
16:45
robertle joined
|
|||||||||||||||||||||||||||||||||||||||
AlexDaniel | lizmat: “Perl 6 is a brand new language that brings fun back into programming” ? :) | 17:09 | |||||||||||||||||||||||||||||||||||||
17:29
pamplemousse joined
17:38
pamplemousse_ joined
17:40
pamplemousse left
17:41
pamplemousse_ is now known as pamplemousse
17:44
chloekek left
18:18
BeastieBot left
18:19
BeastieBot joined
18:20
AlexDaniel left
18:22
pamplemousse_ joined
18:24
pamplemousse left,
pamplemousse_ is now known as pamplemousse
|
|||||||||||||||||||||||||||||||||||||||
Geth | rakudo/release-2019.07.1: bd29d3f643 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/08-performance/99-misc.t Bump the margin of a performance test According to the original issue one of the variants wasn't simply slower but rather used to hang. To test for the hang, the margin can be relatively large. Currently the difference is about 2x, which means that the test flapped depending on the system's load. Bumping it to 5x should be good enough in most of the cases. Resolves GH-3065. |
18:34 | |||||||||||||||||||||||||||||||||||||
18:36
AlexDaniel joined
19:01
pamplemousse_ joined
19:03
pamplemousse left
19:50
pamplemousse_ is now known as pamplemousse
20:10
MasterDuke joined
20:17
TimToady left,
TimToady joined
21:04
Kaiepi left
21:17
Kaiepi joined
21:30
MasterDuke left
|
|||||||||||||||||||||||||||||||||||||||
pamplemousse | Quick question. When I run "perl6 --target=mbc --output=foo.mbc foo.pl6", and foo.pl6 uses a module (in this case Date::Names), I get this output to the terminal: gist.github.com/pamplemoussecache/...505aafb5d1 | 22:15 | |||||||||||||||||||||||||||||||||||||
It appears to be produced on this line: github.com/perl6/nqp/blob/master/s...r.nqp#L553 | |||||||||||||||||||||||||||||||||||||||
But I can't find where that $grammar.parse() function actually lives. Does anyone have any ideas? | 22:16 | ||||||||||||||||||||||||||||||||||||||
timotimo | yeah, that is probably derived from NQP | 22:17 | |||||||||||||||||||||||||||||||||||||
but you're probably most interested in the TOP method in the grammar in question | |||||||||||||||||||||||||||||||||||||||
pamplemousse | The TOP method? How would I find that? | 22:21 | |||||||||||||||||||||||||||||||||||||
timotimo | that'd be Perl6::Grammar's TOP | ||||||||||||||||||||||||||||||||||||||
the method parse in question actually lives in QRegex/Cursor.nqp i believe | 22:22 | ||||||||||||||||||||||||||||||||||||||
but it doesn't do much besides call the TOP method/token (by default) of the grammar | 22:23 | ||||||||||||||||||||||||||||||||||||||
pamplemousse | It looks like it is the one in Cursor.nqp, thanks! I'll take a look at TOP next | 22:29 | |||||||||||||||||||||||||||||||||||||
timotimo | it does a *lot* | ||||||||||||||||||||||||||||||||||||||
github.com/rakudo/rakudo/pull/3082 - this PR happens to have a little bit to do with what you might be looking at at the moment | 22:30 | ||||||||||||||||||||||||||||||||||||||
at least i think you're looking in that general direction | 22:31 | ||||||||||||||||||||||||||||||||||||||
of course the output you're getting gives all dependencies, whereas what i changed in that code is only for dependencies that haven't been precompiled yet | |||||||||||||||||||||||||||||||||||||||
pamplemousse | Thank you, that's extremely helpful | 22:33 | |||||||||||||||||||||||||||||||||||||
timotimo | glad to hear it | 22:35 | |||||||||||||||||||||||||||||||||||||
i'm about to head to bed | |||||||||||||||||||||||||||||||||||||||
pamplemousse | Alright, thank you for your help! | 22:36 | |||||||||||||||||||||||||||||||||||||
timotimo | thank you for your contributions :) | 22:37 | |||||||||||||||||||||||||||||||||||||
23:01
pamplemousse left
23:11
lucasb left
|