Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion cpu-intensive multithreading

Received: by 10.66.84.41 with SMTP id v9mr2458787pay.43.1348468050144;
        Sun, 23 Sep 2012 23:27:30 -0700 (PDT)
Path: t10ni14059611pbh.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 24 Sep 2012 01:27:29 -0500
From: "Aaron W. Hsu" <arcf...@sacrideo.us>
Subject: Re: cpu-intensive multithreading
Newsgroups: comp.lang.scheme
References: <2eb375e0-ace6-4157-b906-7e6d250ec74d@googlegroups.com>
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
	git://git.gnome.org/pan2)
MIME-Version: 1.0
Message-ID: <JPGdnQTP4bPMYMLNnZ2dnUVZ5tudnZ2d@giganews.com>
Date: Mon, 24 Sep 2012 01:27:29 -0500
Lines: 16
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-FFlxin9S+mlPoTqnrcrKNruPbOu2Z5UOJKE5z8epF9h+Xun4jbVWrI0Hh3uLL1St8e93k0JCVoswmmR!k4sVLdwqTtzVmt+HEt0Paybz5T82Zri3X36oGyqlLUw51QpMhkzrl1/udhCX/+ucdDiUnwpduw==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 1955
X-Original-Bytes: 1894
X-Received-Bytes: 2035
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

On Fri, 21 Sep 2012 08:32:35 -0700, Patrick Useldinger wrote:

> Is there any portable (Win, OSX) Scheme implementation which can
> distribute and preempt cpu-intensive threads over several processors /
> cores? I am looking to port some number-crunching thing from Python and
> I'd love to avoid C++.

Chez Scheme can do this. In particular, I am currently implementing a 
high-performance lightweight threading system based on a work stealing 
deque and atomic CAS operations. It's for an implementation of APL on top 
of Scheme, and it should do quite well for number crunching. If you are 
interested, I would love to have real world code to benchmark.

-- 
Aaron W. Hsu | arcf...@sacrideo.us | http://www.sacrideo.us
Programming is just another word for the lost art of thinking.