Viewing profile — suzuki
suzuki
HN member- Joined
- Sat, Jan 25, 2014, 2:56 AM UTC
- HN karma
- 176
- Public activity
- 74 items
- HN profile
- View on Hacker News ↗
About suzuki
Recent public activity
-
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…
- story
-
comment
Comment #26978376
It is a "mojibake" of 三個和尚沒水喝[1]. [1] https://en.wikipedia.org/wiki/Three_Monks
-
comment
Comment #25905730
From a Japanese perspective, it also sounds very unlikely. Go with UTF-8 strings is successful nowadays in Japan.
-
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…
-
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…
-
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…
-
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…
-
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…
-
comment
Comment #22934222
I totally agree with you. I hope we still have a chance to do it well with PyPy.
-
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…
-
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…
-
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 …
-
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…
- story
-
comment
Comment #21344596
Good point! I'm looking forward to generics in Go.
-
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…
- story
- story
-
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…
- story
- story
- story
- story
- story