Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
[Coke] nice! 00:11
MasterDuke i benchmarked our sha1 implementation against openssl and a random one that some haskell package uses. in the made up benchmark i stole from somewhere, openssl took ~0.831s, from-haskell-package took ~1.465s, and ours took ~1.556s 11:18
however, libcrypto.a is 11mb and our libsha1.a is 58kb 11:20
i wonder how hard it would be to just extract the required files from openssl and just build those 11:23
nine Some processors (most notably Ryzens) have hardware support for SHA 11:25
Voldenet newest intels (since 2018) also have sha extensions 14:46
nine Oh boy.... 10 files changed, 273 insertions(+), 32 deletions(-) 16:12
I guess it's about time to make some commits
japhb I'd be shocked if there wasn't a SHA1 library that was both small and efficient -- because Git needs it. 19:19
tellable6 2022-05-08T13:48:48Z #raku <grondilu> japhb noted
MasterDuke good idea, i'll add git's implementation to the benchmark 19:25