Saturday, 22 February 2025
28.6 C
Singapore
36.4 C
Thailand
22 C
Indonesia
27.5 C
Philippines

Google pushes for Kotlin as the preferred language for app development

At the Google I/O developer conference, the tech giant announced that Android development would become increasingly โ€˜Kotlin-first,โ€™ as the company doubles down on its support of the Kotlin language for Android mobile development. Kotlin, the JVM-based alternative to Java, is a cross-platform, statically typed, general-purpose programming language with type inference. It is designed to inter-operate […]

At the Google I/O developer conference, the tech giant announced that Android development would become increasingly โ€˜Kotlin-first,โ€™ as the company doubles down on its support of the Kotlin language for Android mobile development.

Kotlin, the JVM-based alternative to Java, is a cross-platform, statically typed, general-purpose programming language with type inference. It is designed to inter-operate fully with Java, and the type inference allows its syntax to be more concise.

โ€œMany new Jetpack APIs and features will be offered first in Kotlin. If youโ€™re starting a new project, you should write it in Kotlin; code written in Kotlin often mean much less code for youโ€“less code to type, test, and maintain.โ€

Google

It was only two years ago that Google announced its support for Kotlin in its Android Studio IDE at I/O 2017. This news came as a surprise, given that Java had long dominated Android app development.

In the past two years, Kotlinโ€™s popularity has grown with more than 50% of professional Android developers now using the language to develop their apps, and in the latest Stack Overflow developer survey, Kotlin is ranked as the fourth-most loved programming language.

But Google also confirmed that Google still supports the use of Java and C++ for Android development.

The company also announced ten new libraries for Android Jetpack, a set of components, tools, and guidance built to accelerate app development. The company also introduced Jetpack Compose, a new unbundled Kotlin toolkit.

Hot this week

DJI launches new Osmo Mobile 7 series with enhanced tracking and built-in tripod stands

Discover the new DJI Osmo Mobile 7 series, featuring improved tracking, stability, and gesture controls for smoother smartphone filming.

OpenAI moves to loosen ChatGPT restrictions

OpenAI updates ChatGPTโ€™s policies to promote intellectual freedom, allowing for more perspectives on controversial topics while maintaining neutrality.

ASUS launches ZenScreen Duo OLED MQ149CD, a portable monitor with dual OLED displays

ASUS unveils the ZenScreen Duo OLED MQ149CD, a portable dual-screen monitor with OLED technology, delivering stunning visuals and flexible work setups.

Apple’s first foldable iPhone might not look like a Galaxy Z Fold

Appleโ€™s foldable iPhone may not resemble Samsungโ€™s Z Fold. A wider design and later launch are expected.

Elon Muskโ€™s xAI unveils Grok 3, its most advanced AI model yet

xAI, Elon Muskโ€™s AI company, has launched Grok 3, its latest AI model. It features improved reasoning, new research tools, and expanded subscription plans.

Nvidia acknowledges RTX 5090 and 5070 Ti manufacturing defect

Nvidia confirms a rare manufacturing defect in the RTX 5090 and 5070 Ti, affecting less than 0.5% of GPUs. Affected users can request a replacement.

DJIโ€™s RS 4 Mini stabiliser now features advanced subject tracking

DJIโ€™s RS 4 Mini stabiliser introduces subject tracking, improved battery life, and better handling, making it an excellent tool for content creators.

American Airlines introduces AirTag location sharing for lost luggage

American Airlines now supports Appleโ€™s AirTag location sharing, making it easier for passengers to track and recover lost luggage.

Google may launch YouTube Premium Lite in more countries

Google may launch YouTube Premium Lite in the US, Australia, Germany, and Thailand, offering a cheaper plan with fewer ads. Pricing is yet to be confirmed.

Related Articles