scalaz / ioeffect

An effect monad for Scalaz 7.2
Other
55 stars 9 forks source link

Request: Scala Native support #40

Closed danielyli closed 6 years ago

danielyli commented 6 years ago

I’m building an app using Scala Native, and pure FP IO is something I’d like to use. It would be great for scalaz-ioeffect to support Scala Native 0.3 like scalaz-core, scalaz-effect, scalaz-iteratee, etc. How difficult is this from a technical perspective?

edmundnoble commented 6 years ago

This would mean implementing an RTS from scratch. The difficulty will depend on your knowledge of Scala, unsafe backends for pure FP Scala, the Scala-JVM RTS we have in particular, the Java Memory Model, the scala-native memory model, and the scala-native compiler. If you know all this stuff well already, you just need to write out a thousand or so lines of code and come up with extensive tests, and add scala-native to the build matrix. So probably at least a week of work.

fommil commented 6 years ago

maybe in zio