Fork me on GitHub
#off-topic
<
2016-11-29
>
br11k17:11:44

@ggaillard that's intense 😄

saeidscorp17:11:36

what? I didn't get it.

jgh17:11:35

he's got his computer with him

johnnyillinois19:11:29

Does anyone know why this project didn't gain more traction? https://github.com/schani/clojurec?

johnnyillinois19:11:56

Anyone around for it? I could see the usefulness in a native implementation

Geoffrey Gaillard20:11:12

Nice project ! Maybe I'm mistaken, but it seems they tried to reimplement in C what the JVM does for the java world ? Right ?

johnnyillinois20:11:04

At least this is my understanding...

johnnyillinois20:11:11

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

johnnyillinois20:11:00

Anyways, I was just gauging interest. I might work on doing this with LLVM

Geoffrey Gaillard20:11:43

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.

tbaldridge20:11:49

LLVM doesn't give you as much as the JVM, frankly.

tbaldridge20:11:23

It gives you code generation, but you still need a solid GC and really good Polymorphic dispatch.

tbaldridge20:11:38

@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.

tbaldridge20:11:07

@poooogles perhaps, but it is true. Although I'd love to hear an argument otherwise.

tokenshift20:11:33

If I was writing clojure code targeting a C-based runtime (or compiled artifact), I would want C interop, not Java interop

tokenshift20:11:10

But yeah, the JVM gives alot more than just the language/bytecode to run that you’re left with implementing yourself.

Geoffrey Gaillard20:11:12

When you say over CLJS on Node, you mean CLJS + C++ V8 addons ?

tokenshift20:11:14

(GC for example)

tbaldridge20:11:32

@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.

bigkahuna21:11:51

I have an extra ClojureX London 2016 ticket for sale for the conference at Skillsmatter on 1st and 2nd December this week . It's on sale for the early bird price of £95. Would prefer a Paypal payment. Contact us if you're interested