|
duck monster posted:
I got a chance to eat breakfast and lunch with Dr. and Mrs. Sussman at Strange Loop last September. He is amazingly bright and speaks super loving fast when he's talking about math, holy poo poo. She is super nice and I think she knows her husband is way too smart to talk to near-norms like me. She gave me one of his magazines from MIT as a consolation prize I think.
|
# ¿ Mar 6, 2012 19:30 |
|
|
# ¿ May 18, 2024 18:02 |
|
jstirrell posted:I was about to answer your question, then I found this in the process which pretty much explains exactly what I was going to say better than I could: I love clj and have been digging around the compiler (ugh) and innards for the better part of a year now. I'd love a clojure thread if there's enough interest separate from the lisp thread here.
|
# ¿ Mar 6, 2012 19:34 |
|
ca*d*a*r bullshit isn't so bad if you actually name it something meaningful. That said I don't think I'll ever forget Beef posted:cdadr magicians will be shot on sight, use loving defstruct or abstract datatypes. hahahhah
|
# ¿ Mar 9, 2012 17:52 |
|
Anyone going to Clojure/West this weekend?
|
# ¿ Mar 14, 2012 21:46 |
|
mrobot posted:Ugh, I tried to get through Land of Lisp but realized in chapter 8 that I had no idea what was going on anymore. I don't know if I just didn't study the earlier examples enough or what, but I felt like it went from being an 'introduction' to being pretty intermediate-level wayy too quickly. I realize it's not CL but Clojure has a lot of good resources for beginners and it'll at least get you in the "Lisp mindset". My favorite is 4Clojure - http://www.4clojure.com/
|
# ¿ Mar 25, 2012 22:45 |
|
Otto Skorzeny posted:I think that 4clojure.com works pretty well for getting the basics down Just don't try to take the value of a macro, I crashed the poo poo out of it a few months ago.
|
# ¿ May 1, 2012 17:01 |
|
Mustach posted:Is this the only built-in way to compile Clojure to bytecode or does everybody just use lein and I should suck it up and use it, too? That's a messy page but the jist of it is if you are writing a clojure only app, then you don't need to do that. If you need to interop with Java or Scala or whatever, you can load clojure.lang.RT and load up your .clj files and it'll compile them on the fly. I find this to be the most flexible approach, however if you are unable or unwilling to distribute your source, then you need AOT compilation via the :gen-class mechanism in the ns macro (preferred way), or the gen-class function.
|
# ¿ Jun 13, 2012 20:40 |
|
Mustach posted:This sounds fine. After thinking about it a bit more, compiling to bytecode may not be a requirement; my ultimate goal is to be able to jar everything up so the program can be run in the typical "java -jar" fashion. Yup that's a perfectly fine use of it. I did make a mistake though, you will probably want to load clojure.lang.Compiler for Compiler.load/loadFile and not RT (although in order to get stuff FROM clojure you will still need RT). Just make sure your clojure source is in the classpath somehow.
|
# ¿ Jun 13, 2012 22:35 |
|
A MIRACLE posted:Does anyone use Light Table seriously yet for Clojure development? It looks cool but I'm afraid to stray from the familiar safe haven that is SLIMV / SWANK / xterm I was this close to using light table, and then I just started using La Clojure for Intellij and that was that.
|
# ¿ Nov 26, 2012 17:51 |
|
luxxx posted:The fact remains that you have to work with Java to some degree to use Clojure. Learning Java is one reason I won't use it, but it's mere association with Java is another reason. I don't like Java or anything about the "Java Way," so I won't do anything to prolong Java as a language. If people stop using it, it'll go away eventually. For this reason, I won't use anything that uses Java unless it's absolutely necessary. This doesn't strike me as an argument that was born from rational thought. You should try Clojure, it's actually really good.
|
# ¿ Dec 3, 2012 05:25 |
|
Clojure does make some calls on parallelism on its own by querying the jvm for your processor count. Using data structures like Agents (and all async structures IIRC) and also explicit parallel calls like pmap will automatically take advantage of as much parallelism as is available.
|
# ¿ Dec 4, 2012 04:04 |
|
InflateableFerret posted:The man who wrote this book is my current professor. We are currently converting Scheme code into C code. poo poo is awful. I know how this sort of stuff would be practical for companies like Cisco to not have to have programmers extremely proficient in C right off the bat, but god drat this is some banal stuff. You should also read The Reasoned Schemer.
|
# ¿ Mar 6, 2013 14:54 |
|
|
# ¿ May 18, 2024 18:02 |
|
Civil Twilight posted:I've been using Korma for a few small tools at work and been very happy with it. I've been using clojureql but Korma seems way more active/up to date. I'm probably going to do the ol' switcheroo.
|
# ¿ Aug 30, 2013 22:02 |