🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
lizmat Files=1351, Tests=117097, 289 wallclock secs (34.81 usr 9.50 sys + 4000.79 cusr 332.56 csys = 4377.66 CPU) 08:56
Geth nqp: usev6++ created pull request #761:
[JVM] Add ops 'decont_u' and 'coerce_us'
12:44
bartolin_ Could I maybe get some eyes for github.com/Raku/roast/pull/786 ? (I'm trying to review the latest test failures on the JVM backend.) 13:06
bartolin_ MasterDuke: thanks for looking! 15:30
MasterDuke np, thanks for keeping up with the jvm backend
Geth roast: 0dba66e359 | (Christian Bartolomäus)++ | 2 files
[JVM] Re-fudge some tests for the JVM backend

They are not passing there yet.
16:15
roast: 8e55c5c776 | (Christian Bartolomäus)++ | S02-types/int-uint.t
Remove some duplicated code
nqp: c53ef7055d | (Christian Bartolomäus)++ | 2 files
[JVM] Register 'decont_u' as an op

The implementation isn't correct yet. But this avoids an explosion in S02-types/int-uint.t and there are other places that require more work for uint handling on the JVM backend.
16:19
nqp: fe2e7294eb | (Christian Bartolomäus)++ | 2 files
[JVM] Implement op 'coerce_us'
nine bartolin_: I fear it's going to be a bit difficult to get the JVM correct with regards to int/uint as Java AFAIK doesn't have unsigned integers. So I don't know what we could actually do there? 17:04
bartolin_ nine: I have no clear idea there as well. But for everything except int64|uint64 we could maybe store values signed (as long, int, etc) and adjust from signed to unsigned as needed when fetching the value. I'm pretty sure we do it that way in a few places already -- e.g. for VMArrayInstance_u32. "native" wouldn't be fully true, though ;) 17:48
nine fake it till you make it ;) 17:56
MasterDuke anyone know what other jvm languages (e.g., scala, kotlin, clojure, groovy) do? do they have unsigned natives? 19:30
bartolin_ doesn't know 19:37
MasterDuke github.com/Kotlin/KEEP/blob/master...d-types.md seems relevant, maybe something to steal from 19:43
docs.oracle.com/javase/8/docs/api/...d-int-int- oh and it looks like the jvm does have some ability to work with numbers as unsigned as of version 8 19:45
Geth rakudo/master: 5 commits pushed by (Nicholas Clark)++, MasterDuke17++ 20:06
[Coke] fixed the opcode test in nqp, back down to 163 missing docs for moar opcodes 22:22
inadvertently borked in september. 22:23
MasterDuke are a bunch of them *_u versions? those are likely simple to add 22:31