Why don't Haskell compilers facilitate deterministic memory management?

前端 未结 5 1574
栀梦
栀梦 2021-02-02 11:48

With the wealth of type information available why can\'t Haskell runtimes avoid running GC to clean up? It should be possible to figure out all usages and insert appropriate cal

5条回答
  •  离开以前
    2021-02-02 12:28

    Type information has mostly to do with compile time where as memory management is a runtime thing, so I don't think they are related to each other.

提交回复
热议问题