Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread felix . winkelmann
> That is possible, but it is quite hard to use correctly in my opinion. It's > also not in core anymore. If I understand things correctly, there is a > performance penalty in every new gc root. Maybe some of the core team > members can comment. To me, object-evict has been a last-resort (and as >

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread Kristian Lein-Mathisen
That is possible, but it is quite hard to use correctly in my opinion. It's also not in core anymore. If I understand things correctly, there is a performance penalty in every new gc root. Maybe some of the core team members can comment. To me, object-evict has been a last-resort (and as such,

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread Daniel Ortmann
I have Scheme calling the C yylex() and can easily get all of the token ints. I am trying to return '(tok,lineno) '(tok,lineno,intval) or '(tok,lineno,strval)     C_word *ptr, *sptr;     C_word lst; ...     case TOK_G_R_SECT:     printf("gettoken:(TOK_G_R_SECT,line,text) =

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread Dan Leslie
Isn't it possible to pin items, and avoid these relocation and garbage collection issues, with object-evict? https://wiki.call-cc.org/eggref/5/object-evict -Dan Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐ Original Message ‐‐‐ On Wednesday, August 7, 2019 1:00 PM,

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-07 Thread Kristian Lein-Mathisen
Hi Daniel and welcome to the Chicken mailing list. Another thing to keep in mind is that the Chicken garbage-collector will move objects around during gc. That can cause a lot of hard-to-find bugs, and is probably one of the reasons for Joerg advice on not calling back into Scheme from your

Re: [Chicken-users] Auto CompletionProblems

2019-08-07 Thread Dan Leslie
It sounds like the implementation is not set. Try putting this as the first line in your source file: ;;; -*- mode: scheme; geiser-scheme-implementation: chicken -*- If that fixes your problems, then you'll probably want to limit Geiser to the one implementation, globally, or add that to all

Re: [Chicken-users] Auto CompletionProblems

2019-08-07 Thread ipcore
Hey, do you use helm by any chance? Then this might be related: https://gitlab.com/jaor/geiser/issues/271 Also if you haven't done so already, try running emacs with only the necessary packages enabled. On 8/3/19 4:47 PM, EfraimVagner via Chicken-users wrote: 1. You only ever get

Re: [Chicken-users] Scheme Coding Competition

2019-08-07 Thread Amirouche Boubekki
The first hint is: lorem ipsum. It comes with a list of scheme resources to help you gather the right vocabulary. https://git.sr.ht/~schemers/competition-2019-static-blog-generator#first-hint-animata-magna-minimis We also, have another sponsor https://serverracket.com I will announce the next