Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Memory management for Prolog with tabling

View through CrossRef
Tabling can be implemented in a (WAM-based) Prolog system by means of SLG-WAM: consumers suspend and their state is preserved by freezing the execution stacks. XSB is a system that currently implements tabling based on the SLG-WAM. The memory model is quite complex and attempts to understand the notion of usefulness of data in XSB well enough to build a precise garbage collector have failed in the past. CAT is a recent alternative to SLG-WAM: it suspends consumers by copying parts of the execution stacks. The memory model is simpler and the design of a more precise garbage collector became feasible. CAT also provided the necessary insights in the usefulness of data in the context of the SLG-WAM. This paper describes the memory management of tabled logic programming systems, whether based on the SLG-WAM or on CAT. Since CAT can perform arbitrarily worse than SLG-WAM space-wise, a minor garbage collection on creation of the CAT areas is proposed as a remedy; its effectiveness is discussed.
Association for Computing Machinery (ACM)
Title: Memory management for Prolog with tabling
Description:
Tabling can be implemented in a (WAM-based) Prolog system by means of SLG-WAM: consumers suspend and their state is preserved by freezing the execution stacks.
XSB is a system that currently implements tabling based on the SLG-WAM.
The memory model is quite complex and attempts to understand the notion of usefulness of data in XSB well enough to build a precise garbage collector have failed in the past.
CAT is a recent alternative to SLG-WAM: it suspends consumers by copying parts of the execution stacks.
The memory model is simpler and the design of a more precise garbage collector became feasible.
CAT also provided the necessary insights in the usefulness of data in the context of the SLG-WAM.
This paper describes the memory management of tabled logic programming systems, whether based on the SLG-WAM or on CAT.
Since CAT can perform arbitrarily worse than SLG-WAM space-wise, a minor garbage collection on creation of the CAT areas is proposed as a remedy; its effectiveness is discussed.

Related Results

PROLOG
PROLOG
Prolog is a logic based programming language, and was developed in the early 1970s and is a practical programming language particularly useful for knowledge representation and arti...
LIFE SKILL-BASED LEARNING MANAGEMENT AT STATE VOCATIONAL HIGH SCHOOL (SMKN) 3 SAMARINDA
LIFE SKILL-BASED LEARNING MANAGEMENT AT STATE VOCATIONAL HIGH SCHOOL (SMKN) 3 SAMARINDA
This research is based on the following problems: (1) How can life skills-based learning management improve the quality of graduates of SMKN 3 Samarinda? (2) What is the role of mo...
Shared Histories in Multiethnic Societies: Literature as a Critical Corrective of Cultural Memory Studies
Shared Histories in Multiethnic Societies: Literature as a Critical Corrective of Cultural Memory Studies
AbstractThe staging of history in literature is engaged in dynamic exchange with society’s memory discourses and in this context, literature is generally seen as playing a creative...
Theta-Gamma Phase-Amplitude Coupling Supports Working Memory Performance in the Human Hippocampus
Theta-Gamma Phase-Amplitude Coupling Supports Working Memory Performance in the Human Hippocampus
AbstractPhase-amplitude coupling (PAC) occurs in the human hippocampus during working memory and supports the contribution of the hippocampus in the maintenance of multiple items. ...
MPA - Máquina Prolog Associativa
MPA - Máquina Prolog Associativa
As arquiteturas convencionais de computadores, baseadas no modelo de von Neumann, não se mostram adequadas para o desenvolvimento de um ambiente eficiente para a linguagem Prolog, ...
IMMUNOLOGICAL MEMORY: THE ROLE OF REGULATORY CELLS (TREGS)
IMMUNOLOGICAL MEMORY: THE ROLE OF REGULATORY CELLS (TREGS)
Memory T cells are necessary for development of the immune response and represent one of the most numerous population of human T lymphocytes. On the contrary, suppressive regulator...
Behavioral signatures of the rapid recruitment of long-term memory to overcome working memory capacity limits
Behavioral signatures of the rapid recruitment of long-term memory to overcome working memory capacity limits
Working- and long-term memory are often studied in isolation. To better understand the specific limitations of working memory, effort is made to reduce the potential influence of l...
Identifying Links Between Latent Memory and Speech Recognition Factors
Identifying Links Between Latent Memory and Speech Recognition Factors
Objectives: The link between memory ability and speech recognition accuracy is often examined by correlating summary measures of performance across various tasks, but i...

Back to Top