<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christopher Blizzard &#187; 2008 &#187; August &#187; 25</title>
	<atom:link href="http://www.0xdeadbeef.com/weblog/2008/08/25/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.0xdeadbeef.com/weblog</link>
	<description>I love you.</description>
	<lastBuildDate>Thu, 26 May 2011 20:29:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>unread on whoisi</title>
		<link>http://www.0xdeadbeef.com/weblog/2008/08/unread-on-whoisi/</link>
		<comments>http://www.0xdeadbeef.com/weblog/2008/08/unread-on-whoisi/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 02:32:54 +0000</pubDate>
		<dc:creator>Christopher Blizzard</dc:creator>
				<category><![CDATA[whoisi]]></category>

		<guid isPermaLink="false">http://www.0xdeadbeef.com/weblog/?p=641</guid>
		<description><![CDATA[I&#8217;ve added a new feature to whoisi. It will now keep track of things you haven&#8217;t seen: To see the new items in your follow stream click on the link like the one above that says &#8220;318 Unread.&#8221; When you&#8217;ve &#8230; <a href="http://www.0xdeadbeef.com/weblog/2008/08/unread-on-whoisi/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;ve added a new feature to <a href="http://whoisi.com">whoisi</a>.  It will now keep track of things you haven&#8217;t seen:
</p>
<div align="center">
<img src="http://farm4.static.flickr.com/3230/2798759362_64d758c839_o.png"/>
</div>
<p>
To see the new items in your follow stream click on the link like the one above that says &#8220;318 Unread.&#8221;  When you&#8217;ve read them, click on &#8220;Caught Up&#8221; and you&#8217;re returned to the normal follow page.
</p>
<p>
Note that right now the update count is only updated when you visit the follow page.  And it takes too many clicks to figure out if there&#8217;s new unread content and to view it.  I&#8217;ll be working on that shortly, but having the early feature in place makes things much more useful.
</p>
<p>
Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.0xdeadbeef.com/weblog/2008/08/unread-on-whoisi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>tracemonkey and you</title>
		<link>http://www.0xdeadbeef.com/weblog/2008/08/tracemonkey-and-you/</link>
		<comments>http://www.0xdeadbeef.com/weblog/2008/08/tracemonkey-and-you/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:21:49 +0000</pubDate>
		<dc:creator>Christopher Blizzard</dc:creator>
				<category><![CDATA[Embedding]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[TraceMonkey]]></category>

		<guid isPermaLink="false">http://www.0xdeadbeef.com/weblog/?p=624</guid>
		<description><![CDATA[There have been a pile of posts about the TraceMonkey code that just landed in mozilla-central. mozilla-central is the source code repository we&#8217;re using in the lead up to Firefox 3.1. Here are some posts if you want to read &#8230; <a href="http://www.0xdeadbeef.com/weblog/2008/08/tracemonkey-and-you/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
There have been a pile of posts about the TraceMonkey code that just landed in mozilla-central.  mozilla-central is the source code repository we&#8217;re using in the lead up to Firefox 3.1.  Here are some posts if you want to read about it:
</p>
<ul>
<li>Brendan Eich: <a href="http://weblogs.mozillazine.org/roadmap/archives/2008/08/tracemonkey_javascript_lightsp.html">TraceMonkey: JavaScript Lightspeed</a>
<li>John Resig: <a href="http://ejohn.org/blog/tracemonkey/">TraceMonkey</a>
<li>Mike Schroepfer: <a href="http://blog.mozilla.com/schrep/2008/08/22/what-can-you-do-when-your-browser-is-7-times-faster/">What can you do when your browser is 7 times faster?</a>
<li>Mike Shaver: <a href="http://shaver.off.net/diary/2008/08/22/the-birth-of-a-faster-monkey/">The birth of a faster monkey</a>
<li>Ryan Paul: <a href="http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html">Firefox to get massive JavaScript performance boost</a>
</ul>
<p>
The heart of the story is that we&#8217;re seeing performance increases on benchmarks of anywhere from 1.8x to 37.5x depending on the benchmark used.
</p>
<p>
But the thing that most people don&#8217;t realize is that you can take advantage of the work that we&#8217;re doing in SpiderMonkey in your program as an embedded JS interpreter.  It&#8217;s a pretty tiny engine, has a relatively stable API and even has useful documentation.  <a href="http://ejohn.org/blog/tracemonkey/">John&#8217;s post</a> contains four commands that you can use to build the engine.  In fact, it&#8217;s so short, I&#8217;ll re-paste it here:
</p>
<p><code></p>
<pre>
hg clone http://hg.mozilla.org/tracemonkey/
cd tracemonkey/js/src
make -f Makefile.ref BUILD_OPT=1
Linux_All_OPT.OBJ/js -j
</pre>
<p></code></p>
<p>
And you&#8217;re in a command line JS interpreter.  No fuss, no muss.
</p>
<p>
Many people don&#8217;t realize it but most of what people think of as JavaScript is the browser API, not the JavaScript language.  To quote from the <a href="http://developer.mozilla.org/en/JavaScript_C_Engine_Embedder%27s_Guide">JavaScript C Engine Embedder&#8217;s Guide</a>:</p>
<blockquote><p>
The word JavaScript may bring to mind features such as event handlers (like onclick), DOM objects, window.open, and XMLHttpRequest. But in Mozilla, all of these features are actually provided by other components, not the SpiderMonkey engine itself. SpiderMonkey provides a few core JavaScript data types—numbers, strings, Arrays, Objects, and so on—and a few methods, such as Array.push. It also makes it easy for each application to expose some of its own objects and functions to JavaScript code. Browsers expose DOM objects. Your application will expose objects that are relevant for the kind of scripts you want to write. It is up to the application developer to decide what objects and methods are exposed to scripts.
</p></blockquote>
<p>
The <a href="http://developer.mozilla.org/en/JavaScript_C_Engine_Embedder%27s_Guide">Embedder&#8217;s Guide</a> does contain a lot of good information you can use to get started embedding SpiderMonkey into your application.  It&#8217;s worth a read if you&#8217;re looking for a decent scripting engine for your app.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.0xdeadbeef.com/weblog/2008/08/tracemonkey-and-you/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

