News for hackers. Stuff that matters.
Re:Using Rust at a Startup: A Cautionary Tale by bpicolo on Wednesday November 23, 2022 @05:51PM (#33725533)
Kotlin has null safety, and there are plenty of ways to turn jvm into a binary
Re:Using Rust at a Startup: A Cautionary Tale by Casperin on Wednesday November 23, 2022 @07:22PM (#33726302)
It has no adts at all. Like I'm reading blog posts right now about how to do what should be the simplest thing

    enum Foo {
        A(String),
        B(i32),
    }
And it's.. not simple. And even if you manage to do it, it'll never be how Kotlin was meant to be written.
Re:Using Rust at a Startup: A Cautionary Tale by bpicolo on Wednesday November 23, 2022 @08:30PM (#33726840)
I agree with you 100%. It's the thing I miss most when not writing Rust. I will say that it as a feature alone isn't a good enough reason for me to write Rust, though!
Re:Using Rust at a Startup: A Cautionary Tale by vips7L on Monday December 05, 2022 @01:10PM (#33869295)
Its pretty simple:

    sealed interface Foo
    class A(val s: String)
    class B(val b: Int)