This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-29
Channels
- # arachne (3)
- # bangalore-clj (6)
- # beginners (246)
- # boot (57)
- # business (1)
- # capetown (1)
- # cider (2)
- # clara (1)
- # cljsjs (36)
- # cljsrn (1)
- # clojure (150)
- # clojure-austin (4)
- # clojure-brasil (7)
- # clojure-china (2)
- # clojure-france (3)
- # clojure-greece (3)
- # clojure-japan (3)
- # clojure-russia (38)
- # clojure-spec (25)
- # clojure-uk (25)
- # clojurescript (320)
- # clojurex (1)
- # cursive (38)
- # datascript (48)
- # datomic (23)
- # emacs (29)
- # events (1)
- # funcool (2)
- # hoplon (64)
- # jobs (3)
- # luminus (10)
- # off-topic (26)
- # om (27)
- # om-next (1)
- # onyx (1)
- # parinfer (38)
- # perun (5)
- # planck (19)
- # re-frame (38)
- # reagent (19)
- # remote-jobs (1)
- # rum (2)
- # schema (2)
- # spacemacs (1)
- # specter (8)
- # test-check (10)
- # vim (7)
- # yada (14)
@ggaillard that's intense 😄
http://2.bp.blogspot.com/-QRQd9QX8QjQ/VKgnO-n5sAI/AAAAAAAAIm0/s1Q7rjqNcR8/s1600/must%2Bsave%2Bpc.jpg
what? I didn't get it.
Does anyone know why this project didn't gain more traction? https://github.com/schani/clojurec?
Anyone around for it? I could see the usefulness in a native implementation
Nice project ! Maybe I'm mistaken, but it seems they tried to reimplement in C what the JVM does for the java world ? Right ?
Uhm... kinda
At least this is my understanding...
It's going to be very hard to interop with java byte code in a native binary without embedding your own JVM in the binary. I think it is closer to clojure-script where somethings are supported but it provides its own API to interact with native binaries
Anyways, I was just gauging interest. I might work on doing this with LLVM
Ok, nice. Well that brings me to a pertinent question : why this project didn't gain more traction?
^^
I looked over projects trying to reach the same goal through LLVM but the landscape was similar, not much traction.
LLVM doesn't give you as much as the JVM, frankly.
It gives you code generation, but you still need a solid GC and really good Polymorphic dispatch.
@ggaillard so I think the answer to your question is: "They don't solve a problem people have". There are several projects that implement Clojure-like stuff on a "native" platform (I've even written one or two), but they often suffer from poor interop or just don't offer anything compelling over CLJS on Node.
@poooogles perhaps, but it is true. Although I'd love to hear an argument otherwise.
If I was writing clojure code targeting a C-based runtime (or compiled artifact), I would want C interop, not Java interop
But yeah, the JVM gives alot more than just the language/bytecode to run that you’re left with implementing yourself.
When you say over CLJS on Node
, you mean CLJS + C++ V8 addons ?
(GC for example)
@ggaillard I' mean you can run CLJS on node and it starts pretty fast. Node has some libraries that allow for fairly easy C Interop. So if you're super concerned about startup time that's a solution that exists today.