So why does Silverlight need the CLR?

by Matt 23. April 2007 17:21

Ah. Good question. If Silverlight's "killer feature" is its Javascript accessable object model, why would Microsoft embed a .net CLR in the control?

Well, there's only so much you can do in Javascript and a browser. You don't get xml parsing support (otherwise JSON wouldn't exist). You can't call web services without a lot of pain, and lack of encryption means WS-* is just out of the question.

Imagine adding support for zip. Mix in a decent xml parser, and all of a sudden, you can now process XPS or Office 2007 files in the browser. That'd make Google Docs more interesting.

Javascript doesn't give you access to the local file system, and for very good security reasons. But given a sandbox with finer grained security permissions, and the file system might come into reach.

I keep thinking that this could be the next evolutionary step for the browser. I think we've all but hit the glass ceiling of what the browser will allow us to do. We need more client side capabilities (local storage, network connectivity, encryption, you name it). Does this come from objects exposed by the browser, Javascript libraries (which would have to be in source format) or pre-parsed/pre-compiled IL libraries?

Embedding the CLR, and especially elements of the Base Class Library could actually see Microsoft doing ActiveX properly; a secure, powerful binary extension mechanism.

And seeing how grandiose this is all getting, how about open-sourcing the whole thing and getting Firefox and Apple to buy into it?

Tags:

Silverlight

Comments (13) -

suv comparison
suv comparison
7/20/2011 10:21:24 PM #

hi!,I like your writing so so much! proportion we communicate extra about your post on AOL? I require a specialist in this area to unravel my problem. May be that's you! Taking a look forward to see you.

Reply

best hybrid cars
best hybrid cars
7/22/2011 4:24:46 AM #

Is it ok if I quote your article in my monthly newsletter? I would think this article suits my topic perfectly. Well ya, thanks for posting this article.

Reply

ipad features
ipad features
7/24/2011 4:47:42 AM #

Hi,what an excellent article this is,I found it on bing and I like it very much,I agree with what you have said, lots of things will be learned form your site,but I still have some questions with the last part,can you explain it for me ?I will appreciate your answer,and I will be back again!

Reply

Jamison Gerraro
Jamison Gerraro United States
1/15/2016 4:58:43 AM #

The dolphin saving you one is the best one!

Reply

Herbert Britson
Herbert Britson United States
1/15/2016 7:49:04 AM #

Congratulations, Neil! I love this site and I know I'll love the book. Christmas, birthdays, Father's Day 2010  check!

Reply

Isreal Payor
Isreal Payor United States
1/15/2016 8:31:15 AM #

Hey, congratulations Neil. This site really is something special and it's been a pleasure to share it with my readership too. Looking forward to future awesome things, and I'll send any suggestions that are sufficiently awesome.

Reply

Hilaria Rieff
Hilaria Rieff United States
1/15/2016 8:54:35 AM #

getting the last pair of shoes in your size AWESOME!

Reply

Barton Mcneilly
Barton Mcneilly United States
8/25/2016 4:09:44 AM #

Truly informative. Hopefully you can discuss more on the Smart homes design and technology using the recent available gadget

Reply

超濃厚
超濃厚 United States
10/8/2018 7:25:13 PM #

迅速卸妝的同時,也去除不需要的角質。讓肌膚變得光滑柔順又明亮,無添加油的水感卸妝精華。

Reply

醫學美容 大波 cosmetic.wiki
醫學美容 大波 cosmetic.wiki United States
10/13/2018 11:50:18 AM #

【鍋具】我的生活Style.樂鍋史蒂娜Lagostina時尚紅系列ROSSELLA.享受美好的義式烹飪樂趣 @ 潮流、美妝、消費 創造個人化風格的女性社群 PIXstyleMe  【鍋具】我的生活Style.樂鍋史蒂娜Lagostina時尚紅系列ROSSELLA.享受美好的義式烹飪樂趣      

Reply

全面提供樓宇按揭貸款計劃及優惠,不限物業種類及樓齡,免收入証明及繁複的審查程序。 極具透明度及彈性. 24小時批核. 法例認可放債人機構.一按、二按、轉按、加按?無任歡迎 上市公司經營,信心保證,立即申請! 度身訂做借貸計劃.

Reply

保濕深層清潔系統 - 駿麗醫學美容用品國際集團BEAUTY SMART MEDICAL AND BEAUTY SUPPLY INTERNATIONAL GROUP  保濕深層清潔系統 - 駿麗醫學美容用品國際集團BEAUTY SMART MEDICAL AND BEAUTY SUPPLY INTERNATIONAL GROUP      

Reply

醫學美容 撫平 cosmetic.wiki
醫學美容 撫平 cosmetic.wiki United States
10/19/2018 8:29:02 PM #

MOR 【雙色巴洛克系列】巴洛克之晝系列護手霜(印度柚香) EMPORIUM HAND CREAM INDIAN POMELO的商品介紹   MOR,雙色巴洛克系列,巴洛克之晝系列護手霜(印度柚香) EMPORIUM HAND CREAM INDIAN POMELO       

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS