News for hackers. Stuff that matters.
Re:A new F# compiler feature: graph-based type-checking by catlover76 on Sunday November 05, 2023 @01:10PM (#38153774)
Is it really appreciably different from "transpilation" with TypeScript?

Like, I have seen a little of both (I've used a lot of TypeScript, but who actually looks at the output JS lol), and while I agree the JS output from Fable seemed surprisingly verbose, I'm not sure I see how it practically matters unless one is worried about bundle size or something.

Re:A new F# compiler feature: graph-based type-checking by Capricorn2481 on Sunday November 05, 2023 @02:22PM (#38154618)
I'm not talking about that JS output, I mean the F# itself. While I'm not the most familiar with F#, I've enjoyed other languages that transpile to JS a lot more.

For whatever reason, F# to me looks surprisingly verbose in Fable, which is odd because it's pretty terse on the backend.

Re:A new F# compiler feature: graph-based type-checking by catlover76 on Sunday November 05, 2023 @02:24PM (#38154637)
Oh, I see. You said "resulting code", that's why I thought otherwise.
Re:A new F# compiler feature: graph-based type-checking by Capricorn2481 on Sunday November 05, 2023 @02:28PM (#38154684)
My mistake!