spierce7
07/20/2018, 1:28 AMgildor
07/20/2018, 5:21 AMkonan.worker.Atomic*
Maybe @elizarov could provide some information about this.elizarov
07/20/2018, 7:10 AMAtomicFu
was designed to support cross-platform atomics. It the current incarnation its native version (to be released soon) is single-threaded only (a la JS), but will be reimplemented in multi-threaded fashion over K/N atomic primitives to support cross-platform multi-threaded code.elizarov
07/20/2018, 7:11 AMAtomicFu
might got folded into the common standard library and compiler, providing cross-platform atomics out-of-the box. There are many many language design problems standing between now and that future.spierce7
07/20/2018, 8:58 PMelizarov
07/20/2018, 9:19 PMelizarov
07/20/2018, 9:20 PMAtomicInteger
-like API (but with a Kotlin twist of inline functions) with a performance of AtomicFieldUpdater
(which is very cumbersome to use manually). It also transparently supports Java 9 varhandles (which are even more performant).spierce7
07/20/2018, 10:11 PMAtomicFieldUpdater
. I'll read into it. I'm assuming that the bytecode transformation is efficient and far less impactful on compile times than Java Annotation Processors? Has the compile time impact been measured? I'm curious.elizarov
07/20/2018, 10:17 PM