News for hackers. Stuff that matters.
Re:From zero to 10M lines of Kotlin by hocuspocus on Tuesday October 25, 2022 @12:10PM (#33332535)
> and some tricky generics simply don't compile with Scala

What? Do you have any example that wasn't fixed years ago?

Any non-trivial Scala app will consume dozens if not hundreds of Java libraries, without any issue.

Re:From zero to 10M lines of Kotlin by dima_vm on Wednesday October 26, 2022 @07:03PM (#33350790)
I filed an issue for Scala in 2009, that was answered like "sorry, this particular Java code cannot be used in Scala". In 2012 it still wasn't fixed.

I cannot find the issue now, but I remember I was trying to use gae-mapreduce-java library (built on top of Hadoop interfaces). It couldn't compile with Scala.

Re:From zero to 10M lines of Kotlin by hocuspocus on Thursday October 27, 2022 @04:33AM (#33354827)
That's eons ago in Scala world. If you can, give it another try.

I would assume such a bug was fixed in Scala 2.x given the prevalence of the language in the hadoop ecosystem and big data frameworks.

Moreover Scala 3, was the opportunity to fix many previously-unfixable corner cases.