Re: “Too many root sets” when calling compile frequently

2022-08-20 Thread Jean Abou Samra
> Le 19 août 2022 à 12:19, Maxime Devos a écrit : > >  >> On 19-08-2022 00:18, Jean Abou Samra wrote: >> Hi, >> >> Calling the Guile compiler often causes this BDWGC error: “Too >> many root sets”. >> >> scheme@(guile-user)> (define-syntax-rule (repeat n expr expr* ...) (do ((i 0 >> (1+ i)

Re: “Too many root sets” when calling compile frequently

2022-08-20 Thread Maxime Devos
On 20-08-2022 13:08, Jean Abou Samra wrote: Thanks for your reply. I didn’t dig into the history yet, but I might do it later. For now, I have a question. What is the actual purpose of the GC_add_roots call? Is it just to give eternal protection to the objects pointed to by pointers in the me

Re: [PATCH] load-foreign-library: perform substring match on library files

2022-08-20 Thread Sören Tempel
Hi, How do we proceed with this? I would especially be interested in the "patching" that you do in Guix. Maybe that would also be a suitable workaround for us on the Alpine side until this is sorted out properly. Greetings, Sören Sören Tempel wrote: > Hi, > > Thanks for your feedback, comment

Re: [PATCH] load-foreign-library: perform substring match on library files

2022-08-20 Thread Maxime Devos
On 24-07-2022 14:16, Sören Tempel wrote: Hi, Thanks for your feedback, comments below. Maxime Devos wrote: Long term, I think it would be ideal for Guile to decide upon a major version (and maybe even location, depending on the choices of the distro) at _compile_ time instead of runtime, not

Re: [PATCH] load-foreign-library: perform substring match on library files

2022-08-20 Thread Maxime Devos
On 20-08-2022 15:52, Sören Tempel wrote: Hi, How do we proceed with this? I would especially be interested in the "patching" that you do in Guix. Maybe that would also be a suitable workaround for us on the Alpine side until this is sorted out properly. Greetings, Sören Eventually, an actua

avoid character encoding/escaping in sxml->xml or htmlprag's sxml->html

2022-08-20 Thread Aleix Conchillo Flaqué
Hi there, I have a GuileScript example that it's basically a web server written in Guile that returns a basic HTML and also a

Re: avoid character encoding/escaping in sxml->xml or htmlprag's sxml->html

2022-08-20 Thread Maxime Devos
The GuileScript looks nice, for interested readers, see On 20-08-2022 21:59, Aleix Conchillo Flaqué wrote: However, I'm not able to find a way to avoid character encoding/escaping and the generated code inside will always have "<", etc.

Re: Increasing default initial heap size?

"Dr. Arne Babenhauserheide" writes: > With the original setting, most benchmarks take around 4-6 MB of > memory. > - x1: 4-6 MB > - x2: 6-9 MB > - x3: 4-10 MB > - x4: ~11 MB > - x32: 4-74 MB Additional support to the comment by Andy about heap size: racket -e "(sleep 30)" This takes 117.5 M

Re: avoid character encoding/escaping in sxml->xml or htmlprag's sxml->html

Hi Maxime, On Sat, Aug 20, 2022 at 2:48 PM Maxime Devos wrote: > > The GuileScript looks nice, for interested readers, see < https://github.com/aconchillo/guilescript> > > On 20-08-2022 21:59, Aleix Conchillo Flaqué wrote: > > However, I'm not able to find a way to avoid character encoding/escapi

Re: avoid character encoding/escaping in sxml->xml or htmlprag's sxml->html

On Sat, Aug 20, 2022 at 05:05:22PM -0700, Aleix Conchillo Flaqué wrote: > Hi Maxime, > > On Sat, Aug 20, 2022 at 2:48 PM Maxime Devos wrote: > > > > The GuileScript looks nice, for interested readers, see < > https://github.com/aconchillo/guilescript> > > > > On 20-08-2022 21:59, Aleix Conchillo