Kojack's VS2010 Experiences Part 2 - Finished Installing
Wow, that was the most annoying install I've had in years (well, since Visual Studio 2008 destroyed my XP install).
It took 1 hour and 7 minutes to install, and 4 reboots of vista.
I haven't even installed the msdn yet, it's 5am now and I really don't feel like starting another install.
Why does a damn compiler take way longer to install than Vista and Windows 7 combined?
Ok, time to start it up...
And of course the rebirth of Basic in the form of F#?
Umm, not quite. F# is a functional language based on Ocaml.
F# was developed as a pragmatically-oriented variant of ML that shares a core language with OCaml. Unlike other scripting languages it executes at or near the speed of C# and C++, making use of the performance that comes through strong typing. Unlike many type-inferred, statically-typed languages it also supports many dynamic language techniques, such as property discovery and reflection where needed. F# includes extensions for working across languages and for object-oriented programming, and it works seamlessly with other .NET programming languages and tools.
*succinct, type-inferred functional programming,
* interactive scripting like Python and other languages,
* the foundations for an interactive data visualization environment,
* the combination of type inference and safety, like that of ML,
* a cross-compiling core shared with the popular OCaml language,
* a performance profile like that of C#,
* easy access to the entire range of powerful .NET libraries and database tools,
* a foundational simplicity with similar roots to Scheme,
* the speed of native code execution on the concurrent, portable, and distributed .NET Framework.
An example of F# code:
Code: Select all
type Expr =
| Num of int
| Add of Expr * Expr
| Mul of Expr * Expr
| Var of string
let rec Evaluate (env:Map<string,int>) exp =
match exp with
| Num n -> n
| Add (x,y) -> Evaluate env x + Evaluate env y
| Mul (x,y) -> Evaluate env x * Evaluate env y
| Var id -> env.[id]
let envA = Map.of_list [ "a",1 ;
"b",2 ;
"c",3 ]
let expT1 = Add(Var "a",Mul(Num 2,Var "b"))
let resT1 = Evaluate envA expT1
Back to Visual Studio 2010...
Hmm, it's very blue (I use windows classic theme in vista with standard grey colours, so a blue compiler looks rather odd).
So far I've managed to compile 4 libs (SFML 2d engine), but not the exe which gives errors in the windows 7 api (I'm not using windows 7).
It's failed with Box2D and Pixel Toaster.
I've also had parts of it crash (the presentation font manager) during startup and shut down.
I've already had it crash to desktop twice.