www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Cityhash in D?

reply Ethan Watson <gooberman gmail.com> writes:
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.
Mar 15 2017
next sibling parent reply Andrea Fontana <nospam example.com> writes:
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?
Mar 15 2017
parent reply Ethan Watson <gooberman gmail.com> writes:
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.
Mar 15 2017
parent Stefan Koch <uplink.coder googlemail.com> writes:
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.
Mar 15 2017
prev sibling parent Ethan Watson <gooberman gmail.com> writes:
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.
Mar 26 2017