Re: Best way to use Lein only as a build tool?

2018-07-26 Thread 'Alan Forrester' via Clojure
On 27 Jul 2018, at 06:39, Didier wrote: > What's the best way to use Lein only as a build tool? If I want to do my own > dependency resolutions. Or say use tools.deps for dependency resolution, but > Lein for all other build tasks? There’s a leiningen plugin for using tools.deps: https://gith

Best way to use Lein only as a build tool?

2018-07-26 Thread Didier
What's the best way to use Lein only as a build tool? If I want to do my own dependency resolutions. Or say use tools.deps for dependency resolution, but Lein for all other build tasks? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

refactor clojure.core/destructure

2018-07-26 Thread 冯忠孝
(defn gen-pvec [pb] (fn [bvec b val] (let [gvec (gensym "vec__") gseq (gensym "seq__") gfirst (gensym "first__") has-rest (some #{'&} b)] (loop [ret (let [ret (conj bvec gvec val)] (if has-rest (conj ret gseq (list

removing trailing zeros in floating point formatting

2018-07-26 Thread Brian Craft
Probably more of a java question, but I'm finding that floating point formats with (format) are inflating data sizes enormously with meaningless trailing zeros, because the underlying java conversion methods don't work as they do on other platforms. E.g., in C printf("%.6g %.6g %.6g %.6g\n", 0.

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Gerard Klijs
Kotlin native can also target wasm. But I don't know enough of it to know if it's usefull for the clojure story. Since there is very little you can do with wasm, it's highly dependent on interacting with JavaScript. It's possible some computational heavy stuff might better be done in wasm then J

[JOB] Senior Full-Stack Developer | Sparrho | London (Shoreditch) | On-site, Perm

2018-07-26 Thread Sybil Wong
Hi all, We're a small team (~12 full-time) with a big goal to transform how science is done and communicated to the world - check out sparrho.com and medium.com/sparrho. I'm looking for an amazing all-round senior dev to join our team in London (Shoreditch). Someone who can take a project all

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Nathan Fisher
Think Rust and Golang both have the ability to target WASM now too. I'm not sure how well Java Byte-Code to WASM would work in practise. Found this project that seems able to transpile from Java ByteCode to JS/WASM; http://teavm.org/ On Thu, 26 Jul 2018 at 12:34 Bo Yao wrote: > Not true.Wasm is

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Bo Yao
Not true.Wasm is a a kind of assembly and it's browser runtime: https://webassembly.github.io/spec/. The emscripten project is doing compile c/c++ to wasm. There's a another team working on rust to wasm compiler and toolchains: https://webassembly.github.io/spec/ On Friday, September 15, 2017 a