|gRPC Kotlin 1.0 Released|
|Written by Kay Ewbank|
|Tuesday, 26 January 2021|
Google has announced the 1.0 release of gRPC Kotlin, following its open sourcing last year. gRPC is a high-performance, open-source, universal RPC framework originally developed at Google to help developers connect services.
Kotlin is the open source language originated by JetBrains and promoted by Google as a first class language for Android to replace or supplement Java. It makes Android programming easier by reducing the need for long chunks of boilerplate code gRPC builds on protocol buffers that provide language-agnostic and high performance data interchange, and adds the network protocol for efficiently communicating with the buffers.
The developer team at Google says an increasing number of developers are using Kotlin to take advantage of its expressiveness, safety, and excellent support for writing asynchronous code with co-routines. They comment:
"Since everything in Google runs on top of gRPC, we needed an idiomatic way to do gRPC with Kotlin."
Having built gRPC Kotlin for internal use, Google made it open source in April 2020. Since then over 30,000 people have downloaded it. That initial release has been improved with bug fixes, better documentation, and improvements.
gRPC Kotlin how comes with a gRPC lite mode that the developers say is
"a great fit for GraalVM Native Image which turns JVM-based applications into ahead-of-time compiled native images, i.e. they run without a JVM. These applications can be smaller, use less memory, and start much faster so they are a good fit for auto-scaling and Command Line Interface environments."
The new release can also be used to create backend services to be packaged for deployment in Kubernete or Cloud Run. Cloud Run is a cloud service that runs docker containers and scales automatically based on demand.
To know more about Kotlin, see Programmers Guide To Kotlin by Mike James, a title in the I Programmer Library from I/O Press.
Why Do Android Devs Convert To Kotlin?
Kotlin Versus Java - A Developer's Rosetta Stone
Kotlin 1.3 Adds Duration And Time API
Kotlin Enters RedMonk's Top 20
Kotlin Gains A Foundation and A Portal
Kotlin 1.2 Released With Cross Platform Support
The Programmers Guide To Kotlin - Type
Kotlin Begins Its Takeover Of Android
New Kotlin Style Guides Unveiled
Kotlin - New Language For Android
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
or email your comment to: firstname.lastname@example.org