In which programming language can manual memory management be combined (free at the right time, work with pointers and so on) and automatic, with a sufficiently advanced garbage collector by generations?
In other words, we need two separate heaps for working with memory.