digitalmars.D.announce - D-wrappers BLAKE3 wrapping C library libblake3
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (6/6) Mar 19 - Compliant with std.digest.
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (4/11) Mar 19 I just realized that dub doesn't work with git submodules. Shall
- Ben Jones (3/4) Mar 19 I just added a D implementation to dmd
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (3/7) Mar 19 Use, that's the reason why added blake3-d.
- Compliant with std.digest. - Current compiles C libraries directly for maximum performance. - Might need some adjustments with compiler flags. See https://code.dlang.org/packages/blake3-d. Please see details on the building of the wrapped C library using cmake and make. Probably needs some TLC for platform-independence.
Mar 19
On Tuesday, 19 March 2024 at 08:35:55 UTC, Per Nordlöw wrote:- Compliant with std.digest. - Current compiles C libraries directly for maximum performance. - Might need some adjustments with compiler flags. See https://code.dlang.org/packages/blake3-d. Please see details on the building of the wrapped C library using cmake and make. Probably needs some TLC for platform-independence.I just realized that dub doesn't work with git submodules. Shall I include a git clone in the provisioning script or simply copy (vendor) BLAKE3/c into the repo for now?
Mar 19
On Tuesday, 19 March 2024 at 08:40:37 UTC, Per Nordlöw wrote:On Tuesday, 19 March 2024 at 08:35:55 UTC, Per Nordlöw wrote:I just added a D implementation to dmd (https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/blake3.d) which doesn't support streaming, so is probably somewhat simpler/smaller, in case that's useful
Mar 19
On Tuesday, 19 March 2024 at 15:38:40 UTC, Ben Jones wrote:On Tuesday, 19 March 2024 at 08:40:37 UTC, Per Nordlöw wrote:Use, that's the reason why added blake3-d. The function, testVector in DMD can be made static, btw.On Tuesday, 19 March 2024 at 08:35:55 UTC, Per Nordlöw wrote:I just added a D implementation to dmd (https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/blake3.d) which doesn't support streaming, so is probably somewhat simpler/smaller, in case that's useful
Mar 19