News for hackers. Stuff that matters.
Re:Single Page Applications using Rust by lmm on Tuesday August 11, 2020 @08:24PM (#24127454)
Typescript's type system actually pretty limited. I spent about two weeks trying to do something nice with it before giving up and trying Scala.js, where I was able to do everything I wanted within a couple of days.
Re:Single Page Applications using Rust by KajMagnus on Wednesday August 12, 2020 @12:08AM (#24128521)
How long ago was that?

Typescript gets better all the time, I didn't the last year or so run into anything I couldn't do in Typescript (although using it all the time, and Scala too)

Re:Single Page Applications using Rust by lmm on Wednesday August 12, 2020 @12:49AM (#24128682)
I think it was last year. There was no nominal typing at all, the unsound variance of arrays meant I couldn't really trust my types anyway, I wasn't able to treat structures generically as records the way I'd like (i.e. no shapeless equivalent) and of course there was no HKT.
Re:Single Page Applications using Rust by KajMagnus on Friday August 14, 2020 @05:22AM (#24155680)
Ok. I probably don't use so very advanced parts of the type systems (didn't know about Scala Shapeless until now) so I might not notice the differences.