5 ms·
Up voted, cause its news to me. I would like a review of .NET 4.0 or an overview of new features in VS 2010 sometime.
by thinkbohemian 17y ago
Up voted, cause its news to me. I would like a review of .NET 4.0 or an overview of new features in VS 2010 sometime.
- dschobel 17y agoF# is a first class language alongside C# and VB. Major new threading framework which let's you write things like: Parallel.For(0, 100, delegate(int i) { doWork(i); } ); and to parallelize your LINQ queries with the AsParallel() method: data.AsParallel().Sum(); //does exactly what you think That's just the stuff which I'm most excited about. See http://msdn.microsoft.com/en-us/library/ms171868(VS.100).aspx http://msdn.microsoft.com/en-us/library/ms171868(VS.100).asp... for a more comprehensive list.
- loikujhygthj 17y ago>//does exactly what you think Bring the database to a grinding halt when it tries to service 1000s of request for different rows in the same table at the same time in parallel rather than just access each line in order and sum them?
- Maascamp 17y agoIs all the data you ever operate on stored in the database? Do you never load things into memory?
- dschobel 17y agoplinq only parallelizes in-memory operations and delegates the interaction with the data-store to whatever adapter you're using. the AsParallel() should make it clear that you're taking an existing data-set (retrieved in whatever manner you like) and signifying you'd like to execute parallel operations on it.
- MichaelGG 17y agoAlso today, F# 2.0 has shipped for 3.5/VS2008 as well. So you don't need to use .NET 4 and 2010 to get it.
- nopassrecover 17y agoTo get you by: dynamic (runtime) types, optional parameters, named parameters, Covariant and contravariant generic type parameters.
- torial 17y agoOne of the things I'm looking forward to is the managed wrapper for memory mapped files.
- StrawberryFrog 17y agoI would like a review of .NET 4.0 or an overview of new features in VS 2010 sometime. This is far to large a topic for a HN comment. Here is a link to some links to get you started: http://hnsl.mn/cNpxVs http://hnsl.mn/cNpxVs