<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Threads Happen</title>
	<link>http://www.linux-mag.com/id/6414/</link>
	<description>Open Source, Open Standards</description>
	<pubDate>Sun, 05 Jul 2009 02:00:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: hilbertastronaut</title>
		<link>http://www.linux-mag.com/id/6414/#comment-1281</link>
		<pubDate>Thu, 10 Jul 2008 22:36:17 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6414/#comment-1281</guid>
					<description>mdavis0452: in my reply to your comment above, note that the runtime does the work of multiplexing jobs to threads, rather than you.  So replace "[y]ou" with "the runtime job scheduler."  I'm not sure how Erlang's runtime does it, but plenty of other systems work this way:  you put jobs on a work queue, and the runtime pulls off jobs from the queue and assigns them to processors.</description>
		<content:encoded><![CDATA[<p>mdavis0452: in my reply to your comment above, note that the runtime does the work of multiplexing jobs to threads, rather than you.  So replace &#8220;[y]ou&#8221; with &#8220;the runtime job scheduler.&#8221;  I&#8217;m not sure how Erlang&#8217;s runtime does it, but plenty of other systems work this way:  you put jobs on a work queue, and the runtime pulls off jobs from the queue and assigns them to processors.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: hilbertastronaut</title>
		<link>http://www.linux-mag.com/id/6414/#comment-1280</link>
		<pubDate>Thu, 10 Jul 2008 22:33:56 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6414/#comment-1280</guid>
					<description>mdavis0452: think of "Erlang thread" as a job.  You can multiplex N jobs onto M operating system threads in which N &#62;= M.</description>
		<content:encoded><![CDATA[<p>mdavis0452: think of &#8220;Erlang thread&#8221; as a job.  You can multiplex N jobs onto M operating system threads in which N &gt;= M.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: hilbertastronaut</title>
		<link>http://www.linux-mag.com/id/6414/#comment-1279</link>
		<pubDate>Thu, 10 Jul 2008 22:30:33 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6414/#comment-1279</guid>
					<description>Uh, CUDA threads have nothing to do with Erlang threads, except for perhaps the name and the idea of parallelism.  CUDA threads are basically an abstraction for what looks like an old-school vector processor like the Cray 1.  If you think "I'm programming a much smaller, cheaper, lower-power version of the Cray 1," you'll probably write very efficient CUDA code.  If you try to write a CUDA program with the idea of Erlang threads (message-passing with a message queue), you probably won't get very far.</description>
		<content:encoded><![CDATA[<p>Uh, CUDA threads have nothing to do with Erlang threads, except for perhaps the name and the idea of parallelism.  CUDA threads are basically an abstraction for what looks like an old-school vector processor like the Cray 1.  If you think &#8220;I&#8217;m programming a much smaller, cheaper, lower-power version of the Cray 1,&#8221; you&#8217;ll probably write very efficient CUDA code.  If you try to write a CUDA program with the idea of Erlang threads (message-passing with a message queue), you probably won&#8217;t get very far.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mdavis0452</title>
		<link>http://www.linux-mag.com/id/6414/#comment-1277</link>
		<pubDate>Thu, 10 Jul 2008 19:58:38 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6414/#comment-1277</guid>
					<description>This is more of a question than a comment. If the Erlang threads/processes are neither operating system processes nor operating system threads, does that mean that they all live inside a single operating system processes? If so, how do you take advantage of multiple cores?</description>
		<content:encoded><![CDATA[<p>This is more of a question than a comment. If the Erlang threads/processes are neither operating system processes nor operating system threads, does that mean that they all live inside a single operating system processes? If so, how do you take advantage of multiple cores?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: saponsky</title>
		<link>http://www.linux-mag.com/id/6414/#comment-1275</link>
		<pubDate>Thu, 10 Jul 2008 15:43:58 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6414/#comment-1275</guid>
					<description>Hmm...very interesting. Threads issues out of the court? It's definitely a two thumbs up.</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;very interesting. Threads issues out of the court? It&#8217;s definitely a two thumbs up.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
