More value classes for optimization's sake!
A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose.
fx: Compose uses this technique quite a bit, see: IntSize (two Int's packed in Long), TextUnit (unit type and Float value packed in Long), and Constraints (four values packed in Long, with varying ranges for diff dimensions' precisions). Also Duration from stdlib. (src)
> https://www.romainguy.dev/posts/2024/readability-of-optimized-kotlin-code
A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose.
fx: Compose uses this technique quite a bit, see: IntSize (two Int's packed in Long), TextUnit (unit type and Float value packed in Long), and Constraints (four values packed in Long, with varying ranges for diff dimensions' precisions). Also Duration from stdlib. (src)
> https://www.romainguy.dev/posts/2024/readability-of-optimized-kotlin-code
www.romainguy.dev
Readability of Optimized Kotlin Code
Leland and I were recently discussing how to best implement a new data structure to speed up a specific aspect of Jetpack Compose. He came up with a great idea, and nerd sniped me in the process. The problem was to efficiently encode the occupancy of an 8x8…
More fresh IDEA base for Android Studio next updates ☺️
https://android-developers.googleblog.com/2024/05/more-frequent-focused-updates-for-android-studio.html
https://android-developers.googleblog.com/2024/05/more-frequent-focused-updates-for-android-studio.html
Please open Telegram to view this post
VIEW IN TELEGRAM
Android Developers Blog
More frequent, focused updates for Android Studio
We're ensuring that important updates to the IntelliJ IDEA platform reach the Android Studio Stable channel more frequently for increased quality.
finally, docs for prototyping enjoyers
https://developer.android.com/quick-guides
https://developer.android.com/quick-guides
Android Developers
Jetpack Compose | Android Developers
ah yes, io.google
the KMP is now officially approved and supported by Google, so you can easily push with it for the new and migration of the old projects!
and a bunch of ai shit...
the rest can be found on this page
the KMP is now officially approved and supported by Google, so you can easily push with it for the new and migration of the old projects!
the rest can be found on this page
Android Developers Blog
Android Support for Kotlin Multiplatform (KMP) to Share Business Logic Across Mobile, Web, Server, and Desktop
We are supporting Kotlin Multiplatform (KMP) on Android, enabling sharing code across platforms to increase productivity and quality for Android apps.
senk0n lab
More value classes for optimization's sake! A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose. fx: Compose uses this technique…
aaand a talk on optimizations topic from the same guy
https://youtu.be/5cxw_fdpnoA
his relevant posts: https://romainguy.dev/tags/performance/
https://youtu.be/5cxw_fdpnoA
his relevant posts: https://romainguy.dev/tags/performance/
YouTube
Practical Optimizations
In this session we will look at a series of optimizations that were done in Jetpack Compose to learn about how different types of optimizations can affect performance, including code flow/algorithms, new data structures, low-level bytecode optimizations,…
Google is trying to transfer some potential Flutter devs into Kotlin Multiplatform devs 🧃 🤔 😎
https://developers.googleblog.com/en/making-development-across-platforms-easier-for-developers/
https://developers.googleblog.com/en/making-development-across-platforms-easier-for-developers/
Please open Telegram to view this post
VIEW IN TELEGRAM
Googleblog
Google for Developers Blog - News about Web, Mobile, AI and Cloud
Do what works best for your business; whether you’re sharing both UI and business logic across multiple platforms with Flutter or development with Kotlin Multiplatform.
senk0n lab
Holly molly Kotlin 2.0.0-RC2 just dropped 👍 The Compose compiler is moving to the Kotlin lang repository! In combination with Compose Multiplatform 1.6.10-beta03 to support new Compose compiler [android, jb cmp guide, disc, reasoning]
Kotlin 2.0.0 just dropped 👍
and Compose Multiplatform 1.6.10 this morning
Compose Compiler now has its own section in the Kotlin changelog❤️
and Compose Multiplatform 1.6.10 this morning
Compose Compiler now has its own section in the Kotlin changelog
Please open Telegram to view this post
VIEW IN TELEGRAM
whoa, Compose Web in Kotlin Playground
https://vxtwitter.com/MohamadRejeb/status/1798290562958651401
test: https://pl.kotl.in/4cyGYQ_jG
https://vxtwitter.com/MohamadRejeb/status/1798290562958651401
test: https://pl.kotl.in/4cyGYQ_jG
vxTwitter / fixvx
Mohamed Rejeb (@MohamadRejeb)
Good news for Compose folks! A prototype solution for running Compose Web on Kotlin Playground is available via this link: https://pl.kotl.in/4cyGYQ_jG
It is taking forever to compile 🐌 but it's a good step…
💖 133 🔁 24
It is taking forever to compile 🐌 but it's a good step…
💖 133 🔁 24
https://matt.sh/panic-at-the-job-market
job market analysis?
companies finances?
tech degradation?
all included
job market analysis?
companies finances?
tech degradation?
all included
senk0n lab
Cool stuff to read (+talks) > compose usage/internals basics https://medium.com/@intelligibabble > about compose snapshot system https://blog.zachklipp.com/tag/compose-state-series/ (dev.to old mirror) + chapter 5 of compose internals
recently this guy was giving a talk about one of his series' topics:
specifics of how derivedStateOf work
https://blog.zachklipp.com/talk-deriving-derived-state-derivedstateof-explained/
in text here: https://blog.zachklipp.com/how-derivedstateof-works-a-deep-d-er-ive/
specifics of how derivedStateOf work
https://blog.zachklipp.com/talk-deriving-derived-state-derivedstateof-explained/
in text here: https://blog.zachklipp.com/how-derivedstateof-works-a-deep-d-er-ive/
Zach Klippenstein’s Blog
Talk: Deriving derived state: derivedStateOf explained
As a follow-up to my last snapshots talk, Opening the Shutter on Snapshots, I did a deep-dive into how Compose's derivedStateOf works.
Forwarded from Алиса копается
#dev
https://purplesyringa.moe/blog/i-sped-up-serde-json-strings-by-20-percent/
Последний месяц я занималась оптимизацией serde_json. Подумала, что почитать про мой опыт может быть интересно: одно дело код, другое — мыслительные процессы, backstory и прикольные трюки и подвохи, которые просто так кодом не опишешь. Я часто нахожу интересное на lemire.me; решила попробовать написать что-то в том же стиле.
https://purplesyringa.moe/blog/i-sped-up-serde-json-strings-by-20-percent/
Последний месяц я занималась оптимизацией serde_json. Подумала, что почитать про мой опыт может быть интересно: одно дело код, другое — мыслительные процессы, backstory и прикольные трюки и подвохи, которые просто так кодом не опишешь. Я часто нахожу интересное на lemire.me; решила попробовать написать что-то в том же стиле.
purplesyringa's blog
I sped up serde_json strings by 20%
I have recently done some performance work and realized that reading about my experience could be entertaining. Teaching to think is just as important as teaching to code, but this is seldom done; I think something I’ve done last month is a great opportunity…
senk0n lab
Dagger KSP official progress updates anyhow, just use kotlin-inject.. upd: update itself
Please open Telegram to view this post
VIEW IN TELEGRAM
apparently it wasn't suppose to be found yet...
waiting for an official announcement on Monday!
waiting for an official announcement on Monday!
it was also spotted on japanese twitter by a guy from droidkaigi.jp today
and so I decided to check what kind of stuff he has on his en account... to my surprise I found that he is posing there a lot about development progress of an app for their (DroidKaigi) conference, and oh my it's great!(even better than kotlinconf one)
https://github.com/DroidKaigi/conference-app-2024
(they even have separate KMP app for each year starting from 2019😮 )
and so I decided to check what kind of stuff he has on his en account... to my surprise I found that he is posing there a lot about development progress of an app for their (DroidKaigi) conference, and oh my it's great!
https://github.com/DroidKaigi/conference-app-2024
(they even have separate KMP app for each year starting from 2019
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - DroidKaigi/conference-app-2024: The Official Conference App for DroidKaigi 2024
The Official Conference App for DroidKaigi 2024. Contribute to DroidKaigi/conference-app-2024 development by creating an account on GitHub.
senk0n lab
sooo, there is another Anvil-like extension for kotlin-inject that was published almost the same date 🤝 🤝
https://github.com/r0adkll/kimchi
https://github.com/r0adkll/kimchi
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - r0adkll/kimchi: A KSP compiler for contributing and merging kotlin-inject bindings, modules, and components in a multi…
A KSP compiler for contributing and merging kotlin-inject bindings, modules, and components in a multi-module environment - r0adkll/kimchi
senk0n lab
it was also spotted on japanese twitter by a guy from droidkaigi.jp today and so I decided to check what kind of stuff he has on his en account... to my surprise I found that he is posing there a lot about development progress of an app for their (DroidKaigi)…
It just finished and they uploaded a whole bunch of talks, some are in english too!
https://youtube.com/@droidkaigi
https://youtube.com/@droidkaigi
YouTube
DroidKaigi
DroidKaigi is a conference tailored for Android developers.
Kotlin documentary movie ig
https://youtu.be/E8CtE7qTb-Q
https://youtu.be/E8CtE7qTb-Q
YouTube
Beyond The Success Of Kotlin / The Documentary by EngX
Almost 15 years ago, a small engineering team at JetBrains embarked on what seemed like a crazy endeavor — to create their own programming language and succeed with it. In the early 2010s, Java was one of the most popular languages, used by millions of engineers.…