Re:Ask HN: What's Prolog Like in 2024?
by triska on Thursday July 18, 2024 @11:55AM
(#40996907)
A key performance attraction of Scryer Prolog is its space efficiency for representing lists of characters, yielding a 24 times (!) more compact representation than a naive implementation would.
With Scryer Prolog and other recent systems that implement this representation, such as Trealla Prolog, you can easily process many GBs of text with DCGs, arguably realizing the full potential of the originally intended use case of Prolog for the first time.
The linked benchmarks do not test this aspect at all.
And yes, the strong ISO conformance of Scryer Prolog is also a major attraction especially when using it in highly regulated areas. For example, here is a recently envisaged application of Scryer Prolog in the context of machine protection systems (MPS) of giant particle accelerators, where adherence to industry standards is of great importance for warranty reasons among others:
With Scryer Prolog and other recent systems that implement this representation, such as Trealla Prolog, you can easily process many GBs of text with DCGs, arguably realizing the full potential of the originally intended use case of Prolog for the first time.
The linked benchmarks do not test this aspect at all.
And yes, the strong ISO conformance of Scryer Prolog is also a major attraction especially when using it in highly regulated areas. For example, here is a recently envisaged application of Scryer Prolog in the context of machine protection systems (MPS) of giant particle accelerators, where adherence to industry standards is of great importance for warranty reasons among others:
https://github.com/mthom/scryer-prolog/discussions/2441
As another example, a medical application of Scryer Prolog, from the highly regulated domain of oncology trial design:
https://github.com/mthom/scryer-prolog/discussions/2332