[ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-18 Thread jgpc42
Insn is a data-oriented API to the ASM <http://asm.ow2.org/> JVM bytecode generation library. It also provides additional utilities like generating Clojure fns built from bytecode. Much more information is available at the github page: https://github.com/jgpc42/insn -- You receive

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
While I'm not as familiar with the CLR and its bytecode syntax, from what I can tell from the README, mage and insn seem to have similar goals and ideas. I'll attempt to summarize the differences that I could find, if the mage author *nasser* is available I would appreciate his or her input. M

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-08-19 Thread jgpc42
That would be possible. If I understand your meaning, something like: (require '[insn.core :as insn]) (defn make-pojos [cname m] (let [[fields subs] (partition-by (comp map? second) m) const-type #(if (string? %) String :int)] (doseq [[sname sm] subs] (make-pojos (str cname \$

Re: [ANN] Insn: Functional JVM bytecode generation for Clojure.

2017-09-07 Thread jgpc42
/msdn.microsoft.com/en-us/library/system.reflection.emit.ilgenerator.declarelocal(v=vs.110).aspx> . Mage will automatically flatten nested bytecode sequences. > I recently converted one of my projects from emitting via insn.op <https://github.com/jgpc42/insn/wiki/Interface-Implementatio

[ANN] JMH-Clojure: Seamless JMH benchmarking for Clojure

2017-09-28 Thread jgpc42
A data-oriented API to JMH <http://openjdk.java.net/projects/code-tools/jmh/>, the Java Microbenchmark Harness. Much more information is available at the github page: https://github.com/jgpc42/jmh-clojure -- You received this message because you are subscribed to the Google Groups &q

[ANN] Insn 0.2.0 - Functional JVM bytecode generation for Clojure

2017-10-27 Thread jgpc42
Insn (github link <https://github.com/jgpc42/insn>) provides a data-oriented abstraction over the ASM <http://asm.ow2.org/> bytecode generation library. The same library that Clojure uses to emit Clojure code. Some of the new features since 0.1.0: - Nested opcode sequences (Like

[ANN] jmh-clojure 0.2.0 - Seamless JMH benchmarking for Clojure

2017-12-17 Thread jgpc42
This library (github link <https://github.com/jgpc42/jmh-clojure>) provides a data-oriented API to JMH, the Java Microbenchmark Harness. Some of the new features since 0.1.0: External profiler support. Wiki example <https://github.com/jgpc42/jmh-clojure/wiki/JMH-Profilers#external-

[ANN] Insn 0.3.0 - Functional JVM bytecode generation for Clojure

2018-04-27 Thread jgpc42
Insn (github link <https://github.com/jgpc42/insn>) provides a data-oriented abstraction over the ASM <http://asm.ow2.io/> bytecode generation library. The same library that Clojure uses to emit Clojure code. Some of the new features since 0.2.0: - JVM version 9 bytecode suppor

[ANN] Insn 0.4.0 - Functional JVM bytecode generation for Clojure

2018-12-17 Thread jgpc42
Insn (github link <https://github.com/jgpc42/insn>) provides a data-oriented abstraction over the ASM <http://asm.ow2.io/> bytecode generation library, the same library that Clojure uses for bytecode emission. Some of the new features since 0.3.0: - Constant Dynamic suppo