freenode/#clasp - IRC Chatlog
Search
17:29:50
attila_lendvai
drmeister: no worries, it's far from a widely accepted view among doctors, but it's proven by many publications in the last few years
17:33:22
Bike
https://irclog.tymoon.eu/freenode/%23clasp?around=1513736075#1513736075 something something
17:35:26
attila_lendvai
my mantra: kludges are perfectly fine -- *if* they are marked as kludges, and *if* they are leading to explicit and early failures only. we even have red coloring in our emacs for KLUDGE, TODO, FIXME
17:35:57
attila_lendvai
and the reason is primarily psychological, along the lines of the broken window idea
17:36:08
drmeister
Classes are instances of Instance_O. ClassRep_O are for classes that are exposed with clbind - it is derived from Instance_O because it needs extra information about the C++ class that is being exposed.
17:50:01
drmeister
I figured out last night that it will be trivial to add custom pools for builtin C++ objects of specific classes.
17:50:37
drmeister
It's a little bit of template specialization code and an API to add and access custom allocators to the thread-local storage.
18:21:07
drmeister
I have to run the static analyzer again. Uncommenting that line creates some global variables that the GC needs to be aware of.
18:44:16
drmeister
It's disturbing - there is something wrong with the debug info that we are generating - I believe
19:33:00
shiho
drmeister: I tried (load-off "atomic_ions.lib") and got the error. "Could not determine element for atomic number 94"
19:47:16
drmeister
Then run waf so that it does a link with the -v option on to get the link command.
20:15:22
drmeister
Exposing the ClassRep_O I get the problem... (ERROR UNDEFINED-FUNCTION :NAME #:FOO-ALT-NAME-IN-SAFE-ADD-METHOD )
20:42:56
drmeister
Then you run it under the lldb debugger and you check where the problem was. That's as far as I got.
0:36:28
drmeister
Is there any downside to creating new types of meta class if they inherit from class?
4:42:02
drmeister
There's a core:clbind-cxx-class meta class for all clbind classes that are not derivable
4:42:21
drmeister
Then there is the core:derivable-cxx-class meta class for clbind classes that are derivable