dotty-cps-async

experimental CPS transformer for dotty (by rssh)

Dotty-cps-async Alternatives

Similar projects and alternatives to dotty-cps-async

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dotty-cps-async alternative or higher similarity.

dotty-cps-async reviews and mentions

Posts with mentions or reviews of dotty-cps-async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-29.
  • Help a Kotlin convert back into Scala world
    7 projects | reddit.com/r/scala | 29 Jan 2023
    Now in scala we have direct mode transformers: dotty-cps-async [https://github.com/rssh/dotty-cps-async] with cps-async-connect [https://github.com/rssh/cps-async-connect ] supports all well-knowm monad stacks, for ZIO also exists ZIO-direct [https://github.com/zio/zio-direct ] , for IO - cats-effect-cps [https://github.com/typelevel/cats-effect-cps ], for kyo [https://github.com/fwbrasil/kyo ] - kyo-direct.
  • dotty-cps-async 0.9.12 is out
    3 projects | reddit.com/r/scala | 8 Dec 2022
    dotty-cps-async: https://github.com/rssh/dotty-cps-async
  • The case against Effect Systems (e.g., the IO data type)
    2 projects | reddit.com/r/scala | 18 Oct 2022
    Hmm, you can write direct-style code with monad: https://github.com/rssh/dotty-cps-async allows this, exists support libraries exist for near all well-known effect systems: https://github.com/rssh/cps-async-connect, so you can use async/await with IO/ZIO the same as with Future. Although in IO style, any operation that mutates state is async, it's hard to write code where you should place `await` near each line. And it looks like automatic coloring is a too radical change of concepts for most functional programmers. The option to allow using <- in the direct style may be more popular, but this requires changes to the scala core. Another question - are we need effective systems to be present in each program in industrial-style development? Here I agree that mostly no.
  • New Scala 3 Codebases
    6 projects | reddit.com/r/scala | 17 Feb 2022
  • Dotty-cps-async 0.9.7 is released.
    4 projects | reddit.com/r/scala | 26 Jan 2022
    This is a generic async/await transformer for scala3 which allows using effectful monads in the direct style. URL: (https://github.com/rssh/dotty-cps-async )
  • Language-assisted Flattening
    2 projects | reddit.com/r/ProgrammingLanguages | 14 Jul 2021
    dotty-cps-async [rssh/dotty-cps-async ] with automatic coloring do something very similar in two steps. Automatic coloring defines implicit conversion F[A] => A as x => await(x)(m). The compiler inserts those awaits inside async blocks and then eliminates them later via cps-transform. Exists some limitations which we need to add for effect monads like IO (we don't want run effect twice and don't want to screw semantics of effects by extra memoizing). So, if your language has a possibility to implement effect monads, then you need a possibility to restrict using Flattenable.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 3 Feb 2023
    InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →

Stats

Basic dotty-cps-async repo stats
10
138
8.9
5 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com