Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

F#

Name: Anonymous 2008-04-21 21:11

So anyway I have begun my foray into F#.  Because I plan to use .net in my next project I think it will be fun to learn F# in addition to C# and use both languges in the project.  To this end I just ordered Expert F#.  Knowing /prog/ is infinitely more expert then me: 

what does /prog/ think about .net?
what does /prog/ think about F# (ocaml)?
What type of tasks are better to be performed in F# vs C# (Math type tasks heavy)?

Name: Anonymous 2008-04-22 19:11

>>42

You should be aware that a given .Net assembly needs to be entireley in the same language. It won't create 1 assembly from multiple languages.

Don't confuse that with the fact that .Net doesn't care what language an assembly is written in.

Creating a class in F# and another class in C# and trying to put them in the same assembly (dll) won't work.

Creating a class in F#, compiling it to an assembly and then referencing and calling that class from a C# assembly will be 100% fine.

If you are creating a library of algorithms, it would be strange to have 2 assemblies for a common library. So the best approach would be to implement each unit of functionality in the same language, but your entire app can be written in many.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List