Re: Small minesweeper game in D

2015-12-19 Thread stew via Digitalmars-d-announce
On Sunday, 20 December 2015 at 02:11:58 UTC, Adam D. Ruppe wrote: code here: http://arsdnet.net/dcode/minesweeper.d [...] Nice! I love doing this kind of thing on a lazy Sunday. Pick any 80's arcade game and try to implement as much as possible in an hour. I have several languages I cycle t

Small minesweeper game in D

2015-12-19 Thread Adam D. Ruppe via Digitalmars-d-announce
code here: http://arsdnet.net/dcode/minesweeper.d Here's a bit of fun. I saw this article on reddit: http://rkoutnik.com/articles/How-I-Interview.html Short summary: when interviewing people for a code position, this author gives the candidate one hour to write as much as minesweeper as they

Re: IAP Tools for D

2015-12-19 Thread Jakob Jenkov via Digitalmars-d-announce
How does the performance of ION compare with Protocol Buffers (https://developers.google.com/protocol-buffers/?hl=en) and Apache Thrift ( https://thrift.apache.org/)? Oh - one final thing: If you *really* want speed you should not parse ION into objects before using the data. Since ION is sel

Re: IAP Tools for D

2015-12-19 Thread Jakob Jenkov via Digitalmars-d-announce
How does the performance of ION compare with Protocol Buffers (https://developers.google.com/protocol-buffers/?hl=en) and Apache Thrift ( https://thrift.apache.org/)? That depends on what API you use, and how much "meta data" (e.g. class names and property names) you write in the serialized IO

Re: IAP Tools for D

2015-12-19 Thread belkin via Digitalmars-d-announce
On Wednesday, 16 December 2015 at 09:47:35 UTC, Jakob Jenkov wrote: Hi D Community, ION is similar to MessagePack and CBOR, but with a few additions. ION has a table mode which can be used to model tables (like CSV files) efficiently, and which can also be used in larger object graphs. Our ea

Re: MurmurHash3

2015-12-19 Thread Guillaume Chatelet via Digitalmars-d-announce
The last version of the code is available here and is feature complete AFAICT https://github.com/gchatelet/murmurhash3_d/blob/master/murmurhash3.d Last concern, I declared blockSize in bytes where std.digest.digest says it should be in bits. Why does it need to be bits ? It looks like HMAC (wh