B# .NET Technical Community Homepage

Bart De Smet's online technical community

Browse by Tags

  • Jumping the trampoline in C# – Stack-friendly recursion

    Introduction Recursion is a widely known technique to decompose a problem in smaller “instances” of the same problem. For example, performing tree operations (e.g. in the context of data structures, user interfaces, hierarchical stores, XML, etc) can be expressed in terms of a navigation strategy over...
    Posted to B# .NET Blog (Weblog) by bart on 11-08-2009
  • Type-Free Lambda Calculus in C#, Pre-4.0 – Defining the Lambda Language Runtime (LLR)

    Introduction A while back, I blogged about (Mis)using C# 4.0 Dynamic – Type-Free Lambda Calculus, Church Numerals, and more which was a fun post and got some good feedback and solid reading numbers. So, let’s continue our journey of brain-exploding theoretical foundational posts with “The Revenge of...
    Posted to B# .NET Blog (Weblog) by bart on 08-30-2009
  • (Mis)using C# 4.0 Dynamic – Type-Free Lambda Calculus, Church Numerals, and more

    Introduction Sunday morning, time for another episode of the Crazy Sundays series. Again one in the category with risk for exploding brains , but that’s what we like, don’t we? This time around, we’re going to have a look at the type free lambda calculus in C#. But wait a minute, isn’t C# a typed language...
    Posted to B# .NET Blog (Weblog) by bart on 08-17-2009
  • The Return of the Pattern Matcher - Sample Code Available

    It's been a while since I continued my series on a functional pattern matcher in C# . I finally found some time to extract the simplified pattern matching code from the bigger project I'm working on and cook up a downloadable documented sample. Without further delay: here it is . It contains...
    Posted to B# .NET Blog (Weblog) by bart on 04-26-2008
  • Pattern Matching in C# - Part 8

    In the last handful of posts in this series we've been looking at ways to match a whole set of patterns, including: Constants Objects Lists and arrays Dictionaries There's not that much left to apply (meaningful) matches for (feel free to think of others of course) so from this post on, we'll...
    Posted to B# .NET Blog (Weblog) by bart on 04-16-2008
  • Pattern Matching in C# - Part 7

    In our last encounter on the pattern matching mission we covered techniques to match T[] and List<T>. Today we cover another type that's being use a lot: dictionaries (the generic brothers of Hashtable which you could match too, exercise ). I've already shown an example of such a match...
    Posted to B# .NET Blog (Weblog) by bart on 04-15-2008
  • Pattern Matching in C# - Part 6

    Monday morning: The Return of The Pattern Matcher. After an awesome weekend (well, a Saturday at least) plenty of sun here in Seattle, we'll dive into even more pattern matching fun. This time around we'll investigate ways to match collections. Last time we wrapped our heads around ways to match...
    Posted to B# .NET Blog (Weblog) by bart on 04-14-2008
  • Pattern Matching in C# - Part 5

    Remark: Some readers have asked me for the sources of all this magic. Since this series is based on an extraction from a bigger project and I'm composing the decoupled (and slightly simplified) pattern matcher as I'm writing these blog posts, the source isn't in a publishable condition yet...
    Posted to B# .NET Blog (Weblog) by bart on 04-11-2008
  • Pattern Matching in C# - Part 4

    Last time around in this series we won the battle of performance, going all the way from an interpreter-driven pattern matcher to a fully on-the-fly compiled one, with great results almost reaching the performance of a manual implementation. However, functionality-wise our pattern matcher is rather restricted...
    Posted to B# .NET Blog (Weblog) by bart on 04-10-2008
  • Pattern Matching in C# - Part 3

    Welcome back beloved pattern matchers! In our last encounter we moved from closed to open pattern match objects in order to allow for reuse, improving the performance of our pattern matcher quite a bit. But we're not done yet: today we'll build upon our open pattern match and provide a way to...
    Posted to B# .NET Blog (Weblog) by bart on 04-09-2008
Page 1 of 2 (14 items) 1 2 Next >
Powered by Community Server (Non-Commercial Edition), by Telligent Systems