From: gga Date: 2007-01-24T05:30:06+09:00 Subject: Re: Ruby for massively multi-core chips? Daniel Berger ha escrito: > Bil Kleb wrote: > > How to best evolve Ruby to accommodate 80-core > > CPU programming? > > > > http://www.ddj.com/dept/architect/196901985 > > > > Or does it already? > > Possible but not easy with fork + ipc I think. Otherwise, no. Neither > does Perl or Python. > > So far the only language I've seen specifically designed for multiple > cpus/cores is Fortress, and it's alpha. Fortress, eh? Never heard of it... Actually, there's a couple of languages you could use on that machine that are far, far from beta. Your best bet for that machine is LUA at this point in time. LUA is multi-thread ready and pretty stable. As long as you don't do any OO and blink a little, Lua's syntax looks like Ruby. Nowhere near as nice to do OO in it as in Ruby (or Python, for that matter), but doable. It is a tiny little bit nicer than Perl's OO (but not by much). And good old and somewhat dusty TCL has always been thread friendly. TCL's OO is kind of a big mess, as it is not native to the language and there are 2 or 3 frameworks for doing so. However, TCL's big plus is that it has been around the block for a long, long time.