Leverage Effect Infrastructure

171 views
Skip to first unread message

Suminda Dharmasena

unread,
May 11, 2016, 4:15:55 AM5/11/16
to dotty-internals
Some thoughts:
  • GC Less computation for Scala Native when doing whole program optimisation
  • Safe and leakless resource access
  • Aggressive Optimisation - What ultimately matters is the minimum steps (or resource usage in terms of CPU and memory) to convert any input to output. If any code can be fully or partly evaluated or reduced at compile time it is worthwhile to do so.

Suminda Dharmasena

unread,
May 11, 2016, 4:18:40 AM5/11/16
to dotty-internals
Perhaps Substructural type system maybe of interest to make this work. 

Suminda Dharmasena

unread,
May 13, 2016, 12:31:30 PM5/13/16
to dotty-internals
In a language targeted to the JVM certain effects do not make much sense but with a view to leverage from them in back ends perhaps please be flexible in tracking effects like memory use, cycle use. When you track and infer these obscure effects there would be and issue of which are strong effects and which are weak. -> and => can distinction can be from the strength of the effect. Weak effects will not hinder purity. Nim and F* are interesting on their usage of effects which might also merit some study.

Suminda Dharmasena

unread,
Jul 28, 2016, 11:43:18 PM7/28/16
to dotty-internals
http://www.eff-lang.org/ might be of interest when implienting effects. Also http://andromedans.github.io/andromeda/, http://erights.org/ by common authors / contributors.

Suminda Dharmasena

unread,
Jul 29, 2016, 1:54:48 AM7/29/16
to Nada Amin, dotty-internals
Glad this it helpful in improving effects in Dotty.

On 29 July 2016 at 09:50, Nada Amin <na...@alum.mit.edu> wrote:
Thanks for the reminders.

On Fri, Jul 29, 2016 at 5:43 AM, Suminda Dharmasena <sirina...@gmail.com> wrote:
http://www.eff-lang.org/ might be of interest when implienting effects. Also http://andromedans.github.io/andromeda/, http://erights.org/ by common authors / contributors.

--
You received this message because you are subscribed to the Google Groups "dotty-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotty-interna...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages