freenode/#clasp - IRC Chatlog
Search
2:23:41
drmeister
I'm pretty sure there is a very long standing problem lurking in Clasp's exception handling when exceptions are thrown in cleanup clauses. I'm pretty sure it has something to do with cxa_begin_catch/cxa_end_catch/rethrow
2:24:25
drmeister
I might be failing to pop entries from the exception stack - it would be really useful if I could interrogate the exception stack - must look into it.
3:03:14
beach
Common Lisp signals are a model of simplicity compared to the description of C++ exception handling in that article.
3:04:38
drmeister
Yeah - unfortunately everything rests on me figuring out the C++ exception handling. It's amazing that I got it almost right but not quite.
3:05:07
beach
Bike: Yes, you are right, some optimizations are possible because we always have all the code at our disposal, so they resemble static optimizations. When the code changes, we just adapt to the new version of the entire code.
3:05:44
beach
Bike: I am pretty sure there are many other such optimization opportunities to explore.
13:58:16
Bike
drmeister: i'm trying to elide the vaslist construction if it's unneeded. I thought this would be pretty easy because there's already a flag for whether the effective methods need a valist i can use. However, codegen-slot-reader/writer call vaslist-end for some reason. What does it do?