4 ms·
Oof, thanks for pointing that out, I hadn't noticed and I've only ever used F# on .NET. That's terrible on Fable's part, the least they could do is truncate. I
by debugnik 5mo ago
Oof, thanks for pointing that out, I hadn't noticed and I've only ever used F# on .NET.
That's terrible on Fable's part, the least they could do is truncate. I wasn't aware Fable's translation is so naive.
- ibejoeb 5mo agoI haven't used Fable much, but apparently it maps .NET arrays to js TypedArray. Presumably you could keep the registers in 8-element array and fable will properly produce a Uint8Array. I'd like to benchmark that.
- rienbdj 5mo agoIt’s really hard to please everyone all of the time on this front. This kind of thing is why Roc compiles to WASM but not JS.
- omcnoe 5mo agoFable is great but it has a surprising number of these hidden behaviour changes that are really hard to detect when writing code against it.