Hacker News new | ask | show | jobs
by mtct 4459 days ago
No, you probably don't want to use F# if you can't use the .NET framework.
2 comments

Many of the core F# developers develop on Mono first, so I think it's probably reasonable to run F# on something other than Microsoft's VM.
Yes and not, you surely can develop successfully with mono on linux, but .NET is not "write once, run everywhere", is more a "write once, run everything" framework. It's heavy tangled with all the Microsoft and Windows technology and promote the reuse of code in that ecosystem.
That's a rather unique take, given how Xamarin has managed to build a massively successful company around the idea of using .NET to target non-Windows platforms.
a relatively successful company.

Xamarind is a drop in the sea of .NET

Every company that isn't the size of Microsoft is a drop in the sea of .NET.
do you mean the runtime, rather than the framework? my limited understanding of Mono is that it will _run_ most .Net libraries, albeit not as fast.
.NET framework is:

+ runtime

+ core = standard library, io/string/async/thread/etc/linq.

+ some bundled stack, like wcf for create service, wpf for ui, mef for plugin, xml serialization, json serialization, asp.net webforms, etc.

Mono try to reimplement all. Runtime and standard library work very well on mono.

bundled stacks can work, work partially or not implemented, depends (on contribution, check mono website). Some stack are really old way to do things, deprecated, usefull only on windows. Also Microsoft for new stacks (like asp.net MVC) try to open source, so mono need to compile source and fix bug/different behaviour, not rewrite

If you use a library who depends on a bundled stack, can or cannot work on mono. Library who depends on open source or standard lib, should work

Also, Visual Basic and Visual C++ don't have a good support in the mono project.

And obviously you can't use SQL Server or IIS; two components usually used in .Net applications; under unix