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

2016-08-13 Thread Cary Cherng
Do Racket places suffer performance-wise in comparison to Erlang in that the garbage collector cannot assume that everything in one thread is immutable and inaccessible to anyone else so that each thread can have its own garbage collector. -- You received this message because you are

[racket-users] HtDP 2e

2016-08-13 Thread Matthias Felleisen
[[ http://www.ccs.neu.edu/home/matthias/HtDP2e/ ]] Hi everyone, I have pushed out the stable release for 2016/17. This release also went to MIT Press, which has owned the copyright for some time. Once we agree on the book, the final release of HtDP 2e will move to the htdp.org

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

2016-08-13 Thread Matthew Flatt
Just after sending, I realized that you may be running a program like "app.rkt" directly with `racket`, and then trying to deserialize from an application created with `raco exe`. That would fail in much the way you describe for my example. If that's the problem, then one possible solution is to

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

2016-08-13 Thread Matthew Flatt
I think we need more of your program to help. In particular, I don't know what you have in mind with `(define-namespace-anchor a)`, and I wonder whether your program uses `load` or `dynamic-require`. I tried completing your example with app.rkt: #lang racket (require "words.rkt"

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

2016-08-13 Thread rumpz
> This sounds to me like it is using the old bytecode files, since the original > files haven't changed. Does removing the compiled/ directory fix this issue? Just tried it, and it doesnt. > What exactly are you doing with the namespace-anchor? Usually, > `dynamic-require` Later in the

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

2016-08-13 Thread Dupéron Georges
Le vendredi 12 août 2016 14:53:35 UTC+2, rumpz a écrit : > It's like it marked down somewhere that those structs refer to the definition > of "word" in webapp/words.rkt, and not the one in webapp2/words.rkt This sounds to me like it is using the old bytecode files, since the original files

Re: [racket-users] Mixin questions

2016-08-13 Thread Stephen De Gabrielle
Excellent write-write up ! On Fri, 12 Aug 2016 at 13:40, Matthias Felleisen wrote: > > You may want to scan this little write-up on first-class classes and > mixins: > > > http://www.ccs.neu.edu/home/matthias/Thoughts/Programming_with_Class_in_Racket.html > > I intended to