Re:The golden age of Kotlin and its uncertain future
by msy on Thursday January 11, 2024 @03:21AM
(#38949311)
I could count the number of startups I’m aware of building on Java on one hand, after a wood chipper accident. For perf it’s rust, for web it’s Go or node/deno/bun for single front/back language.
[ Parent
| on HN ]
Re:The golden age of Kotlin and its uncertain future
by threeseed on Thursday January 11, 2024 @03:53AM
(#38949565)
Java is often faster than Rust on typical single-threaded code. Rust is faster when you want to leverage features like SIMD.
And when it comes to concurrency Rust is the worst language I've ever used by far. The type checker makes dealing with objects between threads extremely painful. With the JVM it's all just handed for you.
Rust is great when you want a tiny binary with minimal memory consumption.
Re:The golden age of Kotlin and its uncertain future
by DeathArrow on Thursday January 11, 2024 @03:51AM
(#38949537)
So you think Rust and Go are more frequently used than Java for new code? Do you have something to support you claim?
Looking at TIOBE and PYPL, it comes that for backend Java and .NET are huge, followed by .Node.js, followed by Python and then PHP.
Re:The golden age of Kotlin and its uncertain future
by ivan_gammel on Thursday January 11, 2024 @03:35AM
(#38949422)
I know a number of them, but that’s not really important. You didn’t mention Kotlin, right? :)
Often enough whatever stack was used at the seed stage, it is eventually either replaced or complemented by Java, meaning that new code is written either on latest LTS or even on evergreen version.
Re:The golden age of Kotlin and its uncertain future
by MrBuddyCasino on Thursday January 11, 2024 @04:46AM
(#38949974)
I have never seen Golang being used for business logic backends, its Java, Kotlin or .NET, and then nothing else for a long while. It is not expressive enough but shines in other areas, mainly infrastructure.
Remember that "Systems Programming", which is what Golang was designed for, isn't necessarily just Kernel and device drivers, but everything that isn't "Application Programming", and that includes the whole K8S networking and container stuff where it is very successful.
Re:The golden age of Kotlin and its uncertain future
by mustermannBB on Thursday January 11, 2024 @04:53PM
(#38959756)
Kotlin is weird inclusion in that list with Java and .NET unless you'd include Android.