I am building a translator in a language with a garbage collector. Do I need a garbage collector for a translator?

This is a naive question, but the textbooks I have seen so far are not clearly written.

If I build an interpreter at the top level of a high-level language (not C, C ++, etc.), and it has a garbage collector ... do I also need to make it for the interpreter itself?

And if the answers are yes ... should it be the same host? (i.e. if the host has a label, the interpreter too?), or can you use the host and let it manage all this?

Choosing a host makes a difference? I plan to use F # /. NET, but the same for Java and others?

+1
source share
2 answers

, - , , , .

, , . : , , , , , . . " : Lisp - C/++/Java", , .

+3

, . , . , .

. Java, GC.

, -.

+1

Source: https://habr.com/ru/post/1676400/


All Articles