Skip to main content

Posts

Showing posts with the label kotlin

Get Onboard Kotlin With Jetbrains

There's a free course designed for novices in Kotlin that focuses on the basic concepts of the language. Apart from the content itself, the interesting of this course is that it runs inside Intellij. full article on i-programmer: https://www.i-programmer.info/news/98-languages/16190-get-onboard-kotlin-with-jetbrains.html

GraalVM Under The Covers

 At a very high level, GraalVM is a runtime that can compile bytecode into native self-contained executables as well as run programs in languages other than Java. This detailed look at it attempts to put a highly technical and difficult subject into perspective. The starting point for this article was "Exploring Aspects of Polyglot High-Performance Virtual Machine GraalVM", a paper by M. Å ipek, B. Mihaljević and A. Radovan of Rochester Institute of Technology Croatia, Zagreb, Croatia. The presents GraalVM's architecture, its features and examines how it resolves common interoperability and performance problems when having to support multiple programming languages. I've extended it in order to provide a high level overview in simple terms. Virtual Machines were invented in order to run programs in an independent way regardless of the platform and the underlying hardware. Examples are the . NET CLR, MoarVM the modern virtual machine built for the Rakudo compiler impleme...
 Micronaut 3.2 Released for More Performant Microservices Micronaut, the JVM-based polyglot framework for building microservices applications in Java, Kotlin and Groovy has reached version 3. 2. Before we look at what's new, let's first take a look at what the framework does differently. Yes, there's other options of going Microservices than the combination of Spring Boot and Spring Cloud. Helidon, Dropwizard, Microprofile and Quarkus are some of those options. And there's Micronaut.  full article on i-programmer: https://www.i-programmer.info/news/80-java/15098-micronaut-3-2-released-for-more-performant-microservices.html

Compose Multiplatform Goes Out of Beta

  Finally, after several milestones through Alpha and Beta versions, the multiplatform framework for building declarative UI applications goes stable with version 1. 0. Jetpack Compose started out as a declarative toolkit for building UI apps on Android but through its incarnation as Compose Multiplatform it has quickly become a common method of building user interfaces not just for Android but for the Desktop and Web too thanks to its a common codebase and UI components. After a few milestones, Alpha and Beta releases, we now have stable version 1. 0. In fact, there was so much fragmentation between Multiplatform's versions, components and updates that prompted us to clear up things with Jetpack Compose For Web - Putting Order To Chaos: "Compose this, Compose that, it's easy to loose track. So let's put order to this chaos!" So what does this new version have in store? full article on i-programmer: https://www.i-programmer.info/news/90-tools/15057-compose-multipl...

Jetpack Compose Multiplatform Beta Released

 Jetpack Compose started out as a declarative toolkit for building UI apps on Android but has quickly become a common method of building user interfaces not just for Android but for the Desktop and Web too thanks to its a common codebase and UI components. After a few milestones and an Alpha release we now have Beta. What does it have in store? Compose Multiplatform brings together three different components; Compose Desktop, Web and Android. The Alpha release promoted Compose for Desktop and Compose for Web to Alpha from their Milestone and Preview states and aligned their versioning with the rest of the Compose Multiplatform in order to: make use of the same declarative approach and APIs used for modern Android applications to create native-feeling user interfaces for desktop and web apps because at the time Compose for Desktop and Compose for Web were using separate sets of artifacts. Now the Beta version provides .. full article on i-programmer.info: https://www.i-programmer.in...

Understand Gradle In Half An Hour

  Gradle, the build automation tool for multi-language software development that is widely used for Android is notoriously difficult to use. To help, here's a YouTube playlist on "Understanding Gradle" that is straight to the point. It could also be given the title  "How to make Gradle less dreadful" . In  Love It or Hate It, Gradle Reaches Version 7.0  I put forward some reasons why Gradle is not the most user-friendly tool: cryptic syntax, contradictory terms (see compile versus implementation) and peculiar blocks of elements. Furthermore Gradle is a tool that: always stirs arguments among developers and according to Bruce Eckel, author of Thinking in Java, Thinking in C++ and Atomic Kotlin amongst others: To do anything in Gradle you have to know everything full article on i-programmer.info

Jetpack Compose Multiplatform Alpha Released

  Jetpack Compose Multiplatform, an extension to the Jetpack Compose UI framework from JetBrains, now in Alpha, makes it possible to build Android, Desktop, and Web UIs with the same artifacts from a single codebase. But's let take things from the beginning. It all started with Jetpack Compose UI for Android, then moved on to Compose Desktop and finally Compose web.I've made an effort to put things into perspective with " Jetpack Compose For Web - Putting Order To Chaos ".The common denominator was and is to enable UI code sharing between desktop, Android and Web applications. full article on i-programmer.info

Jetpack Compose For Web - Putting Order To Chaos

  The Jetpack Compose saga continues with its newest installment, Web, which is an attempt to unify development across Android, Desktop and Web platforms. Compose this,Compose that, it's easy to loose track. So let's put order to this chaos! The starting point was the Jetpack Compose UI toolkit for Android which meant you could write dramatically less UI code in a declarative fashion. I covered that in  Android Jetpack Compose Is Welcome, But What About The Churn?  back in  September 2020. That was version Alpha. full article on i-programmer.info

Learn Kotlin in 134 Lessons

  Kotlin For Beginners is a free 9-hours long course covering the basics of Kotlin by Donn Felker and delivered on YouTube. Donn Felker is a pro who has a lot of experience under his belt -Founder of Caster.io, author (Android Application Development for Dummies, Android Tablet Application Development for Dummies), consultant and co-host of the software developer podcast Fragmented. And, of course, he developed mobile apps such as MyFitnessPal, Groupon and more. This kind of background tells a lot about the course's quality. But let's take a closer look.   full article on i-programmer.info

Netflix's GraphQL for Spring Boot

  Netflix has open sourced its DGS Framework (Domain Graph Service) GraphQL server framework for Spring Boot. Starting out as a tool internal to the corporation, it has been generously open sourced for the rest of us to enjoy. Netflix is one of those organizations that have gone beyond REST, embracing GraphQL instead. Rather than exposing a myriad of microservices to UI developers, Netflix opted for a unified API aggregation layer at the edge, powered by GraphQL. Since they also use Spring Boot for their infrastructure, merging was bound to happen. full article on i-programmer.info

Jetpack Compose for Desktop Milestone 2

Following its initial announcement of Jetpack Compose for Desktop last month, JetBrains has now announced Milestone 2, updated with a Swing interoperability layer. full article on i-programmer.info

Learn To Develop On Android With MAD Skills

  Modern Android Development (MAD) Skills is a free series of videos and articles by Google that teaches the modern ways of doing development on the Android platform. When Google talks about modern Android development it means: 1.Android Studio 2.Kotlin 3.Jetpack 4.App Bundles. full article on i-programmer.info

Introducing Jetpack Compose for Desktop

  JetBrain's Jetpack Compose for Desktop is an open source project being developed in collaboration with Google’s Jetpack Compose, intended to simplify and accelerates UI development for desktop applications, and allow extensive UI code sharing between Android and desktop applications. It's first milestone release is now available.  Is a 100% shared codebase between different platforms a futile dream? Many have tried to cross boundaries with a framework that can bridge multiple platforms, that is write your code once and let it run seamlessly on macOS, Linux, Windows, and iOS. But, if even Microsoft can't unify the UI framework of its Windows platform, what can you expect from attempting to go across platforms? full article on i-programmer.info

Introducing The Android Kotlin Developer Nanodegree

  The old Android Java Developer Nanodegree is shelved, making way for the new kid on the block - Kotlin By now everybody has been aligned to the fact that Android development is dominated by Kotlin.What's surprising is the rapid adoption rate.In just a couple of years it has totally wiped out the ways of Java development on the platform, and that without any formal education offerings. Udacity to address that need for formality and certification now releases the  Android Kotlin Developer Nanodegree . full article on i-programmer

Kotlin Versus Java - A Developer's Rosetta Stone

For programmer's wanting to get to know Kotlin, here is a side-by-side comparison of Java and Kotlin covering features, variables, functions, classes, collections and more.  As to why you would want to get acquainted with Kotlin, there are several reasons. First unlike Java, it's modern and as such does not carry the burden of the past in trying to stay compatible with it at any cost. However, Java is still going strong as we've seen in  "How is Java Doing?-State of Java in 2019"  despite being heralded as the 'old horse' of the programming language collective: Java has always been the favorite - enterprises talked and still talk Java. Look no further than the Fortune 500 list of companies reliance on it. Yes, Blue Chips love it. But for young startups, those fresh to the art of programming or on the other side, those experienced but looking for better alternatives or feeling adventurous, Java is unfortunately not recommended. full article on i-...

Refactoring to Kotlin Codelab

Learn how to convert Java to Kotlin by following Kotlin's idioms with Google Developers Codelabs. Refactoring to Kotlin, which is available in English, Brazilian and Chinese, provides a guided, hands-on coding experience in a running time of just less than an hour. While the latest IDE's do a good job in automatically converting Java code into Kotlin, this doesn't preclude that you also understood the mapping from the one code base to the other.Further you are naturally predisposed to continue writing Kotlin under Java's mentality, following Java's practices and idioms. The  Refactoring to Kotlin Codelab  aims to change that. full article on i-programmer

Udacity's Developing Android Apps with Kotlin

Kotlin is everywhere, well at least for Android. This new Udacity course shows how developing for the platform has radically changed. Java people, things don't look that good. Since our epic journey through the  Android Developer Nanodegree , things have changed a lot, dramatically a lot.Caveat, to be able to follow along this course you have to first know Kotlin, if not then it's best to start with a course purely on Kotlin such as the  Udacity Kotlin BootCamp for Programmers , which is free. Alternatively get a copy of  The Programmer's Guide To Kotlin ,  part of the I Programmer Library   and   newly available as a print replica Kindle Edition. Saying that, it's not just the introduction of Kotlin that has changed the face of development but the whole revamping of the platform, the libraries and the way of building apps. Admittedly, developing for the platform has never been an easy task to undertake. Memory leaks, notorious Fragment handl...

Udacity Kotlin BootCamp for Programmers

Undoubtedly there is a lot of hype surrounding the new kid on the block, Kotlin. Even so, it is currently welcoming ever increasing waves of Java migrants to the extent that starting out with Java for the Android platform is about to become outdated. But why Kotlin? Kotlin is an expressive programming language with lambdas, coroutines, properties, object and functional constructs and advanced features all built in. It is statically typed, just like Java, and seamlessly interoperates with any given Java library in order to leverage the vast functionality found in Java's ecosystem. full article on i-programmer.info