Thread overview
Cityhash in D?
Mar 15, 2017
Ethan Watson
Mar 15, 2017
Andrea Fontana
Mar 15, 2017
Ethan Watson
Mar 15, 2017
Stefan Koch
Mar 26, 2017
Ethan Watson
March 15, 2017
https://github.com/google/cityhash

Does anyone know of a D implementation of Google's Cityhash? My google-fu has failed me and I've been unable to find one.
March 15, 2017
On Wednesday, 15 March 2017 at 13:26:45 UTC, Ethan Watson wrote:
> https://github.com/google/cityhash
>
> Does anyone know of a D implementation of Google's Cityhash? My google-fu has failed me and I've been unable to find one.

It seems pretty easy to use with dstep, isn't it?
March 15, 2017
On Wednesday, 15 March 2017 at 13:37:41 UTC, Andrea Fontana wrote:
> It seems pretty easy to use with dstep, isn't it?

I need to use it at compile time. Linking as a C lib is subsequently out of the question.
March 15, 2017
On Wednesday, 15 March 2017 at 14:58:02 UTC, Ethan Watson wrote:
> On Wednesday, 15 March 2017 at 13:37:41 UTC, Andrea Fontana wrote:
>> It seems pretty easy to use with dstep, isn't it?
>
> I need to use it at compile time. Linking as a C lib is subsequently out of the question.

For now, yes :)

I have a feeling you will enjoy my talk.

March 26, 2017
On Wednesday, 15 March 2017 at 13:26:45 UTC, Ethan Watson wrote:
> Does anyone know of a D implementation of Google's Cityhash?

https://github.com/Remedy-Entertainment/cityhash-d

64-bit functions only for now. I'll add the 32-bit functions at some point, likely when I need them.