Live data from Hacker News

Viewing profile — halgari

halgari

HN member
Joined
Thu, Mar 01, 2012, 1:05 AM UTC
HN karma
45
Public activity
15 items

About halgari

No profile information was provided.

Recent public activity

  1. 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 …

  2. 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.

  3. comment
    Comment #4271117

    just use hash maps: http://www.youtube.com/watch?v=rI8tNMsozo0

  4. 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…

  5. 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.

  6. 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…

  7. 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..

  8. 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…

  9. 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…

  10. comment
    Comment #3650807

    Here's a blog post explaining the issues involved in a bit more detail: http://clojure-py.blogspot.com/

  11. 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…

  12. 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…

  13. 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 …

  14. 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…

  15. 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.