On Friday, September 21, 2012 8:39:27 PM UTC+2, Sam Tobin-Hochstadt wrote:
> Racket [1] provides facilities for using multiple processors and cores, in the form of futures [2] and places [3].
I have had a look at Racket before, but
1) threads do not work for me
2) futures look a little like black magic (according to the guide, paragraph 18.10) and it's hard to predict whether they will really run in parallel, or what you can do about it
3) places will most likely not permit to share top-level variables (at least in Windows where fork() does not work as in *nix).
Does any of these permit at least read access to global variables? I know this is not recommended, but in my case it is the easiest solution without refactoring the whole program.