First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« Removing Security from Downloaded PowerS... | Main | Hanselminutes Podcast 61 - Inside the Mi... »

Doh! Silverlight! After the Silverlight podcast I kept asking myself, why are all the DLLs and Javascripts called things like aghost and agcore? Because Ag is the symbol for Silver. Silver in Latin is argentum. Thanks Alexey!

Download Silverlight for Windows here and Silverlight for Mac here. It's only a meg and is harmless.

Be sure to check out Alexy's blog post (via Mike Harsh where I stole the Silverlight Logo) with his WPF/e (Silverlight) 3D demo based on his Bubblemark 2D Benchmark that includes:

I got over under each demo. Things slowed down with 128 balls, but I greatly suspect that it's a JavaScript problem at that point, and not an animation engine problem.

ASIDE: On an unrelated note, if you ever wanted to get Windows Media working in FireFox, download the WMP Plugin for FireFox and you'll be on your merry way.



Friday, April 27, 2007 5:05:40 PM (Pacific Standard Time, UTC-08:00)
Thanks, Scott! I'm glad you found it useful / fun.
Friday, April 27, 2007 5:40:06 PM (Pacific Standard Time, UTC-08:00)
I'd assume the 128 ball slowdown is a javascript issue, as the DHTML version shows exactly the same slowdown. Interestingly enough, flash seems to have the same exact issue. Then again I am on a crappy laptop with integrated intel graphics.

I wish the XBAP version had a ball selector -- I'd like to compare and see if that was more performant.
Friday, April 27, 2007 6:40:51 PM (Pacific Standard Time, UTC-08:00)
Wow...that's going way deep on the "project naming" chasm. After your podcast I went looking at the files for Silverlight (yeah, I'm a geek) and my first impression was...why did they name the file a-ghost? That's stupid! Now that you mention the name, it all makes sense...
Saturday, April 28, 2007 5:38:30 AM (Pacific Standard Time, UTC-08:00)
For me the Flex (cached) version in IE 6 is the best performer - higest framerate with lowest CPU usage. Here are my results on my Dell Inspiron 6400 (Core Duo 1.73Ghz/2GB 533Mhz RAM/Default Onboard 128Mb graphics card):

Flex (Cached) in Firefox - 64 balls: 39 fps / 60% avg cpu
Flex in Firefox - 64 balls: 16 fps / 75% avg cpu
DHTML in Firefox - 64 balls: 15 fps / 80% avg cpu
Silverlight in Firefox - 64 balls: 12 fps / 90% avg cpu

Flex (cached) in IE 6.0- 64 balls: 43 fps / 50% avg cpu
Flex in IE 6.0- 64 balls: 14 fps / 75% avg cpu
DHTML in IE 6.0- 64 balls: 14 fps / 80% avg cpu
Silverlight in IE 6.0 - 64 balls: 19 fps / 90% avg cpu

But the best framerate which was the Apollo Flex based version - although I couldn't seem to change to the number of balls. The performance was 127 fps / 77% avg cpu

The performance of the Apollo DHTML version was 64 fps / 45% avg cpu (16 balls only).

cheers

Stu
Stu Clement
Monday, April 30, 2007 2:52:24 AM (Pacific Standard Time, UTC-08:00)
Interesting stuff, Scott, thanks!

A note about WM Plugin for Firefox, though: you may want to inform your readers that the installer barfs on 2003 Server, which I run as my desktop OS for development. I'm getting pretty fed up with apps refusing to install on a Server OS just because of bad (or in some cases intentional?) version checking. All developers know that the Windows Server OS (2003/Longhorn) is built from the exact same code-base as the associated Workstation (XP/Vista) OS, so why prevent certain apps from installing on Server?

After jumping through many hoops I got WMP 11 working on 2003 Server, but why should this be hard? As a result, IE shows WM videos just fine but Firefox doesn't, and when I try to install the WM plugin for Firefox its installer says "Server OS not supported" - WHY?!?!

Grrr. Just had to vent a bit - you can probably tell this isn't the first time I've come across this totally pointless restriction. Thankfully we developers have Orca at our disposal (no, not the next version of Visual Studio, the excellent MSI editing tool that's in the Windows SDK - http://support.microsoft.com/kb/255905 ), and after a little tweak of the MSI file's version check values most of these silly apps can be installed on 2003 with no negative side-effects. What a pain, though!
Philip the Duck
Comments are closed.

Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

Archives

Google Ads