Re:Nim Language Draws from Best of Python, Rust, Go, and Lisp
by rbehrends on Thursday February 23, 2017 @08:41AM
(#13713741)
I know that OCaml, Haskell, the JVM and Microsoft .NET do it (I think Mono does, too, but am not positive). And I know for a fact that OCaml and the JVM inline allocations and optimize multiple allocations that are close together (e.g. increasing the allocation pointer only once even if you allocate a pair of objects).
It's fairly common and needed for modern functional languages, as they can go through a lot of temporary objects when programming in a purely functional style.
Interesting. Would you mind naming a few such languages? I'm guessing Haskell. What about OCAML? Any others?