Live data from Hacker News

Anic -- Faster than C, Safer than Java, Simpler than *sh

code.google.com

1–10 of 96 posts

Anic -- Faster than C, Safer than Java, Simpler than *sh

#1
ANI is a dataflow programming language, with strong typing, implicit parallelism, oop and the beggining of an implementation.

"Q: How does ANI resolve the fundamental issue of deadlock in parallel programming? How does the Dining Philosophers example on the main page work?

A: In ANI, under the hood, pipes implicitly enforce total resource orderings for acquiring data. Somewhat surprisingly, deadlock theory guarantees that there will be no deadlock if this condition is met."

Anic -- Faster than C, Safer than Java, Simpler than *sh
code.google.com

Re: Anic -- Faster than C, Safer than Java, Simpler than *sh

#2
ANI is a dataflow programming language, with strong typing, implicit parallelism, oop and the beggining of an implementation.

"Q: How does ANI resolve the fundamental issue of deadlock in parallel programming? How does the Dining Philosophers example on the main page work?

A: In ANI, under the hood, pipes implicitly enforce total resource orderings for acquiring data. Somewhat surprisingly, deadlock theory guarantees that there will be no deadlock if this condition is met."

Re: Anic -- Faster than C, Safer than Java, Simpler than *sh

#5

Am I the only one thinking this code looks ugly and hacky. I would never code in this.

Frankly there isn't a language in existence that's "easy to read" and I'm kind of sick of seeing that claim. There's no way you can read anyone's code without knowing at least something about the language.

That said, I really like the ideas this language is offering and I'm definitely interested in giving it at try.

Re: Anic -- Faster than C, Safer than Java, Simpler than *sh

#7

Am I the only one thinking this code looks ugly and hacky. I would never code in this.

If you can get past the syntax it's a lot nicer. They remind me of unix command-line tools, but on a much finer-grained level and without all the useless parsing and un-parsing.

Re: Anic -- Faster than C, Safer than Java, Simpler than *sh

#8

Am I the only one thinking this code looks ugly and hacky. I would never code in this.

Frankly there isn't a language in existence that's "easy to read" and I'm kind of sick of seeing that claim. There's no way you can read anyone's code without knowing at least something about the language. That said, I really like the ideas this language is offering and I'm definitely interested in giving it at try.

I'd argue that Python is very easy to read for someone new to programming, particularly someone familiar with mathematical notation. Something like:

    for animal in ['dog', 'cat', 'bear']:
        print animal
strikes me as intuitive and obvious, both absolutely and also relative to the equivalents in other languages.

Re: Anic -- Faster than C, Safer than Java, Simpler than *sh

#9

Am I the only one thinking this code looks ugly and hacky. I would never code in this.

I think what you're trying to say is "it doesn't look like my favorite programming language". Never mind that it also is designed with completely different paradigms than what you are accustomed to.
Post reply on HN