Re:Better Java – Resources for Writing Modern Java
by yogthos on Saturday September 19, 2015 @07:11PM
(#10245869)
Or you could just use modern JVM languages like Clojure.
[ Parent
| on HN ]
Re:Better Java – Resources for Writing Modern Java
by EdwardDiego on Saturday September 19, 2015 @11:00PM
(#10246431)
I like Clojure, but anyway to make it start faster in a scripting context? I wrote the same script in Clojure and Kotlin, and the Kotlin one loads so much faster.
Re:Better Java – Resources for Writing Modern Java
by yogthos on Sunday September 20, 2015 @06:41PM
(#10249479)
There's Planck for OS X https://github.com/mfikes/planck
It uses JavaScriptCore and starts practically instantly. There's some work being done to port it to Linux/Windows as well.
Here's an example:
cat foo.cljs
#!/usr/local/bin/planck
(println "hello world: clojurescript -> planck -> as shell script")
./foo.cljs
hello world: clojurescript -> planck -> as shell script
Planck can be installed using homebrew now as well.
Another promising option is Pixie https://github.com/pixie-lang/pixie
Re:Better Java – Resources for Writing Modern Java
by EdwardDiego on Tuesday September 22, 2015 @07:49AM
(#10257943)
Cheers mate :)