2 ms·
There's a similar chain for F# running with Fable: F# code (with a catch) --> F# AST --> Bable AST --> JS The big thing here is that the F# code you write has
by phillipcarter 9y ago
There's a similar chain for F# running with Fable:
F# code (with a catch) --> F# AST --> Bable AST --> JS
The big thing here is that the F# code you write has slightly different semantics than "normal" F#. That's because the runtime environment is different, and so you can't escape that. Rather than attemp to gloss this over, the Fable creators are pretty explicit about this, including documenting each of the (small) differences. The result is pretty good. Abstractions don't seem too leaky from my vantage point.