top | item 25442665

(no title)

strmpnk | 5 years ago

I looks like it’s written in Rust which isn’t super special but would be far easier to embed as a library in other languages compared to Go in OPA’s case. Polar also seems like a nicer policy language (strong Prolog vibes) though this is subjective as I’ve not done a deep comparison yet.

discuss

order

samjs|5 years ago

Yep, you're right on this one! We went with Rust because we wanted to make it embeddable in other languages.

And on the policy language. Polar is indeed a prolog variant. You can see pretty early we took the decision to diverge from a more familiar prolog syntax [1] because we wanted to make it a little more accessible.

1: https://docs.osohq.com/changelogs/0.2.0.html