github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm Set by AlexDaniel on 12 June 2018. |
|||
00:01
eater joined
00:12
eater left
02:18
leont left
05:26
evalable6 left,
committable6 left,
linkable6 left,
greppable6 left,
coverable6 left,
shareable6 left,
statisfiable6 left,
unicodable6 left,
squashable6 left,
bloatable6 left,
quotable6 left,
bisectable6 left,
benchable6 left,
sourceable6 left,
notable6 left,
nativecallable6 left,
releasable6 left,
tellable6 left,
unicodable6 joined,
bloatable6 joined
05:27
linkable6 joined,
squashable6 joined,
nativecallable6 joined,
evalable6 joined,
greppable6 joined
05:28
quotable6 joined,
tellable6 joined,
statisfiable6 joined,
coverable6 joined
05:29
sourceable6 joined,
releasable6 joined,
shareable6 joined,
bisectable6 joined,
benchable6 joined,
committable6 joined,
notable6 joined
|
|||
nwc10 | good *, #moarvm | 08:15 | |
08:17
sena_kun joined
08:20
eater joined
|
|||
nwc10 | .tell brrt Well, you have a bit more choice now: geizhals.eu/?cmp=2414598&cmp=2422055 (of course this doesn't work very well because the two products are in different categories) | 08:53 | |
tellable6 | nwc10, I'll pass your message to brrt | ||
09:31
zakharyas joined
09:40
MasterDuke joined
10:34
MasterDuke left
11:29
MasterDuke joined
11:43
dogbert17 left
12:02
leont joined
12:09
Altai-man joined
12:12
sena_kun left
12:29
dogbert17 joined
12:40
MasterDuke left
13:04
zakharyas left
13:15
MasterDuke joined
14:13
zakharyas joined
14:14
zakharyas1 joined
14:17
zakharyas left
15:42
raku-bridge left,
raku-bridge joined
15:46
Geth_ left
16:10
sena_kun joined
16:12
leedo joined,
Altai-man left
|
|||
nine | Looks like the only reference to a serialization context in a precompiled comp unit is in the form of arguments to generated code in the dependencies+deserialize frame (createsc, scsetdesc and deserialize ops) | 16:40 | |
MasterDuke | what does that mean? | 16:42 | |
16:43
patrickb joined
|
|||
nwc10 | you know, that's also what I was asking myself. The words all pan out, but not when put together. | 16:43 | |
nine | It means that it's surprisingly hard to get from a list of comp units loaded during a precompile (i.e. which setting, module loader and modules we requested) to a list of serialization contexts (i.e. what dependencies we expect to end up in the precomp file) | ||
Essentially I want to create a white list of serialization contexts, to avoid dependencies from outside to leak into a precompilation (by way of int or parametrics caches) | 16:44 | ||
16:57
lucasb joined
|
|||
nine | Now of course adding a reference to the serialization context to MVMCompUnit is trivial and the deserialize op can set this reference. The (trick) question then becomes: how does one get at the MVMCompUnit? | 17:07 | |
Sounds easy since we have a CompUnit class in Rakudo. And if that seems to high level there's also a CompUnit::Handle which surely must be about the handle of the low level comp unit, right? Only that it actually isn't. | 17:08 | ||
Even CompUnit::Handle doesn't have a reference to the MVMCompUnit, just to the main frame. This does have a reference to its comp unit via its static frame. But none of that seems to be accessible to HLL code | 17:09 | ||
Ok, implemented a couple of get_attribute functions and now there is a way: use nqp; my $unit := $*REPO.need(CompUnit::DependencySpecification.new(:short-name<Test>)).unit; my $cu := nqp::getattr($unit, $unit.WHAT, "comp_unit"); nqp::scgethandle(nqp::getattr($cu, $unit.WHAT, "sc")).say | 17:52 | ||
Now the hard part: actually creating that allow list, or even decide on what form this will take | 17:54 | ||
18:59
[Coke] left
19:32
domidumont joined
19:40
domidumont left
20:02
zakharyas1 left
20:09
Altai-man joined
20:12
sena_kun left
21:01
patrickb left
21:02
eater left
21:13
[Coke] joined
21:37
sivoais left,
rba left,
nine left,
sivoais joined,
rba joined,
nine joined
21:40
leont left,
timotimo left,
tib left,
lucasb left,
mtj_ left,
Altreus left,
moon-child left,
samcv left,
jpf1 left
21:41
leont joined,
tib joined,
timotimo joined,
lucasb joined,
mtj_ joined,
Altreus joined,
moon-child joined,
lucasb left,
samcv joined,
jpf1 joined,
Util left,
japhb left,
elcaro left,
camelia left
21:42
camelia joined,
Util joined,
japhb joined,
elcaro joined
21:46
notable6 left,
committable6 left,
releasable6 left,
sourceable6 left,
statisfiable6 left,
quotable6 left,
evalable6 left,
nativecallable6 left,
squashable6 left,
unicodable6 left,
nebuchadnezzar left,
Kaiepi left,
vesper11 left
21:47
notable6 joined,
committable6 joined,
releasable6 joined,
sourceable6 joined,
statisfiable6 joined,
quotable6 joined,
evalable6 joined,
nativecallable6 joined,
squashable6 joined,
unicodable6 joined,
nebuchadnezzar joined,
xiaomiao joined,
lucasb joined
21:48
kawaii left,
rypervenche left,
Kaiepi joined
21:50
vesper11 joined
21:51
kawaii joined,
rypervenche joined,
kawaii left,
avar left,
mst left,
[Coke] left,
Altai-man left,
harrow left,
lizmat left,
klapperl left,
krunen left
21:53
[Coke] joined,
Altai-man joined,
harrow joined,
lizmat joined,
klapperl joined,
krunen joined,
Voldenet joined,
avar joined,
mst joined,
tepper.freenode.net sets mode: +o mst,
raku-bridge left,
raku-bridge joined,
raku-bridge left,
avar left,
mst left,
[Coke] left,
Altai-man left,
harrow left,
lizmat left,
klapperl left,
krunen left,
Voldenet left,
vesper11 left,
rypervenche left,
notable6 left,
committable6 left,
releasable6 left,
sourceable6 left,
statisfiable6 left,
quotable6 left,
evalable6 left,
nativecallable6 left,
squashable6 left,
unicodable6 left,
nebuchadnezzar left,
xiaomiao left,
camelia left,
Util left,
japhb left,
elcaro left,
samcv left,
jpf1 left,
mtj_ left,
Altreus left,
moon-child left,
leont left,
timotimo left,
tib left,
sivoais left,
rba left,
nine left,
ChanServ left,
Kaiepi left,
chansen_ left,
leedo left,
lucasb left,
benchable6 left,
bisectable6 left,
shareable6 left,
coverable6 left,
tellable6 left,
greppable6 left,
linkable6 left,
bloatable6 left,
dogbert17 left,
SmokeMachine left,
tbrowder left,
BinGOs left,
vrurg left,
sxmx left,
nwc10 left,
tobs left,
MasterDuke left
21:54
raku-bridge joined,
mst joined,
avar joined,
Voldenet joined,
krunen joined,
klapperl joined,
lizmat joined,
harrow joined,
Altai-man joined,
[Coke] joined,
rypervenche joined,
vesper11 joined,
Kaiepi joined,
lucasb joined,
xiaomiao joined,
nebuchadnezzar joined,
unicodable6 joined,
squashable6 joined,
nativecallable6 joined,
evalable6 joined,
quotable6 joined,
statisfiable6 joined,
sourceable6 joined,
releasable6 joined,
committable6 joined,
notable6 joined,
elcaro joined,
japhb joined,
Util joined,
camelia joined,
jpf1 joined,
samcv joined,
moon-child joined,
Altreus joined,
mtj_ joined,
timotimo joined,
tib joined,
leont joined,
nine joined,
rba joined,
sivoais joined,
leedo joined,
MasterDuke joined,
dogbert17 joined,
benchable6 joined,
bisectable6 joined,
shareable6 joined,
tepper.freenode.net sets mode: +o mst,
coverable6 joined,
tellable6 joined,
greppable6 joined,
linkable6 joined,
bloatable6 joined,
vrurg joined,
chansen_ joined,
SmokeMachine joined,
tbrowder joined,
sxmx joined,
ChanServ joined,
BinGOs joined,
nwc10 joined,
tobs joined,
tepper.freenode.net sets mode: +o ChanServ,
dogbert17 left,
SmokeMachine left,
tbrowder left,
BinGOs left,
kawaii joined,
vrurg left,
sxmx left,
nwc10 left,
tobs left,
dogbert17 joined,
SmokeMachine joined,
tbrowder joined,
BinGOs joined
21:55
MasterDuke left,
vrurg joined,
sxmx joined,
nwc10 joined,
tobs joined,
MasterDuke joined
21:56
lucasb left
22:01
lucasb joined
23:14
Altai-man left
|