It's a very fun time
Flix – A powerful effect-oriented programming language
11–20 of 197 posts
Re: Flix – A powerful effect-oriented programming language
#12>> Flix is a principled effect-oriented functional, imperative, and logic programming language... >> Why Effects? Effect systems represent the next major evolution in statically typed programming languages. By explicitly modeling side effects, effect-oriented programming enforces modularity and helps program reasoning. Since when do side effects and functional programming go together?
FP isn't really about eliminating side effects. Controlled effects are fine. That's what an effect system does. Avoiding side effects is really just a side effect (pun intended) of older programming language technology that didn't provide any other way to control effects.
The research has sprung out of lambda calculus where a computation is defined in terms of functions (remember: Functional programming).
Side effects can only be realized by exposing them in the runtime / std-lib etc. How one does that is a value judgement, but if a term is not idempotent, then you arguably does not have a functional programming language anymore.
Re: Flix – A powerful effect-oriented programming language
#13Earlier quoted context omitted.
FP isn't really about eliminating side effects. Controlled effects are fine. That's what an effect system does. Avoiding side effects is really just a side effect (pun intended) of older programming language technology that didn't provide any other way to control effects.
Arguably FP really is about eliminating side effects. The research has sprung out of lambda calculus where a computation is defined in terms of functions (remember: Functional programming). Side effects can only be realized by exposing them in the runtime / std-lib etc. How one does that is a value judgement, but if a term is not idempotent, then you arguably does not have a functional programming language anymore.
Re: Flix – A powerful effect-oriented programming language
#14[0] https://www.cs.ioc.ee/tfp-icfp-gpce05/tfp-proc/21num.pdf
Re: Flix – A powerful effect-oriented programming language
#15>> Flix is a principled effect-oriented functional, imperative, and logic programming language... >> Why Effects? Effect systems represent the next major evolution in statically typed programming languages. By explicitly modeling side effects, effect-oriented programming enforces modularity and helps program reasoning. Since when do side effects and functional programming go together?
Re: Flix – A powerful effect-oriented programming language
#16Re: Flix – A powerful effect-oriented programming language
#17JVM is a no-starter. The language looks nice tho, shame they built it on JVM.
The JVM is a state-of-the-art virtual machine with multiple open source implementations, a large ecosystem, and a fast JIT compiler that runs on most platforms. It is hard to find another VM with the same feature set and robust tooling.
Re: Flix – A powerful effect-oriented programming language
#18If you are in the JS ecosystem, you should check out Effect TS ( https://effect.website ) It's a very fun time
Re: Flix – A powerful effect-oriented programming language
#19Re: Flix – A powerful effect-oriented programming language
#20If you are in the JS ecosystem, you should check out Effect TS ( https://effect.website ) It's a very fun time