mrkurt

Stories kicked by mrkurt

Thinking in Concurrently in .NET(codebetter.com)

submitted by igoroigoro(815) 4 years ago

Matthew Podwysocki discusses several present and future approaches to handling concurrency in .Net. From the article: "We need not only a better way to handle concurrency, but a better way to describe them as well. This is where Pi-calculus comes into the picture... But before we get down that beaten path, let's look at a few options that I chose." read more...

add a comment |category: |Views: 215

tags: another

Building an F# powered indexing system (part 2)(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years ago

The second development chunk focuses on creating documents to index, and munging them into a format to hand off to an external library. There are examples of calling a .NET library from F#, mutable values, function composition, and several other spiffy sounding things. read more...

add a comment |category: |Views: 53

tags: another

Lazy instantiation one-liner with the coalesce operator(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

The one-liner for lazy instantiation of instance fields using the coalesce-operator read more...

2 comments |category: |Views: 344

tags: another

Beware of List(T).Find (dev102.com)

submitted by shaharyrshaharyr(4325) 4 years ago

Llist(t).Find returns the first element found that matches a given criteria, but what happens if no such element found? read more...

add a comment |category: |Views: 197

tags: another

Why is it so F#...ing Difficult to Buy Visual Studio!?(devblog.ailon.org)

submitted by ailonailon(1335) 4 years ago

Have you tried upgrading Trial edition of Visual Studio or buying it through the official site while living outside of United States? I wasted half a day and failed. read more...

2 comments |category: |Views: 65

tags: another

Building an F# powered indexing system(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years ago

When I first started dabbling in F#, I really struggled to understand how someone (in particular, me) would sit down and start writing an application from scratch. Project Euler puzzles are a great way to learn syntax (and probably the best place to start), but I would have loved to see a real application's source with a sort of "here's how it was built" narrative. So that's what I'm going to do! read more...

add a comment |category: |Views: 38

tags: another

Q: Is IQueryable the Right Choice for Me?(community.bartdesmet.net)

submitted by bdesmetbdesmet(290) 4 years ago

IQueryable<T> is just one way to create custom LINQ providers, but this post outlines different approaches that are attractive for less-complicated query providers. read more...

add a comment |category: |Views: 128

tags: another

Yet Another Project Euler Series (YAPES)(diditwith.net)

submitted by lenielleniel(504) 4 years ago

For the past several months, I've been using F# to solve at least two Project Euler problems each week. I find this is a great way to sharpen my math skills and my F# skills simultaneously. If you're looking for a way to flex your programming muscles, you really should check out Project Euler. read more...

1 comment |category: |Views: 55

tags: another

New F# Compiler Released(research.microsoft.com)

submitted by dengar007dengar007(3084) 4 years ago

The new version of the F# Compiler was released May 1, 2008. Go download it now. read more...

4 comments |category: |Views: 99

tags: another

10 Hours in F#: Exploring Concurrency Through An Ant Colony Simulation(atalasoft.com)

submitted by tomdogtomdog(3230) 4 years, 1 month ago

"I gave an hour long talk today, 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 through the interpreter errors was a brutal process indeed." read more...

add a comment |category: |Views: 41

tags: another

F# vs. C#: refactoring in parallel and generics(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 1 month ago

In an attempt to avoid out parameters (which suck) in C#, I refactored a bit of contrived code to bury them elsewhere. I also worked on the equivalent F# code, and found more things about C# that may or may not suck. read more...

add a comment |category: |Views: 158

tags: another

Functional Programming in C# - Higher-Order Functions(aabs.wordpress.com)

submitted by aabsaabs(850) 4 years, 1 month ago

This is the second in a series on the basics of functional programming using C#. I explore Higher-Order Functions this time. Higher-Order Functions are functions that themselves take or return functions. Meta-functions, if you like. This is a more code intensive post, that builds on the ideas that I explored last time. read more...

add a comment |category: |Views: 100

tags: another

The insanely scalable ReaderWriterGate lock(msdn2.microsoft.com)

submitted by JudahGabrielJudahGabriel(814) 4 years, 1 month ago

Wintellect's Jeffrey Richter, the Win32 threading guru, has written a library containing a new kind of lock: the ReaderWriterGate. Unlike other locks, this lock is highly scalable and fast with very few thread context switches. Works well with ASP.NET web apps as well. read more...

4 comments |category: |Views: 78

tags: another

Trying out PowerCommands 1.1 for Visual Studio 2008(blogs.microsoft.co.il)

submitted by JemmJemm(9604) 4 years, 1 month ago

Generally, I don't like to install any Visual Studio extensions at all, but I thought I should give this one a chance. I installed PowerCommands 1.1 for Visual Studio 2008, and went to play with the new functionality. Here is what I found as the most useful... read more...

1 comment |category: |Views: 11

tags: another

Upcoming Changes In Routing(haacked.com)

submitted by javeryjavery(5523) 4 years, 1 month ago

Phil Haacked details the changes (some of them breaking) to Routing in ASP.NET MVC. read more...

add a comment |category: |Views: 2

tags: another

Out parameters suck, tuples rule, F# wins(tryingthisagain.com)

submitted by mrkurtmrkurt(280) 4 years, 1 month ago

The TryParse method found on many value types is nice and useful. Unfortunately, you're forced to use out parameters to make use of them. Ugh. read more...

add a comment |category: |Views: 67

tags: another