News for hackers. Stuff that matters.
Re:The Next Five Years of ClojureScript by nikki93 on Saturday December 17, 2016 @03:38PM (#13202411)
You could try running ClojureScript over React Native. Nice thing about that is you use React paradigms for UI which IMO makes ClojureScript really shine, and you can use Figwheel etc. and it can be cross-platform.
Re:The Next Five Years of ClojureScript by qwertyuiop924 on Saturday December 17, 2016 @04:18PM (#13202688)
...Still not compiled to native. Which is what my question was about.
Re:The Next Five Years of ClojureScript by jgalt212 on Saturday December 17, 2016 @04:37PM (#13202795)
Clojure was designed from the beginning to be a hosted language. It's its greatest strength (great Java and JS interop) and weakness (no native binaries).
Re:The Next Five Years of ClojureScript by qwertyuiop924 on Saturday December 17, 2016 @05:23PM (#13203031)
Why can't we compile it to native? Lisp wasn't even designed to be run by computers, but that didn't stop Steve Russel.
Re:The Next Five Years of ClojureScript by jgalt212 on Saturday December 17, 2016 @05:36PM (#13203111)
well, it's not just interop, but many core language functions are currently handed off to Java or JS. e.g. string operations and regex engine immediately come to mind.
Re:The Next Five Years of ClojureScript by qwertyuiop924 on Saturday December 17, 2016 @05:51PM (#13203192)
...So hand them off to C.
Re:The Next Five Years of ClojureScript by grzm on Saturday December 17, 2016 @06:01PM (#13203239)
There have been some that target C. I haven't looked into them other than searching for them.

- https://github.com/takeoutweight/clojure-scheme

- https://news.ycombinator.com/item?id=4217898