article thumbnail

Translating Java to Kotlin at Scale

Engineering at Meta

Meta has been on a years-long undertaking to translate our entire Android codebase from Java to Kotlin. We could simply decide to write all new code in Kotlin and leave our existing Java code as is, just as many other companies have. As long as we have substantial amounts of Java, we need to continue supporting parallel tool chains.

Java 88
article thumbnail

Fixrleak: Fixing Java Resource Leaks with GenAI

Uber Engineering

Learn how the FixrLeak framework leverages GenAI and AST-level analysis to automatically detect and fix resource leaks in large-scale Java applications at Uber. Goodbye resource leaks!

Java 72
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

How Meta is translating its Java codebase to Kotlin

Engineering at Meta

Meta has been working to shift its Android codebase from Java to Kotlin , a newer language for Android development that offers some key advantages over Java. So how do you translate roughly tens of millions of lines of Java code to Kotlin ? Send us feedback on Instagram , Threads , or X.

Java 107
article thumbnail

Using JSpecify 1.0 to Tame Nulls in Java by Magnus Smith

Scott Logic

Introduction In the Java ecosystem, dealing with null values has always been a source of confusion and bugs. Nullability annotations like @Nullable and @NonNull are often used, but theyre not part of the core Java language, leading to inconsistencies across libraries and frameworks. myapp { requires java.

Java 52
article thumbnail

The Ultimate Guide to Java Virtual Threads

Rock the JVM

Riccardo is a proud alumnus of Rock the JVM, now a senior engineer working on critical systems written in Java, Scala and Kotlin. Version 19 of Java came at the end of 2022, bringing us a lot of exciting stuff. First, we need to use a version of Java that is at least 19. Another tour de force by Riccardo Cardin.

Java 145
article thumbnail

Java vs Python for Data Science in 2025-What's your choice?

ProjectPro

Why do data scientists prefer Python over Java? Java vs Python for Data Science- Which is better? Which has a better future: Python or Java in 2023? This blog aims to answer all questions on how Java vs Python compare for data science and which should be the programming language of your choice for doing data science in 2023.

Java 53
article thumbnail

Useful classes for data engineers - Scala & Java

Waitingforcode

In this blog post I'll share with you a list of Java and Scala classes I use almost every time in data engineering projects. We all have our habits and as programmers, libraries and frameworks are definitely a part of the group. The part for Python will follow next week!

Scala 130