Slashdot Mirror


Meet Lux, A New Lisp-like Language (javaworld.com)

Drawing on Haskell, Clojure, and ML, the new Lux language first targeted the Java Virtual Machine, but will be a universal, cross-platform language. An anonymous reader quotes JavaWorld: Currently in an 0.5 beta release, Lux claims that while it implements features common to Lisp-like languages, such as macros, they're more flexible and powerful in Lux... [W]hereas Clojure is dynamically typed, as many Lisp-like languages have been, Lux is statically typed to reduce bugs and enhance performance. Lux also lets programmers create new types programmatically, which provides some of the flexibility found in dynamically typed languages. The functional language Haskell has type classes, but Lux is intended to be less constraining. Getting around any constraints can be done natively to the language, not via hacks in the type system.
There's a a 16-chapter book about the language on GitHub.

1 of 205 comments (clear)

  1. Re:sorry by ooloorie · · Score: 4, Interesting

    Wow, what a *ton* of bullshit here. Honestly you should be proud - it's not so easy to be so completely wrong.

    By all means, feel free to show any significant language that has managed to make the leap from the JVM to other platforms.

    The most interesting and successful new languages on the JVM, Scala and Clojure, have tried for years to create non-JVM backends and failed to deliver anything other than toys.