Earlier quoted context omitted.
I never hated Spring, I got used to working with it. I found the annotation-based approach to configuring classes really opaque though, and it was hard to understand how to configure things because those were also magic annotations, and then some things were beans and others weren't and... ugh. I don't fault Spring for it, and we were on Java 11 back then with just a little bit of new hotness. Java itself just didn't…
I'm always interested in hearing people's alternatives. Modern C# and ASP.NET is likewise annotation based. Most contemporary Python frameworks heavily leverage decorators, which is just another name for annotations. Decorators have made their way into Typescript. Rust code is chock full of attributes, and I've even seen Golang libraries simulate annotations with the `reflect` package. This never really sounds like a…
How Netflix uses Java
201–205 of 205 posts
Re: How Netflix uses Java
#202Earlier quoted context omitted.
Where are you migrating?
No idea yet. But the first step is to have totally isolated domain logic in plain Kotlin. That's a nice start. Next we'll look into Graalvm, but no high hopes that everything we need is compatible. /edit: it's not meant to replace spring, I know what these things do. It's to remediate some of the performance issues and compile time safety, which using graalvm inevitably brings ...
Re: How Netflix uses Java
#203Earlier quoted context omitted.
That’s entirely unrelated to the backend language (and mostly unrelated to CPU usage for that matter).
do you know javascript? it can eat CPU
Re: How Netflix uses Java
#204Earlier quoted context omitted.
What do you propose as an alternative? Something like Micronaut trades more compile time for stricter checks and faster runtime. Do you use something like that?
I really like http4k. http4k[0] is a lightweight but fully-featured HTTP toolkit written in pure Kotlin that enables the serving and consuming of HTTP services in a functional and consistent way. http4k consists of a lightweight core library, http4k-core, providing a base HTTP implementation and Server/Client implementations based on the JDK classes. Further servers, clients, serverless, templating, websockets capabi…
Re: How Netflix uses Java
#205Interesting, no mention of Scala at all. Did Netflix say goodbye to Scala altogether?
We never really used it, aside from some niche use cases. It’s always been Java primarily.