Re: Performance impact of top level definitions

2018-05-14 Thread Mark H Weaver
Hi Brian, Brian writes: > Today I found that top level defines have a significant performance > impact on Guile (2.2.3). The following program takes about 108 seconds > to complete on my ThinkPad (an i5-5200U with Arch Linux): [...] > By simply wrapping that code in a lambda the program finished

Re: tracepoints/breakpoints and native compilation

2018-05-14 Thread Mark H Weaver
Hi Andy, Andy Wingo writes: > A design question for everyone. I am wondering how to support > breakpoints, tracepoints, and the like in a Guile with native-code > compilation. If you are not familiar with what Guile does currently, > see: > > https://www.gnu.org/software/guile/manual/html_no

Re: tracepoints/breakpoints and native compilation

2018-05-14 Thread Andy Wingo
On Tue 15 May 2018 05:08, Mark H Weaver writes: > I think we should consider deprecating these legacy debug hooks, and > instead to support debugging features similar to GDB, using the same > implementation methods that GDB uses. > > Alternatively, I wonder if it would be feasible to enhance GDB