Search
Thursday, 18th of August 2022, 20:59:03 UTC
20:59:23
karlosz
im trying to figure out what the Right Thing here is
20:59:51
karlosz
but for now maybe just pushing and having entry-close muck with the vm stack pointer will work.
21:00:37
Bike
i think it will work. i see what you mean about entry-close not needing to reset the stack though.
21:01:32
Bike
practically speaking, i don't think clasp could implement an exit-single that would be more efficient (i.e. that would not just use the mv anyway) without a total overhaul of its nlx, but it does make sense conceptually i think
21:09:49
karlosz
Bike: i have a compilation strategy that doesn't rely on entry-close also muning with the stack pointer
21:10:29
karlosz
for the case where block is in a 1 value receiving context (like in the above) we make the normal control flow do its usual thing
21:10:37
karlosz
but the exceptional case does the push
21:10:47
karlosz
and an extra jump gets inserted
21:10:55
karlosz
for the mv receiving context we don't even need to do that
21:18:27
Bike
we'd still need push, right?
21:19:36
Bike
or exit-single would work too
21:21:21
karlosz
Bike: i pushed the fix i used to the cvm main branch that makes it work
21:21:30
karlosz
thats with entry-close not actually resetting anything
21:23:15
drmeister
How are things going?
21:24:55
karlosz
drmeister: trying to get the bytecode compiler self-hosting
23:13:14
drmeister
What's the current problem? macrolet? The discussion above looks to be about an optimization.
1:14:37
drmeister
Communication from Lang Hames. I have three issues with LLVM and it looks like it will be a while until they are fixed.
1:14:39
drmeister
https://usercontent.irccloud-cdn.com/file/PKLCpc3u/image.png
1:14:59
drmeister
Now that I think about it - the bytecode compiler/interpreter will help us with all of these.
1:15:41
drmeister
If we shift code to bytecode compilation then there will be less DWARF code to finalize - so shutdown will be faster.
1:15:56
drmeister
Uh - won't help with native building on M1.
1:17:28
Bike
the current problem is the bytecode compiler not handling certain nonlocal exits correctly
Friday, 19th of August 2022, 8:59:03 UTC