<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: TraceMonkey: DOM, Canvas, Opensource and more</title>
	<atom:link href="http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Fri, 12 Mar 2010 04:42:03 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Dowdell</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39481</link>
		<dc:creator>John Dowdell</dc:creator>
		<pubDate>Sat, 23 Aug 2008 19:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39481</guid>
		<description>.

... and, of course, if you&#039;d like to do image-processing or video-editing or such in the world&#039;s browsers today, then.... ;-)

jd/adobe

.</description>
		<content:encoded><![CDATA[<p>.</p>
<p>&#8230; and, of course, if you&#8217;d like to do image-processing or video-editing or such in the world&#8217;s browsers today, then&#8230;. ;-)</p>
<p>jd/adobe</p>
<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dion</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39479</link>
		<dc:creator>dion</dc:creator>
		<pubDate>Sat, 23 Aug 2008 16:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39479</guid>
		<description>Raphaël,

We are getting there with IE. There are projections via old VML, new Silverlight, and even by putting the Mozilla code in place to render it. Also, hopefully Ie does the right thing and puts native support into IE8.

With abstractions like raphael (your name :), and dojo.gfx, they take care of it all for you.

Cheers,

Dion</description>
		<content:encoded><![CDATA[<p>Raphaël,</p>
<p>We are getting there with IE. There are projections via old VML, new Silverlight, and even by putting the Mozilla code in place to render it. Also, hopefully Ie does the right thing and puts native support into IE8.</p>
<p>With abstractions like raphael (your name :), and dojo.gfx, they take care of it all for you.</p>
<p>Cheers,</p>
<p>Dion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Valyi</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39477</link>
		<dc:creator>Raphaël Valyi</dc:creator>
		<pubDate>Sat, 23 Aug 2008 13:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39477</guid>
		<description>Canvas is nice. Still, I don&#039;t I get it why bother with Canvas if Internet Explorer don&#039;t implement it? Is there a point in forcing users to use Firefox to run your application? Then may be it&#039;s safer to bet on Java new Applet plugin: won&#039;t reach all users either, but at least Java is then fast, has rendering hardware acceleration, high levels of abstractions (via JRuby if you like) an libs and is even cross browser. So what the point about Canvas? I&#039;m just curious.</description>
		<content:encoded><![CDATA[<p>Canvas is nice. Still, I don&#8217;t I get it why bother with Canvas if Internet Explorer don&#8217;t implement it? Is there a point in forcing users to use Firefox to run your application? Then may be it&#8217;s safer to bet on Java new Applet plugin: won&#8217;t reach all users either, but at least Java is then fast, has rendering hardware acceleration, high levels of abstractions (via JRuby if you like) an libs and is even cross browser. So what the point about Canvas? I&#8217;m just curious.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Cromwell</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39476</link>
		<dc:creator>Ray Cromwell</dc:creator>
		<pubDate>Sat, 23 Aug 2008 10:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39476</guid>
		<description>Dion,
  Please pound on the WebKit, Opera, and IE8 guys to get transformed text there as well! 

  BTW, According to the WHATWG spec, the measureText() method seems less than useful since it goes not give atleast a rough bounding box (through which the text will not escape). I currently simulate measureText() by placing a hidden DIV element on the page, putting text in it, and asking for the bounds of the DIV. Too bad this can&#039;t be accelerated and provided as standard.  Granted, this won&#039;t happen rotated/transformed text on FF, but on WebKit with CSS transforms, it might (haven&#039;t tried it).</description>
		<content:encoded><![CDATA[<p>Dion,<br />
  Please pound on the WebKit, Opera, and IE8 guys to get transformed text there as well! </p>
<p>  BTW, According to the WHATWG spec, the measureText() method seems less than useful since it goes not give atleast a rough bounding box (through which the text will not escape). I currently simulate measureText() by placing a hidden DIV element on the page, putting text in it, and asking for the bounds of the DIV. Too bad this can&#8217;t be accelerated and provided as standard.  Granted, this won&#8217;t happen rotated/transformed text on FF, but on WebKit with CSS transforms, it might (haven&#8217;t tried it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dion</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39472</link>
		<dc:creator>dion</dc:creator>
		<pubDate>Sat, 23 Aug 2008 06:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39472</guid>
		<description>Ray,

Man, have I told you that you are my favourite commenter? Wow, I really appreciate how much you add to the conversation.

I agree, we aren&#039;t there yet. However, for certain use cases I have been amazed at well Canvas is performing. Text is there now (using moz specific, and FF head has it as the canvas standard) and hoepfully more will come.

More and more of the work is being passed through to the lower level implementations. I think the future could be quite bright.

Cheers,

Dion</description>
		<content:encoded><![CDATA[<p>Ray,</p>
<p>Man, have I told you that you are my favourite commenter? Wow, I really appreciate how much you add to the conversation.</p>
<p>I agree, we aren&#8217;t there yet. However, for certain use cases I have been amazed at well Canvas is performing. Text is there now (using moz specific, and FF head has it as the canvas standard) and hoepfully more will come.</p>
<p>More and more of the work is being passed through to the lower level implementations. I think the future could be quite bright.</p>
<p>Cheers,</p>
<p>Dion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Cromwell</title>
		<link>http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more/comment-page-1#comment-39471</link>
		<dc:creator>Ray Cromwell</dc:creator>
		<pubDate>Sat, 23 Aug 2008 06:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://almaer.com/blog/tracemonkey-dom-canvas-opensource-and-more#comment-39471</guid>
		<description>Dion,
  I&#039;ve done a lot of work optimizing code to run on Canvas, and in my experience, there is much to be improved outside of making Javascript run faster. Leaving aside the fact that the API is missing some fundamental operations (text, image processing ops like convolutions, retrieving current transformation matrix, faster pixel ops, etc), it seems to me that the implementations could still be leveraging more hardware acceleration than they currently are. In particular, on the iPhone, drawImage() and canvas scaling seem to add up to 100ms of overhead.

  There&#039;s alot of stuff you get in Java2D/Java Advanced Imaging, CoreImage, or DirectX/GDI that would be nice to have in Canvas. No matter how fast they speed up the JIT, having to emulate platform features in Javascript is going to be less than ideal. And there&#039;s alot of work that Flash&#039;s vector engine accomplishes in native C that will remain slow implemented in pure JS.

 I&#039;d love to see real, photoshop-like and imovie-like apps implemented in the browser, but I think it&#039;s still a pipe dream. They&#039;re just barely doable in Java, and there you&#039;ve got efficient access to image data.

 I think what we may see is scenegraph libraries like CAKE that provide SVG-light style functionality, but using Canvas and running faster than SVG manipulation, but I don&#039;t think we&#039;ll see JS+Canvas spanking Flash.</description>
		<content:encoded><![CDATA[<p>Dion,<br />
  I&#8217;ve done a lot of work optimizing code to run on Canvas, and in my experience, there is much to be improved outside of making Javascript run faster. Leaving aside the fact that the API is missing some fundamental operations (text, image processing ops like convolutions, retrieving current transformation matrix, faster pixel ops, etc), it seems to me that the implementations could still be leveraging more hardware acceleration than they currently are. In particular, on the iPhone, drawImage() and canvas scaling seem to add up to 100ms of overhead.</p>
<p>  There&#8217;s alot of stuff you get in Java2D/Java Advanced Imaging, CoreImage, or DirectX/GDI that would be nice to have in Canvas. No matter how fast they speed up the JIT, having to emulate platform features in Javascript is going to be less than ideal. And there&#8217;s alot of work that Flash&#8217;s vector engine accomplishes in native C that will remain slow implemented in pure JS.</p>
<p> I&#8217;d love to see real, photoshop-like and imovie-like apps implemented in the browser, but I think it&#8217;s still a pipe dream. They&#8217;re just barely doable in Java, and there you&#8217;ve got efficient access to image data.</p>
<p> I think what we may see is scenegraph libraries like CAKE that provide SVG-light style functionality, but using Canvas and running faster than SVG manipulation, but I don&#8217;t think we&#8217;ll see JS+Canvas spanking Flash.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
