Fork me on GitHub
#clojurescript
<
2015-09-28
>
dnolen00:09:16

@bhauman: so devcards doesn’t have a release yet? simple_smile

skhurram05:09:59

react-native

borkdude07:09:58

@bhauman: I enjoyed the talk too

asolovyov09:09:53

@bhauman: your talk was great! simple_smile

bensu16:09:10

anyobody familiar with cljs/repl.cljc? I'm trying to understand how does the file get compiled by ClojureScript when it depends on java without using #? anywhere.

dnolen16:09:04

@bensu that file should probably go back to .clj, I thought it would be worth porting - no longer think that

dnolen16:09:23

you cannot load it in ClojureScript

bensu16:09:50

@dnolen: thanks, that's what I thought. I'm working on porting the remaining tools.namespace ns to cljs on node.

bensu16:09:54

I'm missing a File abstraction, is there something like a defrecord File that I could piggieback on?

dnolen17:09:59

@bensu there is no File abstraction in ClojureScript or really anything I/O related at all

bensu17:09:01

@dnolen: thanks! I'm on my own then. I just didn't want and start implementing stuff only to find better abstractions later.

iamjarvo17:09:29

you can use node’s fs

dnolen17:09:03

@bensu there’s no I/O stuff as we talked about before, there’s nothing that ties together the vast array of JS runtimes

iamjarvo17:09:11

ahh scrolled up scratch node fs. thought you were trying to read files

dnolen17:09:54

not saying we shouldn’t come up with something up but as I said before this is a really a big discussion that probably needs serious design effort with feedback from the Clojure team as well

bensu17:09:30

I'm not going to push anything on to the compiler, just report back (to the wiki) whenever I find new problems/solutions while I port tools.namespaces.

bensu17:09:00

with some luck, the experiment will inform future work

mfikes17:09:29

@bensu: I added naïve support for analysis and compilation caching to Planck, where it isn't very clever about cache invalidation. A ClojureScript port of tools.namespace would probably be useful for problems like that one. :)

jgdavey17:09:22

Is the :module-type option for :foreign-libs available in 1.7.122? I’m having trouble seeing definitively from the changes themselves.

bensu17:09:02

@mfikes: yeah, tools.namespaces in cljs opens a lot of doors. I'm hoping I can abstract all of the IO behind a set of abstractons that can be used from something like and but it is too early to tell

mfikes17:09:32

@bensu: I wonder if Joel Martin came up with abstractions for his bootstrapped node REPL.

dnolen17:09:37

@jgdavey: the module stuff is still under development, it's still mostly experimental as we sort out quite a few issues

jgdavey17:09:07

Gotcha. Thanks for the clarification @dnolen !

bensu17:09:26

@mfikes: true, I forgot about that, I'll check his project

mfikes17:09:47

@bensu: I like how this was foreshadowed in the April 2014 Cognicast episode. (37 min 40 sec)

bensu17:09:11

@mfikes: can you send a link to the podcast?

bensu18:09:07

@mfikes: haha I was there, just listening to 36 instead of 37 and scratching my head. I don't know how did you pull out that reference.

bensu18:09:04

hahaha there is a verbatim mentioned to !

mfikes18:09:21

@bensu: I had tweeted that reference a few weeks ago :).

bensu18:09:17

@martinklepsch insists that I should get a twitter account, don't fuel his argument simple_smile

bhauman18:09:12

@borkdude: @asolovyov really glad you guys liked it