Curious: How does Prolog "Byte code" compare to .NET IL (and some thoughts about enterprise ready systems)

Hi,

I happened to look at some C# code today disassembled into .NET IL “byte code” – which reminded me that SWI-Prolog also has its byte code and (WAM) VM.

I am curious – how do these compare in practice in terms of performance. Question is also applicable to Java byte code and VM. I guess all these are highly optimized but, then again, they are VMs.

The reason i was asked is whether my code could be made enterprise ready – with a hint that a rewrite with Java EE would be appropriate …

In terms of enterprise architecture – perhaps its sufficient to work with parallel engines each running in an own thread – although some writes to a shared Prolog store would be needed.

any thoughts are much appreciated,

Dan

1 Like