Johannes Edstoft Hansen
Check me out on the web at Johannes Hansen or at my blog.
I was born in 1980, grew up and got a computer when i was 10. And then it all started with basic on my C64...
| Forum | Thread | Replies | Latest activity |
|---|---|---|---|
| Coffeehouse | Worst Microsoft Product? | 77 | Feb 24, 2006 at 5:36 AM |
| Coffeehouse | Fun Puzzle: Next sequence of numbers | 47 | Nov 04, 2004 at 11:19 PM |
| Coffeehouse | "Simply the Best" | 14 | Jun 07, 2004 at 12:39 AM |
Inside Parallel Extensions for .NET 2008 CTP Part 2
Jun 06, 2008 at 5:10 PMSay for example when they do a parallel foreach with an ordered result as default and the performance sucks big time.... If instead the framework defaults to, what I believe is natural for parallel, an unordered result, then they will be forced to think about if they really need ordered results or not, and if they are ready to pay the performance penalty.
That said, I'm not against making the transition from sequential to parallel programming easier by obscuring the fact that you are developing parallel code, as long as it isn't also hiding serious issues which should be thought about.
In the end It depends on which goal you are trying to reach, ease of use vs. performance (in this case)... I think you should favor performance in a parallel framework.
PS: I just got home from a party and is still kinda drunk so please disregard any nonsense in this message
Inside Parallel Extensions for .NET 2008 CTP Part 2
Jun 05, 2008 at 5:41 PMMy 2 cents on the "ordered vs. unordered output default", issue...
At some point somebody mentioned that you might want to make the default ordered because that is what developers expect. I think that is wrong... Only developers who are used to sequential processing will expect the order of the output to be the same as the input.
In an asynchronous/parallel world the natural order of the output is unordered, so I really think you should stick with that as the default. Old school developers have to realize that they can't depend on the order unless they explicitly want to do the extra work of sorting the output.
So just to reiterate... The unordered output is the natural output in an parallel world. What do you think?
Kind regards,
Johannes
But now it's chinese or something... Whats up with the comment system? It seems like another post or something. Oh and when I edit it my original text show up just fine. It seems like the first comment on a video has some problems... Suresh's comment on part 1 of this video is also acting strangly... Charles?
Inside Parallel Extensions for .NET 2008 CTP Part 1
Jun 05, 2008 at 5:37 PMEdit: Nope he didn't edit it... Now it's blank again?
Inside Parallel Extensions for .NET 2008 CTP Part 2
Jun 05, 2008 at 5:31 PMAt some point somebody mentioned that you might want to make the default ordered because that is what developers expect. I think that is wrong... Only developers who are used to sequential processing will expect the order of the output to be the same as the input.
In an asynchronous/parallel world the natural order of the output is unordered, so I really think you should stick with that as the default. Old school developers have to realize that they can't depend on the order unless they explicitly want to do the extra work of sorting the output.
So just to reiterate... The unordered output is the natural output in an parallel world. What do you think?
Kind regards,
Johannes
Adam Nathan: and Suzanne Hansen: First Look at Popfly Game Creator Alpha
May 04, 2008 at 5:52 PMI think performance problems are mainly caused by silverlight 1.1. I expect this to get "a lot" better when silverlight 2.0 get released.
JAOO 2007: Bob Martin and Chad Fowler - Debating Static versus Dynamic Typing
Oct 24, 2007 at 11:20 AMI agree that there seems to be a dynamic revolution going on right now and that it would be stupid not to follow the development of the dynamic languages closely. So static-type developers keep you minds open to this development.
Given the content of the videos I've seen so far from JAOO I'm very sorry I couldn't come to the conference. I'm definately gonna go next year. Can't wait!
The C# Disco Floor Guy - Clint Rutkas
Feb 14, 2007 at 5:25 PMSee, your immune system is sorta like Windows Live OneCare and it needs to be updated once in a while to keep the virus definitions up to date (i.e. get as many virus samples for your immune system to train on... especially new, updated vira). If you don't use the automatic update in windows your computer would be left wide open for anyone who'd like to get access. Just like your body is now open for all sorts of exploitation... :O
Ehh, wait. That last part didn't sound right... Well, you get the point.
So just go out and jump in an unclean pool... Sniff your fingers after poo poo, and sleep in a reactor core once in a while... It's all REALLY good for you!
Nah, I really like your interviewing style and your vids in general... Keep'em coming and keep up the good work!
Expression - Part Two: Design
Dec 05, 2006 at 1:13 PMHowever, and I know this is not really a Expression Design complaint but rather a general complaint, the performance seems awfully slow compared to competeing products such as flash. Notice the framerate drop in the demo when the "complex" camera vector drawing was dropped into the slider control? Also, the designer seems to redraw the vector art somewhat slowly. Unfotunately this performance is consistent with my own tests which are showing very poor performance on WinXP SP2 using .Net 3.0 RTM. Ok, so I admit I'm only using Vista RC2 (with a beta nvidia driver) for my Vista tests and even then it is showing much better performance than XP... However, still not great performance.
Also, I don't expect the performance to improve when you start hosting WPF within a browser so I really hope you are targeting this issue in future releases. Any comments from MS on this?
I don't want to give the impression that I don't like the "Window X Foundation" + "Expression X" initiative because I think it's a great advance in application development seen from a overall application production workflow perspective. And the feature set is extremely powerful and advanced compared to any other product. I just hope you don't get caught up only trying to add more features instead of doing some grunt work on the more basic features such as performance.
I almost can't wait to follow the evolution of application development in the next few years.
Kind regards,
Johannes Hansen
Windows Vista Localization and Globabilization: Meet the team
Aug 07, 2006 at 12:13 AMFirst in danish:
Godt gået Claus!
Fedt! Endelig en ny dansk nørd på Channel 9 ud over Mr. Hejlsberg.
And for you non-danes here's an english translation:
Nicely done Claus!
Cool! Finally a new danish geek on Channel 9 besides Mr. Hejlsberg.
Go denmark!
Chatting about LINQ and ADO.NET Entities
Jun 11, 2006 at 7:15 PMSee more comments…