Welcome to Atalasoft Community Sign in | Help

Browse by Tags

All Tags » code   (RSS)
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...
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...
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...
I'll be at New England Code Camp 10 tomorrow giving another talk about functional programming and concurrency in F#. It will be fairly similar to my previous talks in terms of ideas and content, however, I have put a lot of work into making the functional Read More...
It has come to my attention via a recent DZone article that .NET 3.5 and 2.0 SP1 jointly included a new feature which lets you manipulate the way your garbage collector acts programmatically. This can be done through changing the value of a new property 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...
After my last blog post, due to some of the responses, I decided to spend some time with Smalltalk. As a DotNET developer by trade, I wanted to see what kinds of options were available for use on the CLR. Unfortunately, out of the five different DotNET Read More...
It's time to leave the secondary, external structure of our programs behind. If you can treat the reflected code from a programming language like an abstract data structure, why can’t you just keep the source itself in a similarly abstracted data structure? Read More...
Tuning the garbage collector to the specific context of the particular application can significantly improve the performance of both non-threaded and multi-threaded applications. In this post I discuss the gcConcurrent and gcServer settings which allow Read More...
I have a new CodeProject article up which details how to make a Debugger Visualizer in the case where you need to custom serialize the object. The actual classes I build in the tutorial are only useful with our DotImage project line. However, the process Read More...
Synopsis I gave an hour long talk today, here at Atalasoft, on Concurrency in F# . It featured some slides and a small ant colony simulation to demonstrate different kinds of threading. Overall, I liked developing in F# quite a bit; however, puzzling 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...
More Posts Next page »