Welcome to Atalasoft Community Sign in | Help

Browse by Tags

All Tags » programming » C#   (RSS)
If you follow me on twitter , you know that I am no fan of the System.Drawing namespace.  It’s a rush job thinly wrapped layer on top of GDI+.  A great deal is only partially implemented and there is quite a lot of undocumented behavior.  Read More...
While in most cases there is no explicit information in an assembly as to which languages it was compiled from, it is possible to make an educated guess as to which languages were used.  This is due to the fact that each different .NET compiler leaves Read More...
It’s been a very exciting week. I actually had more things to post than time would allow me to write about. I’ll have to save them for next time. Blog: Daniel Spiewak’s What is Hindley-Milner? (and why is it cool?) Hindley-Milner is the algorithm all Read More...
In my last post in this series I walked through the basics of launching and managing an external process.  In this post I’ll be discussing simple process interactions via ShellExecute API Verbs.  Using Verbs will allow you to perform simple Read More...
I read an interesting article this morning by Reinier Zwitserloot on the topic of null subtypes in statically typed languages . The issue is that in Java and C# there are a number of different type modifiers for dealing with the concept of nullity. Because Read More...
Yesterday, my coworker Lou Franco pointed me to a fantastic talk by Anders Hejlsberg on the future of programming languages . In this talk Anders argues that the future of programming language development will be focused on three events: the explosion Read More...
When you are handed a string, integer, or any value type, can you know what it really represents? Can you define the range of appropriate behaviors for that data? Can you tell if it's formatted correctly? The problem is, in all of these cases, you can't. Read More...
After my last post, A Safe and Asynchronous One to Many Stream Copy Through IL and Inheritance ”, I ordered a few books and spent some time playing with generating IL. Along the way I’ve developed a library which allows you to make a franken-clone of Read More...
Because .NET Streams have state, they are difficult to use in multithreaded environments. In this post I discuss ways to manage or work around problems arising from the statefulness of .NET Streams. I explain how this is possible both through traditional Read More...
In the previous article I discussed a few of the benefits of stack allocation as well as a couple of C# keywords which help you to leverage those benefits. However, the one megabyte default stack size is too small for stack allocation to be used with Read More...
Articles in This Series Part 1 – Basic Housekeeping Part 2 – Improving Performance Through Stack Allocation Part 3 – Increasing the Size of your Stack Part 4 – Choosing the Right Garbage Collector Settings Part 5 – Changing Your Garbage Collector Settings Read More...
There are a great number of different ways to count the number of processors available to the .NET developer. In this post I will go over some of the more common methods and their pros and cons. The Envirionment.ProcessorCount Way Code: Environment .ProcessorCount; Read More...
One of the most often cited reasons to not use .NET is that it is initially compiled to an intermediary language (MSIL) and has to be recompiled every time you run it. In many high performance environments this wasted time is simply unacceptable. To combat Read More...
Howard Dierking over at MSDN has a really interesting Blog post entitled " Lambda, Lambda, Lambda! " in which he described the evolution of the lambda function in C#. It seems fairly simple on the surface: 1.0 Introduced Delegates, 2.0 Introduced Anonymous Read More...