2 Aug 2025 | |||
MasterDuke | timo: think go-review.googlesource.com/c/go/+/646095 is something that would make sense for moarvm? | 21:11 | |
4 Aug 2025 | |||
lizmat | hmmm.. we just had another newbie running into: | 11:23 | |
m: sub { await start { return } }() | |||
camelia | MoarVM panic: Did not find expected unwind target frame. | ||
lizmat | first reported 6+ years ago | ||
github.com/rakudo/rakudo/issues/2753 | |||
isn't there really a way to make this into a trappable Rakudo error so that we can give more specific feedback ? | 11:24 | ||
because the error atm feels like a segfault type thingy | |||
timo | just™ put a handler for return control exceptions in the same spot where we already catch other exceptions that happens inside of start blocks? | 12:10 | |
at least to make a better error message | 12:12 | ||
we can maybe also find this problem in the compiler somewhere if we can prove there's no way for "return" to work there | |||
lizmat | there's not always a visible "start" involved: | 13:17 | |
gist.github.com/heyajulia/09f4210b...07b493a6a9 | |||
timo | tbh that looks like someone wants something like $conn.Supply.head(1) | 13:53 | |
lizmat | timo: that just returns the Supply ? | 17:05 | |
librasteve_ | rakudoweekly.blog/2025/08/04/2025-...y-turtles/ | 18:49 | |
6 Aug 2025 | |||
lizmat | hmmm.. I wonder how hard it would be to get sha256, sha384 and sha512 natively into MoarVM | 10:42 | |
just realizing that the sha1 implementation is from a library that jnthn last touched in 2011 | |||
japhb | Recent implementations of the various crypto primitives would be a very good thing. Likely to be much faster on recent hardware, at the very least. | 19:12 | |
[Coke] | +1 | 19:19 | |
Voldenet | I use Crypt::LibGcrypt bindings for sha256 and sha3, it works fine | 22:20 | |
libsodium has nice api, but I don't use it in raku | 22:28 | ||
It bet it'd be fine to use existing libraries for built-in cryptography | 22:30 | ||
lizmat | I recently found out that OpenSSL::Digest offers all of them: sha1 .. sha512 | 22:54 | |
which makes me wonder whether it would be an idea to include all of OpenSSL into MoarVM | |||
7 Aug 2025 | |||
Voldenet | I think it'd need to be configurable, on windows there's builtins that support everything: learn.microsoft.com/en-us/windows/...dentifiers | 00:41 | |
there's also ancient wincrypt.h | 00:44 | ||
I'd consider making something like platform/crypt.h but apart from really trivial APIs like `MVM_platform_sha256(buf, size)` it's bound to not work well | 00:51 | ||
there'd be apis using TPMs that need tpm context (even sha256 would suddenly reuire MVMCryptoContext), there'd be also various key handles for dsa, contexts for streaming aead | 00:57 | ||
so after pondering about it a bit - if only sha256 is needed, I'd consider some implementation that doesn't bring any additional library in | 01:08 | ||
because in most cases using NativeCall wrappers directly without indirection is simply the best option | 01:10 | ||
jdv | mef: you ok? | 18:31 | |
8 Aug 2025 | |||
lizmat | I just noticed this when building Moar for Rakudo: | 16:57 | |
Updating submodules .................................... fatal: couldn't find remote ref refs/heads/master | |||
no idea which submodule that was referring to, or whether it is something to worry about | 16:58 | ||
9 Aug 2025 | |||
Voldenet | 3rdparty/mimalloc doesn't have master anymore | 03:31 | |
all other submodules do | 03:32 | ||
lizmat | ah, so this *is* something to worry about, as we would be missing mimalloc updates? | 10:35 | |
Voldenet | most likely, there are 3 major versions (possibly with breaking changes), so I'm not sure if it can be automatically updated | 15:44 | |
however, latest version linked to moarvm is from 2 months ago | 15:47 | ||
and latest version released overall is from 2 months ago as well, so it's probably up-to-date at the moment anyway | 15:48 | ||
11 Aug 2025 | |||
librasteve_ | rakudoweekly.blog/2025/08/11/2025-...esilience/ | 15:45 | |
14 Aug 2025 | |||
lizmat | looks like we still have a build issue on Alpine! | 13:29 | |
correction: El_Che was able to build now, 2025.06 packages on their way now | 13:47 | ||
18 Aug 2025 | |||
librasteve_ | rakudoweekly.blog/2025/08/18/2025-...esilience/ | 18:55 | |
lizmat | librasteve_++ | 19:29 | |
19 Aug 2025 | |||
Geth | MoarVM: AntonOks++ created pull request #1952: build_release.yml: Adding latest macos uns windows runners |
17:32 | |
25 Aug 2025 | |||
librasteve_ | rakudoweekly.blog/2025/08/25/2025-...reducible/ | 19:10 | |
lizmat | librasteve_++ | 21:56 | |
28 Aug 2025 | |||
jdv | where is "anton oks"? | 21:09 | |
in any case. i want to ask him, what is up with this?: github.com/MoarVM/MoarVM/releases/tag/2025.08 | 21:10 | ||
this release is done | 21:11 |