Comments (6)
The decision is that we introduce a separate AR
variant and leave BOTH
working as it is now.
from kotlinx-atomicfu.
(On hold for now, until we figure out how to reproduce original problem)
from kotlinx-atomicfu.
Any updates for the two-years-old issue?
from kotlinx-atomicfu.
It's unlikely we are going to implement regular atomics transformation. The number of "bugged" devices in use is reducing each year and without them, such change has no benefits, only maintenance burden.
Additionally, we have to investigate the current state of Android multi-release JAR support
from kotlinx-atomicfu.
The Android toolchain currently ignores MR jar classes as of sometime in the AGP 3.x series (~2-3 years ago).
from kotlinx-atomicfu.
MR jars allow use to use BOTH
strategy by default:
FU
variant by for Androind and JDK <= 8VH
variant for JDK >= 9
However, I don't immeditely see how it helps with AR
(Updater-less) transformation variant. Let's brainstorm. Is it somehow possible via ProGuard/R8 to ask for a class file replacement under specific circumstances (e.g for a specific range of min API versions). If that were possible, then we could implement AR
variant, package these classes into some "normally hidden" place and ask Android toolchain to use them instead of FU
variants when building DEX.
from kotlinx-atomicfu.
Related Issues (20)
- atomicfu-gradle-plugin does not configure dependencies, when it applied in a non-root build sript. HOT 2
- Add boxed atomics HOT 6
- Get and apply atomicfu compiler plugin of Kotlin compiler version (not the KGP version)
- Improve README to clarify components of atomicfu HOT 1
- Native SynchronizedObject implementation allocates too much HOT 2
- AtomicInt minusAssign not found HOT 2
- Deprecate minusAssign/plusAssign operators from public API HOT 3
- Pass Kotlin version as a parameter to the projects from integration-testing
- Refactoring build scripts HOT 1
- KotlinFrontEndException: Exception while analyzing expression
- Remove JS Legacy transformer
- Enable JVM and Native IR transformations by default
- Wrong return types for lowered extension functions
- Incorrect initialization order of delegated properties
- Compilation hangs on a long string concatenation
- K/N compiler plugin generates IrGetField from another file
- Turn off by default / remove JS IR transformations HOT 1
- SynchronizedObject for kotlin/native HOT 2
- Migrate to newer kotlin-metadata-jvm
- Minor cleanup after updating Kotlin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinx-atomicfu.