3 ms·
Haskell is one of the few languages that can compile slower than rust. But they have a REPL GHCI that can be used to fairly quickly reload code changes. I wish
by gregwebs 4y ago
Haskell is one of the few languages that can compile slower than rust. But they have a REPL GHCI that can be used to fairly quickly reload code changes.
I wish there were some efforts at dramatically different approaches like this because there’s all this work going into compilation but it’s unlikely to make the development cycle twice as fast in most cases.
- nkit 4y agoI've started liking evcxr (https://github.com/google/evcxr https://github.com/google/evcxr) for REPL. It's a little slow compared to other REPLs, but still good enough to be usable after initial load.
- sitkack 4y agoI agree, evcxr really needs to be advertised more. It might need a new name, I don't even know how to say it.
- antipurist 4y ago> eee-vic-ser https://github.com/google/evcxr/issues/215 https://github.com/google/evcxr/issues/215
- laszlokorte 4y agoPhonetically for a german that sounds like "eww, disgusting wanker"
- sesm 4y agoAre there any articles/papers that explain how a mix of compiled and interpreted code works for Haskell? I wanted to play with this idea for my toy language, but don't know where to start.
- gregwebs 4y agoThis might give you some idea, but you basically just want to reload your top level module and ghci will automatically reload any dependent modules. https://chrisdone.com/posts/ghci-reload/ https://chrisdone.com/posts/ghci-reload/ It’s not really a mix, you do one or the other although certainly ghci for local dev and compilation for prod.