Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

F# Scripting, .NET 4.0 and Mixed-mode assemblies

Jomo Fisher—There is a nice F# and DirectX demo that has been floating around for a while now. A recent version can be found here: http://code.msdn.microsoft.com/fsharpsamples/Wiki/View.aspx?title=Home&version=2 One of the recent problems we’ve seen
Posted by Jomo Fisher | 0 Comments
Filed under: ,

F# Performance Tweaking

Jomo Fisher—I’ve enjoyed reading the blog series on F# and game development here . Joh had posted an example of F# of using RK4 and showed some performance numbers comparing F# to C++ and OCaml. Don Syme had been reading too and asked if anyone on the
Posted by Jomo Fisher | 5 Comments
Filed under: , ,

F# Scripts—Reference Nirvana

Jomo Fisher— Last time I wrote about getting started with F# scripts. They’re the fastest way to just write and run some F#. It’s reasonable to ask whether you can use them to do real work. After all, I just showed a toy example: reversing a linked list.
Posted by Jomo Fisher | 1 Comments

F# Scripts--Zero to Execute in Ten Seconds

Jomo Fisher--F# is about conciseness. Consider the interview question that asks you to reverse a singly-linked-list. I’ve been asked this question twice in interviews and even the cleanest implementation in the interviewer’s chosen language was long and
Posted by Jomo Fisher | 9 Comments

F# 1.9.6.0 Link Roundup

- Welcome to the F# CTP project system: project property pages [ reddit ] - Downloading stock prices in F# - Part I - Data modeling [ reddit ] - Units of Measure in F#: Part One, Introducing Units [ reddit ] [ digg ] - Welcome to the F# CTP project system:
Posted by Jomo Fisher | 0 Comments

Update on Fast Switching with LINQ

Jomo Fisher—A while back I wrote about using LINQ to get close-to-the-metal performance in a particular string lookup case in C#. Here, Gustavo Guerra has expanded on the idea significantly with a class he calls StaticStringDicitionary . I haven’t tried
Posted by Jomo Fisher | 0 Comments

F# Community Technology Preview

Jomo Fisher—The F# team has been working furiously on the upcoming release of F# these last weeks. We’ll have some cool stuff to show you soon. Stay tuned.   This posting is provided "AS IS" with no warranties, and confers no rights.
Posted by Jomo Fisher | 4 Comments

Programmatically Resolve Assembly Name to Full Path the Same Way MSBuild Does

Jomo Fisher—Every once in a while I find I need to turn and assembly name like “System” or “System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL” into a path to the actual file for that assembly. This
Posted by Jomo Fisher | 7 Comments
Filed under: ,

Sample

Object Oriented Simple Class with Default Constructor Simple Class with Constructor Parameters Class with Multiple Constructors Simple Class Inheritance Declare and Use an Interface Inherit an Interface from another Interface Anonymously Implement an
Posted by Jomo Fisher | 0 Comments

Correct by Construction in F#

Correct by Construction in F# Jomo Fisher—a theme in the design of the F# language is that problems in the code are revealed as compilation errors. Consider this C# code which is used to compose a courteous letter to a customer: enum Courtesy { Mr, Ms,
Posted by Jomo Fisher | 9 Comments
Filed under: ,

Strange Confluence: An Immutable Queue in F#

Jomo Fisher--Reading one of my favorite blogs this morning--Eric Lippert's Fabulous Adventures in Coding--I came across his article on implementing an immutable queue in C#. The funny thing is that just yesterday I wrote exactly the same structure in
Posted by Jomo Fisher | 1 Comments
Filed under: , , ,

Tight Code--A Puzzle in F#

Jomo Fisher--Luke Hoban wrote something in a blog entry that resonated with me: One of the most striking features of F# code is that it is very terse - ideas can typically be expressed with a small amount of code. Don Syme once mentioned (I'm paraphrasing)
Posted by Jomo Fisher | 39 Comments
Filed under: ,

F# Team is Hiring

Do you want to help us ship F#? Check out these job postings: Developer: http://members.microsoft.com/careers/search/details.aspx?JobID=5DF7A6AB-80C5-41CB-9A8D-5B344C33AE1D&start=1&interval=10&SortCol=DatePosted Tester: http://members.microsoft.com/careers/search/details.aspx?JobID=B36FFEB2-4C11-4B9C-9B3F-5B23CC604A7B&start=1&interval=10&SortCol=DatePoste
Posted by Jomo Fisher | 2 Comments

The Least a C# Programmer Needs to Know about F# Part II--Modules

Jomo Fisher--Many languages, especially those in the OO vein, require an outermost class to put code in. Usually, good practice requires an enclosing namespace as well. F# allows functions and even function calls in the outermost scope. Here is the minimal
Posted by Jomo Fisher | 3 Comments
Filed under:

WideFinder--Naive F# Implementation

Jomo Fisher--Here's an interesting problem that some people are having fun with. Don Box posted a naive implementation in C# so I thought I'd post the equivalent in F#: #light open System.Text.RegularExpressions open System.IO open System.Text let regex
Posted by Jomo Fisher | 4 Comments
Filed under:
More Posts Next page »
 
Page view tracker