3 ms·
Prolog has a great programming model, but atrocious efficiency. Programming anything beyond 8-queens quickly becomes an exponential combinatoric minefield.
by varjag 8y ago
Prolog has a great programming model, but atrocious efficiency. Programming anything beyond 8-queens quickly becomes an exponential combinatoric minefield.
- nerdponx 8y agoThis was always my concern about writing nontrivial programs in Prolog. It seems more like something I would want to embed as a DSL than something I would want to use for writing an entire program front to back.
- Jeff_Brown 8y agoMercury is like Prolog, but deterministic and strongly typed, hence faster to run and faster to write.