Re:Notes on Idris (2017)
by gameswithgo on Thursday June 07, 2018 @02:51PM
(#17258942)
>The only issue is that the language server seems to have a memory leak or something that leads to it taking a huge amount of memory and getting sluggish over the course of an extended development session.
that is not good advertising!
Re:Notes on Idris (2017)
by fiddlerwoaroof on Thursday June 07, 2018 @02:53PM
(#17258961)
I'm sort of hoping someone here will tell me that I'm doing it wrong. Because, this has always been the showstopper for me.
Re:Notes on Idris (2017)
by iainmerrick on Thursday June 07, 2018 @03:33PM
(#17259411)
The language sounds very interesting otherwise, so I’d like to hear of any fixes or workarounds too.
There are various reasons why Idris is slow, but it generally comes down to it being because the current system is the result of lots of experimentation about how to even implement a dependently typed language in the first place, and what it should look like. It needs quite a bit of re-engineering - I prioritised ease of playing with features over efficiency.
The good news is that I'm working on a new version, taking into account the many things I know now that I didn't when starting on version 1. Don't hold your breath though, it might take a while...
In the end, it's a research project, and our job isn't so much to make a good product as to get people excited about the ideas. Mostly we do this by trying to be obviously having lots of fun. But I'd still like a better implementation, because then we can have even more fun.
Re:Notes on Idris (2017)
by moistoreos on Thursday June 07, 2018 @07:03PM
(#17261147)
Does Haskell do this?
Re:Notes on Idris (2017)
by fiddlerwoaroof on Thursday June 07, 2018 @10:06PM
(#17262001)
Do what? The memory leaks? No, GHC is an extremely solid system. There are various editor integrations for Haskell that make it easy to bounce between coding and experimenting in the REPL, though.
Re:Notes on Idris (2017)
by moistoreos on Wednesday June 13, 2018 @06:05PM
(#17307394)
yes, memory leaks. thanks for answering my question my dude.
The only issue is that the language server seems to have a memory leak or something that leads to it taking a huge amount of memory and getting sluggish over the course of an extended development session.