Re: [racket-users] Problems with modules and with raco

2016-08-14 Thread rumpz
Thank you for the suggestions. I've tried to do the following to test your guess: -deleted everything except the source files -raco exe app.rkt -raco exe eng.rkt (app is the web app, eng the program I use to create the files with the serialized data, words contains the serializable-struct and

Re: [racket-users] Memory comsuption reduced using `(require (only-in aModule aFunction anotherFunction))`?

2016-08-14 Thread Lux
I see, I've tried `raco demod` and I am pretty happy with it. Thanks for answering. On Sunday, August 14, 2016 at 3:31:01 PM UTC+2, Matthew Flatt wrote: > Restricting imports in that way is unlikely to reduce memory > consumption. A module will be loaded if it is transitively required > from the

Re: [racket-users] Memory comsuption reduced using `(require (only-in aModule aFunction anotherFunction))`?

2016-08-14 Thread Matthew Flatt
Restricting imports in that way is unlikely to reduce memory consumption. A module will be loaded if it is transitively required from the program's main module, whether or not any of its definitions are used. The `raco demod` tool can flatten some programs into a single module and discard unused

Re: [racket-users] Racket, Erlang, concurrency and performance

2016-08-14 Thread Matthew Flatt
To a first approximation, Racket places have that same property: different places do not share mutable data, so each place has its own GC. More precisely, there is a shared space that is used to set up communication, but GCs there are rare and triggered only by creating new place channels.

[racket-users] Re: HtDP 2e

2016-08-14 Thread Lux
Thanks for the book, I've read the first and started the second edition recently. It is great. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[racket-users] Memory comsuption reduced using `(require (only-in aModule aFunction anotherFunction))`?

2016-08-14 Thread Lux
Hi, I use `(require (only-in aModule aFunction anotherFunction))` a lot to make use of modules safer, but it also can lead to reduced memory consumption not loading the module on its entirety? Or this is not the case? What tools I can use to evaluate this myself on the linux platform? Thanks in