[ClojureScript] Re: Clojure(Script|Dart) -> Dart Compiler

2014-09-17 Thread Andrew Chambers
On Thursday, September 18, 2014 12:12:37 PM UTC+12, Jacob Goodson wrote: > Is anyone thinking about this? I asked a couple of years ago and figured it > would be a good time to ask again. Dart VM will be included with chrome soon > and it will be running on app engine as well. What are the ben

[ClojureScript] Re: How to catch exceptions that occur inside a go block

2014-08-24 Thread Andrew Chambers
On Sunday, August 24, 2014 7:30:23 PM UTC+12, Yehonathan Sharvit wrote: > I would like to catch exceptions that occur inside a go block. I need to > catch the exceptions from outside the go block. > > I tried to write this piece of code but it didn't work. The exception was not > caught. > > (t

[ClojureScript] Re: Send large immutable data structure with a lot of sharing back and forth to the server

2014-07-23 Thread Andrew Chambers
Sounds like a tree diff algorithm to me. http://stackoverflow.com/questions/5894879/detect-differences-between-tree-structures On Thursday, July 24, 2014 5:47:54 AM UTC+12, Anton Astashov wrote: > Hello, > > Is there any good way to send large immutable data with a lot of structural > sharing

Re: [ClojureScript] ASM.js and Clojure

2014-05-22 Thread Andrew Chambers
asm.js doesnt make as much sense for compiling clojurescript for a few reasons. 1. it requires static knowledge of types to get most benefit. (emscripten knows all primitive types) 2. it's better suited for pure numeric operations. I dont know if thats really clojurescripts strong point. -- No

[ClojureScript] Re: [ANN] lein-figwheel a live coding plugin for leinigen

2014-05-08 Thread Andrew Chambers
On Friday, May 2, 2014 11:24:37 AM UTC+12, Bruce Hauman wrote: > Hey all, > > > > I have been doing a bunch of live coding in ClojureScript lately. I wrote a > leinigen plugin called lein-figwheel that facilitates code changes making it > to the browser on file save. > > > > The plugin re

[ClojureScript] clojurescript nodejs

2014-05-01 Thread Andrew Chambers
How does one call nodejs libraries from clojurescript? Trying any variation of (.readFileSync (js/require "fs") "filename") fails because of the clojurescript compiler name mangling of the readFileSync function call. I hacked a solution by using js/eval but that doesn't seem good. -- Note tha