Re: Any data about just how much loc Clojure shaves off java?

2017-11-19 Thread Ravindra Jaju
Not an apples-and-oranges comparison here. But I was involved in a rewrite of an existing system exceeding 100K lines of Java code. When you rewrite, there's a lot more insight and clarity about the purpose, and the rewrite done in Clojure had the benefit of skipping the useless bits, while better

Re: [ANN] Ring Jetty servlet adapter

2017-11-19 Thread Jiacai Liu
Glad I can help. If you have any questions, open a issue on github, I will look into it ASAP. On Sun, Nov 19, 2017 at 11:55 PM, Michael Blume wrote: > I was just about to start figuring out how to do this, for pretty much > exactl

Re: Any data about just how much loc Clojure shaves off java?

2017-11-19 Thread Alex Miller
I agree that 5-10x is probably a good estimate not knowing anything else. Typically the “information objects” are a huge savings and then another large savings in data transformation and glue code. Algorithmic code is probably smaller. Depending on what you’re doing, if there is a lot of repet

Re: Any data about just how much loc Clojure shaves off java?

2017-11-19 Thread Rangel Spasov
Very hard to give any sort of scientifically or statistically accurate answer to this question but I'll go for it nevertheless ;). I would say 5-10x (half to one order of magnitude). On Sunday, November 19, 2017 at 2:01:12 PM UTC-8, Didier wrote: > > Hi there, > > Out of pure curiosity, I was w

Re: Map Keywords are functions, why not vector elements?

2017-11-19 Thread Stephen Feyrer
Hi, A quick thank you to both Gary and Sean and everyone! I will come back to this once I have achieved a deeper understanding. Apologies for the delayed response. -- Kind regards Stephen. On 14 November 2017 at 09:59, Gary Verhaegen wrote: > If you're going to call that for multiple eleme

Any data about just how much loc Clojure shaves off java?

2017-11-19 Thread Didier
Hi there, Out of pure curiosity, I was wondering if there was any rewrite or equivalent code out there between Java and Clojure that showed exactly how many LOC you save from switching to Clojure. Especially for larger endeavour. Thanks. -- You received this message because you are subscribe

Re: [ANN] Ring Jetty servlet adapter

2017-11-19 Thread Michael Blume
I was just about to start figuring out how to do this, for pretty much exactly the same reason (the Hystrix metrics stream). Thanks for this, I'm looking forward to trying it out. On Thu, Nov 16, 2017 at 5:23 AM Jiacai Liu wrote: > Fork of official jetty adapter >