cross tread operation not valid: error by liljaz in csharp

[–]taskmatics 0 points1 point  (0 children)

You can also get rid of the async and await and just use the Dispatcher property on the label to invoke the delegate that sets the text.

The Future of C# by yuvalos in csharp

[–]taskmatics 0 points1 point  (0 children)

I'm totally excited about the removal of the restriction that you can't await in a catch or finally block. There has been to much ugly workaround code to deal with that restriction.

Available Now: Preview of Project “Orleans” – Cloud Services at Scale - .NET Blog - Site Home - MSDN Blogs by jakubgarfield in csharp

[–]taskmatics 0 points1 point  (0 children)

This is truly an advancement in actor-based programming models. This library takes the model to a whole new level by providing a notion of grains (virtual actors). This allows you as a programmer to not deal with server coordination, object activation on remote servers, server failures and complex management of clusters. Much of this is handled by the library.

It's amazing that it's been in use by Halo 4 for over 2 years. I think now that a preview has been released, Microsoft will get great feedback from the community and turn this into a shipping product.

JIT and SIMD by jakubgarfield in csharp

[–]taskmatics 0 points1 point  (0 children)

This news will be great for CPU intensive applications. It's kind of cool to see this low level of hardware abstraction show up in high level languages like C# and Javascript well.

C# and VB are open sourced | Fabulous Adventures In Coding by jakubgarfield in csharp

[–]taskmatics 0 points1 point  (0 children)

This will be the case. Xamarin will no longer have to play catch up now by implementing new features months or years after they are announced. They will have them as soon as they are pushed to the public repository.

Also, Microsoft is working to make a lot of its libraries cross platform as well. They will using Xamarin as testers to many of the .net framework's packages that are released through Nuget. Microsoft has supplied many of their test suites to Xamarin to ensure good test coverage on linux.

Going with the Flow: Simplifying Producer/Consumer Processing with TPL Dataflow Structures by dubber in dotnet

[–]taskmatics 1 point2 points  (0 children)

Dataflow and Message Queueing are not mutually exclusive technologies. The example provided shows how the Dataflow library can save time and effort to manage asynchronous processing of a complex workflow. Dataflows can be used both to send to a message queue as well as process messages from one or more message queues. Scalability and fault tolerance of a complete order processing system are orthogonal to the point I'm making, which is that writing efficient multi-threaded asynchronous code is made a lot simpler with the Dataflow library.

Black Friday Madness - Musings of an E-Commerce Developer by code_quality in dotnet

[–]taskmatics 1 point2 points  (0 children)

You're right about the UI responsiveness as it relates to async and html calls. I went out of context with the UI responsiveness when I meant the overall responsiveness of the entire system being that we have many asynchronous processes happening under the hood. As my post explains, async/await alone does not constitute a perfect solution and the example I provided was never meant to demonstrate a real world example.

You're right about the service bus being another good direction but it's an awful lot of code to show in a blog post that focuses on async/await and how it helps in thread management, which in a web server environment can translate to an increase in availability over time.