When comparing F# (via FunScript) vs Python (via Skulpt), the Slant community recommends Python (via Skulpt) for most people. In the question“What are the best languages that compile to JavaScript? ” Python (via Skulpt) is ranked 34th while F# (via FunScript) is ranked 36th. The most important reason people chose Python (via Skulpt) is:
You can write blocking methods that don't cause the whole page to hang, something difficult to do in languages targeting Javascript.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easier transition from other paradigms
Since F# is not a purely functional language, it lends itself to being more easily picked up by programmers that have experience with other paradigms.
Pro Concise syntax
F#'s syntax tends to be terse while remaining very readable and easy to understand without being a chore to write.
Pro Runs on the CLR
Since F# runs on the Common Language Runtime or CLR, it has access to the entire .NET Framework, as well as libraries written in other .NET languages such as C#, VB.NET, and C++/CLI.
Pro Suspensions
You can write blocking methods that don't cause the whole page to hang, something difficult to do in languages targeting Javascript.
Pro Interactive REPL
You can evaluate new Python code in the browser written by the user.
Cons
Con Not really cross platform
Though the community sites are touting F# can be cross platform through use of Mono, the reality is that it is more of a hack to replay on larger mono applications in production.
Con Python 2.6
Skulpt implements an outdated version of the Python language.
