3 ms·
by "everything" I think GP is referring to the JS ecosystem
by lgessler 5y ago
by "everything" I think GP is referring to the JS ecosystem
- amelius 5y agoOk. Wouldn't it make more sense to compile .NET bytecode to JS?
- mumblemumble 5y agoI've never dealt much with transpiling to JS, but I would guess that it's a lot easier to do it from the AST or some other higher-level intermediate representation than it is from CIL instructions. That way you don't have to fuss with programmatically figuring out what stack manipulation instructions are trying to accomplish or any other target-specific noise like that.
- phillipcarter 5y agoNot necessarily. Aside from being more technically challenging, it's more of a "what are our goals" kind of question. Do you want to give F# developers who are afraid of javascript a way to avoid it altogether, or a way to bring those developers into the javascript ecosystem?
- pharmakom 5y agoFable has easy interop with JS libraries because it compiles to JS.