Live data from Hacker News

Viewing profile — suzuki

suzuki

HN member
Joined
Sat, Jan 25, 2014, 2:56 AM UTC
HN karma
176
Public activity
74 items

About suzuki

https://github.com/nukata

Recent public activity

  1. comment
    Comment #31013523

    > If you have an interface with a single method, or something with a single varying piece of behavior, please strongly consider accepting a function instead. Agreed. And if you pre…

  2. story
  3. comment
    Comment #26978376

    It is a "mojibake" of 三個和尚沒水喝[1]. [1] https://en.wikipedia.org/wiki/Three_Monks

  4. comment
    Comment #25905730

    From a Japanese perspective, it also sounds very unlikely. Go with UTF-8 strings is successful nowadays in Japan.

  5. comment
    Comment #25905131

    I agree with you. I wish Python 3 had strings as byte sequences mainly in UTF-8 as Python 2 had once and Go has now. Then things would be kept simple in Japan. Python 3 feels cumbe…

  6. comment
    Comment #25007065

    I have written almost the identical Scheme interpreters in Ruby and Crystal: [1] and [2]. The biggest difference I have felt between them is the absence of good old Object, which c…

  7. comment
    Comment #24530235

    IANAL, but I believe you cannot put "(c) Your Name 2020" on Shakespeare's works in Japan and other countries. Their copyright acts protect the moral rights of authors[1][2]. So I t…

  8. comment
    Comment #23549701

    Now the abstract sequence type of "LINQ in Go" https://github.com/nukata/linq-in-go can be written as type Enumerator(type T) func(yield func(element T)) and the "Select" method ca…

  9. comment
    Comment #23437035

    You are absolutely right. I have written Scheme interpreters in both languages. Compare https://github.com/nukata/little-scheme-in-ruby/blob/v0.3.0/... # Cons cell class Cell inclu…

  10. comment
    Comment #22934222

    I totally agree with you. I hope we still have a chance to do it well with PyPy.

  11. comment
    Comment #22810436

    I have just updated my Scheme interpreter in Crystal ( https://github.com/nukata/little-scheme-in-crystal ), which I used on the above benchmark test, along to Crystal 0.34. The re…

  12. comment
    Comment #22804146

    Crystal is comparable to Java in performance. I am impressed with it. See https://github.com/nukata/little-scheme#performance and https://github.com/nukata/little-scheme#performanc…

  13. comment
    Comment #22736748

    In my experiment, the Crystal version ( https://github.com/nukata/little-scheme-in-crystal ) was 38x faster than the Ruby version ( https://github.com/nukata/little-scheme-in-ruby …

  14. comment
    Comment #22713268

    I timed each implementation in solving 6-Queens[1] on a meta-circular Scheme[2] (i.e. each Scheme interpreter ran a meta-circular Scheme interpreter to solve 6-Queens). Results are…

  15. story
  16. comment
    Comment #21344596

    Good point! I'm looking forward to generics in Go.

  17. comment
    Comment #21311820

    You can write your own LINQ in Go with a very short program. See https://github.com/nukata/linq-in-go for example. Here is a self-contained excerpt: type Any = interface{} type Enu…

  18. story
  19. story
  20. comment
    Comment #19414076

    This is a small interpreter of a subset of Scheme. It implements the same language as https://github.com/nukata/little-scheme-in-python (and also its meta-circular interpreter, htt…

  21. story
  22. story
  23. story
  24. story
  25. story