Live data from Hacker News

Viewing profile — sonyandy

sonyandy

HN member
Joined
Tue, Aug 14, 2012, 3:31 PM UTC
HN karma
41
Public activity
14 items

About sonyandy

No profile information was provided.

Recent public activity

  1. comment
    Comment #18715615

    That's the joke.

  2. comment
    Comment #13214145

    I'd be very interested in a low level FP without GC (including reference counting), as well. I believe a major difficulty is how do deal with closures. Obvious solutions include re…

  3. comment
    Comment #11058228

    It is in fact incorrect. The incorrect assumption is nested structure implies nested destructor calls. This can be avoided by ensuring each node in the structure does not destroy t…

  4. comment
    Comment #11058110

    How would you perform destruction of a tree with more than one child tail recursively? I mean this as an honest question - my current implementation of array_mapped_trie performs t…

  5. comment
    Comment #11057810

    Luckily, you can do the rewrite manually. I recently implemented an array mapped trie that shared structure when copied. `find`, `erase`, and `at` were all rewritten to use loops a…

  6. comment
    Comment #8998849

    To "what's the point of immutable objects?": runtime polymorphism + maintaining invariants (since immutable, at the time of construction).

  7. comment
    Comment #8840532

    In addition to Compiling with Continuations, I found Compiling with Continuations, Continued by Andrew Kennedy very useful, as well. http://research.microsoft.com/pubs/64044/compil…

  8. comment
    Comment #8626756

    What about function nothing() { return { match: function(cases) { return cases.nothing(); } }; } function just(x) { return { match: function(cases) { return cases.just(x); } }; } j…

  9. comment
    Comment #8520522

    "survival of the fittest" is closer to "not survival of the not fittest" than "not survival of the not-fit", which is not the same as "death to the weakest".

  10. comment
    Comment #8479791

    In C++, duck typing (structural typing) could be represented explicitly using type erasure (explicit in how you have to declare what the structure is) or using templates, which do …

  11. comment
    Comment #8309556

    Just because it's C doesn't mean it's the minimal library. Additionally, just because it's header-only C++ doesn't mean it's the minimal interface.

  12. comment
    Comment #4984086

    Simple syntax is not the same as simple semantics.

  13. story
  14. comment
    Comment #4381434

    An extension that GHC provides, and therefore part of the effective standard, is Safe Haskell ( http://www.haskell.org/ghc/docs/7.4.2/html/users_guide/safe-... ). A Safe (compiled …