Search
Saturday, 14th of October 2017, 3:09:10 UTC
3:23:17
drmeister
Ok - cclasp built.
3:24:13
drmeister
I'm going to push this to dev and testing to get some timing data.
3:25:04
drmeister
There is still a lot of noise in the backtraces:
3:25:04
drmeister
https://i.imgur.com/quJ8G9m.png
3:31:54
drmeister
Pushed to testing.
3:50:40
drmeister
It takes 10.5 minutes to compile ASDF
4:06:36
drmeister
A little more timing
4:08:09
drmeister
https://www.irccloud.com/pastebin/TsvOVOyB/
4:08:34
drmeister
https://www.irccloud.com/pastebin/FXtUEyKp/
4:09:21
drmeister
https://www.irccloud.com/pastebin/Q5ziTkdF/
4:13:03
Bike
well, it's 14.248/2.105 on this machine (which is worse, but also i'm chewing up the cpu), for pre-this, so that would be a reduction from 6.77 to 4.82
6:19:24
beach
Good morning everyone!
12:56:39
beach
I am starting to agree with Bike in that it might not be a great idea to have a CST syntax checker separate from the converter to AST.
14:58:52
drmeister
Bike: Here's how the wrappers work
14:59:03
drmeister
It would be helpful if you opened up three files
14:59:29
drmeister
clasp/build/boehm/generated/c-wrappers.h
14:59:40
drmeister
clasp/build/boehm/generated/cl-wrappers.lisp
15:00:05
drmeister
clasp/src/lisp/kernel/lsp/direct-calls.lsp
15:00:30
drmeister
Lets look for a good example
15:02:22
drmeister
it takes two core::T_O* arguments
15:02:40
drmeister
And in cl-wrappers.lisp is: (generate-direct-call-defun (core:magic-intern "cl__cons") (object1 object2) "wrapped_cl__cons" )
15:03:03
drmeister
The macro is in direct-calls.lsp
15:03:23
Bike
so it defines cl:cons as a multiple-value-foreign-call to wrapped_cl__cons?
15:03:50
Bike
why does it check inline status?
15:04:05
drmeister
And wrapped_cl__cons translates the arguments - which shouldn't be anything in this case, just wrap the core::T_O* in a T_sp
15:05:03
Bike
is making a T_sp out of a T_O* a no-op?
15:05:54
drmeister
As far as I understand zero cost abstractions - yes
15:07:48
drmeister
We can llvm-dis the generated code and check
15:08:09
drmeister
Where is the inline thing?
15:08:25
Bike
in direct-calls it checks that the lisp function isn't declaimed inline.
Saturday, 14th of October 2017, 15:09:10 UTC