Skip to content

Use common atomics on non-JVM platforms#3879

Merged
serras merged 1 commit intomainfrom
serras/new-atomics
Apr 28, 2026
Merged

Use common atomics on non-JVM platforms#3879
serras merged 1 commit intomainfrom
serras/new-atomics

Conversation

@serras
Copy link
Copy Markdown
Member

@serras serras commented Mar 3, 2026

Since we officially support from Kotlin 2.1 on, I think we should make ourselves a favor and use the common atomics. The reason why it's not done for all platforms is due to binary compatibility: in JVM (and Android) arrow-atomic simply wraps the JVM primitives, so changing that would be breaking.

@nomisRev @kyay10 what do you think?

@serras
Copy link
Copy Markdown
Member Author

serras commented Mar 18, 2026

Note: I'm postponing this until 2.4, since at that point only standard library from 2.1 on is supported, and there common atomics appeared.

@serras serras merged commit 12994b7 into main Apr 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant