Extending C with Prolog (1994)

(amzi.com)

28 points | by Antibabelic 2 days ago ago

6 comments

  • krzyk an hour ago

    Is this the time of year when we try to force redditors to stay away by posting about Prolog?

    I see three stories already.

    • Davidbrcz an hour ago

      Refreshing stories between all the AI ones (and crypto/web3 before that)

      • linguae 42 minutes ago

        Ironically, once upon a time Prolog and logic programming in general were part of the cutting-edge of AI. There's quite a fascinating history of Japan's fifth-generation computing efforts in the 1980s when Japan focused on logic programming and massively parallel computing. My former manager, who is from Japan, earned his PhD in the 1990s in a topic related to constraint logic programming.

    • dgxyz 23 minutes ago

      Well at least it's not clojure or scheme.

  • vintagedave 2 days ago

    > We recently installed Gateway multi-media kits on our PCs, but found the installation less than trivial because of conflicts in our interrupt (IRQ) channels. A simple expert system could have helped to resolve those IRQ conflicts. ... The sample program is set up to allow installation of two different devices, a 'Sound Blaster' and a 'Mitsumi CD- ROM'.

    This was a real blast from the past. I wonder why more systems today don't have this kind of logic solving built in. Possibly, too many complex behaviours that are not cleanly quantified.

  • HexDecOctBin an hour ago

    I often wonder what a Prolog implemented as an Objective-C like extension to C would look like. Since WAM has proper stack and heap IIRC, it might be possible to plug that in through some region-based memory management on C side. Is there some prior art like this?