Viewing profile — halgari
halgari
HN member- Joined
- Thu, Mar 01, 2012, 1:05 AM UTC
- HN karma
- 45
- Public activity
- 15 items
- HN profile
- View on Hacker News ↗
About halgari
No profile information was provided.
Recent public activity
-
comment
Comment #4521616
I've been programming professionally for about 8 years, and I'm self-taught. To be honest, I've found that my degree carrying co-workers fall way short in the basics. Perhaps it's …
-
comment
Comment #4323021
+1, I've seen this idea before, and I think it's horrible. It's a ton of boilerplate crap that doesn't seem to solve any real-world problem.
-
comment
Comment #4271117
just use hash maps: http://www.youtube.com/watch?v=rI8tNMsozo0
-
comment
Comment #4147466
The problem with ClojureCLR is not the platform (that's 100% the same as Clojure on JVM) it's the tooling and lack of libs. So instead of using DataOutputStream, you have to use Bi…
-
comment
Comment #3710641
We're taking the same approach as ClojureCLR and ClojureScript in clojure-py. As much as possible implement things exactly the way Clojure does.
-
comment
Comment #3710517
This is very correct. We compile Clojure code to Python bytecode. Clojure functions become python functions, clojure deftypes are Python classes, Clojure namespaces are Python modu…
-
comment
Comment #3652102
Mostly because we have to have these collections inside the compiler. So it's a bit hard to write collections in a language that has no compiler. Chicken/egg issue..
-
comment
Comment #3651976
You can, but I think you'd run into the same issues mentioned here: http://clojure-py.blogspot.com/2012/02/ive-been-asked-many-t... Basically it reflection (aka dynamic dispatch) i…
-
comment
Comment #3650874
PyClojure (in the link) didn't actually take it to the extent we are. clojure-py goes so far as to implement all the standard collections in pure python. So [1 2 3] in clojure-py i…
-
comment
Comment #3650807
Here's a blog post explaining the issues involved in a bit more detail: http://clojure-py.blogspot.com/
-
comment
Comment #3650683
I agree, if you're into Python, use python. However, I find things like macros, protocols, and multimethods drastically reduce the amount of coding that has to be done to accomplis…
-
comment
Comment #3650634
Those numbers a re bit small to get a full view of the way the pypy jit works: user=> (time (reduce1 + (range 100000))) Elapsed time: 903.011083603 msecs 4999950000 user=> (time (r…
-
comment
Comment #3650622
First of all, it should be mentioned, that this is not an abstraction layer. Clojure-py functions are actual Python functions (not classes as they are on the JVM). This means that …
-
comment
Comment #3650522
This is not true at all. PyPy implements a tracing jit that compiles specific loops for each set of types run through the interpreter. This means it is actually possible to have Py…
-
comment
Comment #3650510
There's absolutely nothing stopping us from implementing atoms, refs, and agents on clojure-py. Sure, the GIL won't help at all, but PyPy is working hard to fix that.