Navigation

    KorGE

    • Register
    • Login
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Adam Brown
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Adam Brown

    @Adam Brown

    0
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Adam Brown Follow

    Best posts made by Adam Brown

    This user hasn't posted anything yet.

    Latest posts made by Adam Brown

    • Cross platform coroutines?

      Is there anything we can do for cross-platform parallel processing?

      I've got some large arrays I want to process in parallel, and doing so with coroutines works for the JVM, but both JS and Native don't work.

      So what options do I have to make this work everywhere?

      Currently I'm doing something similar to:

      launch(Dispatchers.Default) {
          for(split up the input) {
              coroutineScope {
                  launch(Dispatchers.Default) {
                         // Do some processing
                  }
              }
          }
      }
      
      posted in General
      Adam Brown
      Adam Brown