Tuesday, September 08, 2009

.NET Compact Framework BCL < .NET BCL

Hyderabad Zoological Park

Over twitter some folks are regularly discussing about the fact that there are some chunks of desktop .NET Base class library (BCL) that are missing on the .NET Compact Framework (.NETCF). So I thought I’d post the rationale behind things that are missing and what criteria is used to figure out what makes it in.

First of all, .NET and .NETCF use completely different runtimes. So the BCL code doesn’t work as is. They need to be ported over. Something being available on the desktop reduces the effort of our BCL team but still significant cost is involved in making it work over NETCF. This means that its not as if everything is available on .NETCF BCL and we cut things out (elimination process), but the other way round where we start from 0 and we need to figure out whether we can take something in. In that process we use some of the following rationale.

  1. ROI: Does the user scenario that it enables on a mobile device justify the cost
    System.CodeDom.Compiler. Yea right you expected to compile on the phone didn’t you :)
  2. Easy workaround available: If there is an acceptable workaround for a given API then it drops in priority. A trivial example could be that we ship some method overloads but not the other. E.g. Instead of shipping all overloads of Enum.Parse we drop Enum.Parse(Type, String) and keep only Enum.Parse(Type, String, Bool).
    This applies at the level of namespace or Types as well.
  3. Lower in priority list: It needs work to get it done and it’s lower in priority than other things that is keeping the engineering team busy.
    If there are a lot of request for these features and not good/performant workarounds available then it will go up the priority list and make it to future version of NETCF
  4. Too large to fit: Simply too large to fit into our memory limitations
    E.g. Reflection.Emit which leads to other things missing like Dynamic Language Runtime, Linq-to-SQL
  5. No native support: It uses some underlying OS feature which is either not present on devices or is not relevant to it
    WPF, Parallel computing support

With every release developers ask for new features and we also negotiate to increase NETCF footprint budget so that we can include some (but not all) from those requests. To choose what makes it in we use some of the criteria mentioned above.

Given the system constraints under which NETCF works a vast majority of the desktop APIs will continue to be missing from NETCF. Hopefully this gives you some context behind why those are missing. If you approach NETCF simply from trying to port a desktop application then you would face some frustration on the missing surface area.

BTW: Do post your comments on this blog or on twitter (use the #netcf hashtag).

<Update: I made some updates to this based on feedback />

14 comments:

Anonymous said...

like gambling? love las vegas? assay the all into worldwide spy of the unostentatious [url=http://www.casinolasvegass.com]casino[/url] las vegas at www.casinolasvegass.com with on the other side of 75 additional unprovoked [url=http://www.casinolasvegass.com]online casino[/url] games like slots, roulette, baccarat, craps and more and purchase a captivating in licit coins with our $400 self-governed of commission bonus.
we be unchanged unbroken insightful games then the superannuated online [url=http://www.place-a-bet.net/]casino[/url] www.place-a-bet.net! few more free casino games and free [url=http://www.2010-world-cup.info]casino bonus[/url] you can find at the 2 new [url=http://www.buy-cheap-computers.info]casino[/url] guides : www.2010-world-cup.info and www.buy-cheap-computers.info .

Anonymous said...

Online guitar lessons are a great way to learn guitar. Cheaper and more convenient than private studio lessons, the technology is now at a point where the difference in quality is nonexistent and actually has many advantages.
[url=http://www.goarticles.com/cgi-bin/showa.cgi?C=2514060]Online Guitar Lessons[/url]

Anonymous said...

Hello everybody! I do not know where to start but hope this place will be useful for me.
I will be happy to receive any assistance at the beginning.
Thanks and good luck everyone! ;)

Anonymous said...

[URL=http://www.wallpaperhungama.in/details.php?image_id=2716][IMG]http://www.wallpaperhungama.in/data/thumbnails/5/Deepika_Padukone-67.jpg[/IMG][/URL]

[URL=http://www.wallpaperhungama.in/details.php?image_id=2713][IMG]http://www.wallpaperhungama.in/data/thumbnails/5/Deepika_Padukone-64.jpg[/IMG][/URL]

[URL=http://www.wallpaperhungama.in/details.php?image_id=2707][IMG]http://www.wallpaperhungama.in/data/thumbnails/5/Deepika_Padukone-59.jpg[/IMG][/URL]

[url=http://www.wallpaperhungama.in/cat-Deepika-Padukone-5.htm]Deepika Padukone Wallpapers[/url]

[url=http://digg.com/celebrity/Deepika_Padukone_Wallpapers_Deepika_Padukone_Pictures]Deepika Padukone Wallpapers, Deepika Padukone Pictures[/url]

Photo gallery at WallpaperHungama.in is dedicated to Deepika Padukone Pictures. Click on the thumbnails for enlarged Deepika Padukone pictures, personal photographs and exclusive photos. Also check out other Pictures Gallery for High quality and High Resolution image scans, movie captures, movie promos, wallpapers, hollywood & bollywood pictures, photos of actresses and celebrities

Manraj Kutta Hai

Anonymous said...

[url=http://www.webjam.com/buyreductilonline] Buy reductil online
http://www.webjam.com/buyreductilonline

Anonymous said...

The French gourmet cheese Bleu d'Auvergne has a wonderful aroma, a rich taste; the saltiness increases with the incidence of veining. The overall flavor is piquant but not overly sharp. Bleu d'Auvergne started life as an imitation of Roquefort, using cow's milk in place of sheep's milk. Legend has it that a peasant, around 1845, decided to inject his cheese with a blue mold that he found growing on his left-over bread (the motto being, waste not, want not). And thus, the gourmet cheese Bleu d'Auvergne was born. This French gourmet blue cheese comes from the region of Auvergne and the cheese is made from milk of Salers and Aubrac cows. The rind is very thin and so the cheese is usually wrapped in foil. The cheese is rich and creamy with a pale yellow color and scattered holes and well-defined greenish-blue veining. We cut and wrap this cheese in wedge of 8 ounces and 1 pound.

buy fresh blue cheese

[url=http://riderx.info/members/buy_5F00_fresh_5F00_blue_5F00_cheese.aspx]buy fresh blue cheese[/url]

http://riderx.info/members/buy_5F00_fresh_5F00_blue_5F00_cheese.aspx

Anonymous said...

Hello,
I have developed a new clean web 2.0 wordpress theme.

Has 2 colours silver and blue, has custom header(colour or image).
I am curently working on it, so if you have suggestions let me know.

You can view live demo and download from here www.getbelle.com
If you found bug reports or you have suggestions pm me.
Wish you a happing using.

many thanks to [url=http://www.usainstantpayday.com/]USAInstantPayDay.com[/url] for paying the hosting and developement of the theme

Stedthetwar

Anonymous said...

You must have seen Ranbir Kapoor’s wonderful chemistry with Katrina Kaif in Ajab Prem Ki Ghajab Kahani.

Katrina is really exited to romance Ranbir, obviously in reel life. Katrina is really eager to be a part of Ashtvinayak’s next film that casts Ranbir.

However she is well known to this fact that her looks as well as accent can not relate

[url=http://www.wallpaperhungama.in/blog/2010/03/kats-can%E2%80%99t-hold-anymore-to-romance-ranbir-kapoor/]Kats can’t hold anymore to romance Ranbir Kapoor[/url]

[url=http://www.wallpaperhungama.in/blog/]Bollywood News[/url]

Anonymous said...

It's so easy to choose high quality [url=http://www.euroreplicawatches.com/]replica watches[/url] online: [url=http://www.euroreplicawatches.com/mens-swiss-watches-rolex/]Rolex replica[/url], [url=http://www.euroreplicawatches.com/mens-swiss-watches-breitling/]Breitling replica[/url], Chanel replica or any other watch from the widest variety of models and brands.

Anonymous said...

megan fox in lingerie, [url=http://discuss.tigweb.org/thread/187756]megan fox sex pictures[/url] megan fox chest
kim kardashian free video, [url=http://discuss.tigweb.org/thread/187768]kim kardashian hairstyles[/url] kim kardashian playboy
taylor swift music videos on youtube, [url=http://discuss.tigweb.org/thread/187772]talylor swift facts[/url] taylor swift hot
disney channel.com hannah montana, [url=http://discuss.tigweb.org/thread/187786]arbor toysdisney hannah montana microphone[/url] hannah montana fakes
harry potter movie poster, [url=http://discuss.tigweb.org/thread/187792]watch harry potter and the order of the phoenix online[/url] harry potter universal studios
does tom cruise wear boxers or briefs, [url=http://discuss.tigweb.org/thread/187798]tom cruise ex wife[/url] cruises to catalina and mexico march 2010 4 days
justin bieber plating the keyboard, [url=http://discuss.tigweb.org/thread/187812]justin beiber images[/url] justin bieber common denominator
britney spears lingerie, [url=http://discuss.tigweb.org/thread/187814]britney spears forum[/url] britney spears facts
megan fox as wonder woman, [url=http://discuss.tigweb.org/thread/175542]megan fox fully naked[/url] megan fox transformer 2 screenshot

Anonymous said...

[url=http://www.wallpaperhungama.in/]Bollywood Wallpapers[/url]

[url=http://www.wallpaperhungama.in/cat-Aishwarya-Rai-114.htm]Aishwarya Rai[/url]

[url=http://www.wallpaperhungama.in/cat-Ayesha-Takia-28.htm]Ayesha Takia[/url]

[url=http://www.wallpaperhungama.in/cat-Diya-Mirza-116.htm]Diya Mirza[/url]

[url=http://www.wallpaperhungama.in/cat-Neha-Dhupia-8.htm]Neha Dhupia[/url]

[url=http://www.wallpaperhungama.in/cat-Nandana-Sen-109.htm]Nandana Sen[/url]

[url=http://www.wallpaperhungama.in/cat-Bipasha-Basu-29.htm]Bipasha Basu[/url]

[url=http://www.wallpaperhungama.in/cat-Neetu-Chandra-34.htm]Neetu Chandra[/url]

[url=http://www.wallpaperhungama.in/cat-Kim-Sharma-119.htm]Kim Sharma[/url]

[url=http://www.wallpaperhungama.in/cat-Zarine-Khan-123.htm]Zarine Khan[/url]

[url=http://www.wallpaperhungama.in/cat-Amrita-Rao-2.htm]Amrita Rao[/url]

[url=http://www.wallpaperhungama.in/cat-Aarti-Chhabria-122.htm]Aarti Chhabria[/url]

[url=http://www.wallpaperhungama.in/cat-Asin-32.htm]Asin[/url]

[url=http://www.wallpaperhungama.in/cat-Celina-Jaitley-1.htm]Celina Jaitley[/url]

[url=http://www.wallpaperhungama.in/cat-Deepika-Padukone-5.htm]Deepika Padukone[/url]

[url=http://www.wallpaperhungama.in/cat-Geeta-Basra-24.htm]Geeta Basra[/url]

[url=http://www.wallpaperhungama.in/cat-Kareena-Kapoor-115.htm]Kareena Kapoor[/url]

[url=http://www.wallpaperhungama.in/cat-Katrina-Kaif-11.htm]Katrina Kaif[/url]

[url=http://www.wallpaperhungama.in/cat-Sonal-Chauhan-21.htm]Sonal Chauhan[/url]

[url=http://www.wallpaperhungama.in/cat-Priyanka-Chopra-3.htm]Priyanka Chopra[/url]

Anonymous said...

Extraordinary internet site.

Low cost site optimization service including submissions and on-page optimization (sokmotoroptimering).
[url=http://www.smotop.se]Sokoptimering[/url]
http://www.smotop.se/sokmotoroptimeringskonsult.html

Anonymous said...

viagra delivered from uk pharmacymeridia review buy online pharmacy viagra

[url=http://www.bebo.com/buylevitraonline1]buy dream levitra online pharmaceutical[/url]

Anonymous said...

[url=http://www.wallpaperhungama.in/]Bollywood Wallpapers[/url]

[url=http://www.wallpaperhungama.in/]Bollywood Actress[/url]

[url=http://www.wallpaperhungama.in/cat-Aishwarya-Rai-114.htm]Aishwarya Rai[/url]

[url=http://www.wallpaperhungama.in/cat-Ayesha-Takia-28.htm]Ayesha Takia[/url]

[url=http://www.wallpaperhungama.in/cat-Diya-Mirza-116.htm]Diya Mirza[/url]

[url=http://www.wallpaperhungama.in/cat-Neha-Dhupia-8.htm]Neha Dhupia[/url]

[url=http://www.wallpaperhungama.in/cat-Nandana-Sen-109.htm]Nandana Sen[/url]

[url=http://www.wallpaperhungama.in/cat-Bipasha-Basu-29.htm]Bipasha Basu[/url]

[url=http://www.wallpaperhungama.in/cat-Neetu-Chandra-34.htm]Neetu Chandra[/url]

[url=http://www.wallpaperhungama.in/cat-Kim-Sharma-119.htm]Kim Sharma[/url]

[url=http://www.wallpaperhungama.in/cat-Zarine-Khan-123.htm]Zarine Khan[/url]

[url=http://www.wallpaperhungama.in/cat-Amrita-Rao-2.htm]Amrita Rao[/url]

[url=http://www.wallpaperhungama.in/cat-Aarti-Chhabria-122.htm]Aarti Chhabria[/url]

[url=http://www.wallpaperhungama.in/cat-Asin-32.htm]Asin[/url]

[url=http://www.wallpaperhungama.in/cat-Celina-Jaitley-1.htm]Celina Jaitley[/url]

[url=http://www.wallpaperhungama.in/cat-Deepika-Padukone-5.htm]Deepika Padukone[/url]

[url=http://www.wallpaperhungama.in/cat-Geeta-Basra-24.htm]Geeta Basra[/url]

[url=http://www.wallpaperhungama.in/cat-Kareena-Kapoor-115.htm]Kareena Kapoor[/url]

[url=http://www.wallpaperhungama.in/cat-Katrina-Kaif-11.htm]Katrina Kaif[/url]

[url=http://www.wallpaperhungama.in/cat-Sonal-Chauhan-21.htm]Sonal Chauhan[/url]

[url=http://www.wallpaperhungama.in/cat-Priyanka-Chopra-3.htm]Priyanka Chopra[/url]

[url=http://www.wallpaperhungama.in/cat-Aditi-Sharma-126.htm]Aditi Sharma[/url]

[url=http://www.wallpaperhungama.in/cat-Hazel-Crowney-135.htm]Hazel Crowney[/url]

[url=http://www.wallpaperhungama.in/cat-Kashmira-Shah-110.htm]Kashmira Shah[/url]