Code Monkey home page Code Monkey logo

Comments (6)

olme04 avatar olme04 commented on June 12, 2024

It should work now with https://github.com/JetBrains/kotlin/blob/master/kotlin-native/NEW_MM.md#unexpected-object-freezing (for atomicfu atomics). All other places should be covered by coroutines and ktor.
BTW, seems like only ktor 2.0.0 will support new MM explicitly.
After coroutines 1.6 will be released, I will check, what more we can do in rsocket-kotlin about new MM, at least setup tests for it.

from rsocket-kotlin.

webfrea-k avatar webfrea-k commented on June 12, 2024

Ok great. I understood that the support is already there from this comment and the same goes for coroutines.

Are there any snapshot builds available (0.14.0)? :)

from rsocket-kotlin.

olme04 avatar olme04 commented on June 12, 2024

Ok great. I understood that the support is already there from this comment.

The same with rsocket-kotlin. On current moment, both stable versions of ktor and rsocket-kotlin supports new MM with flag to disable freezing.
With version 2.0.0 ktor, will support new MM even without this flag (as I see from this branch).

Are there any snapshot builds available (0.14.0)? :)

no :(, because our snapshot artifactory is shutdown. Soon there will be 0.14.0 release and support for snapshots via github packages

from rsocket-kotlin.

olme04 avatar olme04 commented on June 12, 2024

Update: looks like from ktor 2.0 (looking at Drop old native memory model) ktor will support only new MM. So after ktor 2.0 release, we will also need to adapt rsocket-kotlin to new MM by default.

from rsocket-kotlin.

olme04 avatar olme04 commented on June 12, 2024

Ktor 2.0 released, and rsocket-kotlin is already migrated to it, and using new memory manager by default.
Stable release of rsocket-kotlin with support for new memory manager will be ready soon

from rsocket-kotlin.

whyoleg avatar whyoleg commented on June 12, 2024

Supported from 0.15.4

from rsocket-kotlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.