News for hackers. Stuff that matters.
Re:Show HN: Bel by alfiedotwtf on Saturday October 12, 2019 @08:02AM (#21232364)
Hey Chris :)

I totally get you with Lisps and performance, but I was more talking about the beauty and elegance of code written in them. Algorithms written in Lisps seem to be pieces of art.

And that's just Lisps... having a look at logic programming languages like Prolog and Mercury, it's amazing to see just how compact yet understandable an algorithm can be. They're beautiful!

But as for performance, take a look at Mercury - its a declarative logic programming language with built in constraint solving, which compiles down to C, and its performance is great. We've rewritten some Mercury in Rust, and yes our Rust is faster, but not by orders of magnitude as you'd think.

Re:Show HN: Bel by DickieStarshine on Saturday October 12, 2019 @09:09AM (#21232785)
How's the editor support with Mercury?
Re:Show HN: Bel by alfiedotwtf on Saturday October 12, 2019 @09:30AM (#21232959)
Not sure about other editors, but there's syntax highlighting for Vim in the repo, and mtags (ctags for Mercury).