Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-04-04 Thread Aaron
Cool... I wrote a similar little disassembler for ClojureCLR a few weeks ago: https://github.com/aaronc/ClojureClrEx/blob/master/src/clojure/clr/ildasm.clj It uses Mono.Reflection to interpret the byte codes. On Saturday, March 30, 2013 9:06:25 AM UTC-4, Gary Trakhman wrote: > > I made a littl

Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-03-31 Thread Gary Trakhman
Ritz's debugger approach looks much more thorough and doesn't require invasive extra dependencies as far as I can tell. If I had known it existed, I probably wouldn't have bothered :-). One major weakness of my approach is it doesn't take into account class-unloading through garbage collectio

Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-03-30 Thread Hugo Duncan
Gary Trakhman writes: > I made a little proof of concept last night. You could always look at > bytecode that clojure emits in few ways, you can either hack the compiler > yourself, or force AOT in your project and use javap. The first approach > is a bit intrusive, and the second has a some

Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-03-30 Thread Michael Klishin
2013/3/30 Gary Trakhman > Potential use cases: > > Writing fast code faster. > Proving to newbies that clojure is not interpreted, further evidence of > eval's coolness. > Checking to make sure primitives are being used where you expect. > Great idea. This kind of information is very valuable wh

Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-03-30 Thread Cedric Greevey
On Sat, Mar 30, 2013 at 9:06 AM, Gary Trakhman wrote : > > Potential use cases: > > Writing fast code faster. > Proving to newbies that clojure is not interpreted, further evidence of > eval's coolness. > Checking to make sure primitives are being used where you expect. > Scaring the bejesus out o

Re: ANN: no.disassemble, a runtime bytecode disassembler

2013-03-30 Thread Gary Trakhman
https://github.com/gtrak/no.disassemble/ On Saturday, March 30, 2013 9:06:25 AM UTC-4, Gary Trakhman wrote: > > I made a little proof of concept last night. You could always look at > bytecode that clojure emits in few ways, you can either hack the compiler > yourself, or force AOT in your proj

ANN: no.disassemble, a runtime bytecode disassembler

2013-03-30 Thread Gary Trakhman
I made a little proof of concept last night. You could always look at bytecode that clojure emits in few ways, you can either hack the compiler yourself, or force AOT in your project and use javap. The first approach is a bit intrusive, and the second has a somewhat annoying turnaround time,