Logs: liberachat/#haskell
| 2021-06-29 08:08:30 | <[exa]> | delYsid: AFAIK Word64 should work on 32b platforms, it's just not going to be really fast |
| 2021-06-29 08:08:50 | <merijn> | delYsid: The implementation fo Word32/64/etc. are platform dependent |
| 2021-06-29 08:09:15 | × | Aleci[m] quits (~alecilibr@2001:470:69fc:105::32e7) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | ac quits (~aloiscoch@2001:470:69fc:105::65) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | fgaz quits (~fgaz@2001:470:69fc:105::842) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | MatrixTravelerbo quits (~voyagert2@2001:470:69fc:105::22) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | siraben quits (~siraben@user/siraben) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | ServerStatsDisco quits (~serversta@2001:470:69fc:105::1a) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | kadoban quits (~kadoban@user/kadoban) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | carmysilna quits (~brightly-@2001:470:69fc:105::2190) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | peddie quits (~peddie@2001:470:69fc:105::25d) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | sm[m] quits (~sm@plaintextaccounting/sm) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:15 | × | psydroid quits (~psydroid@user/psydroid) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | hsiktas[m] quits (~hsiktasma@2001:470:69fc:105::30d4) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | lwe[m] quits (~dendrumat@2001:470:69fc:105::2f9b) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | ericson2314 quits (~ericson23@2001:470:69fc:105::70c) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | the-coot[m] quits (~the-cootm@2001:470:69fc:105::95f) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | maralorn quits (~maralorn@2001:470:69fc:105::251) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | vaibhavsagar[m] quits (~vaibhavsa@2001:470:69fc:105::ffe) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | bryan[m] quits (~bchreekat@2001:470:69fc:105::16b5) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | Deewiant quits (~deewiant@2001:470:69fc:105::2fd3) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | cdsmith quits (~cdsmithma@2001:470:69fc:105::284) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | ru0mad[m] quits (~ru0madmat@2001:470:69fc:105::9b2) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | Orbstheorem quits (~orbstheor@2001:470:69fc:105::a56) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:16 | × | Morrow[m] quits (~morrowmma@2001:470:69fc:105::1d0) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | jophish quits (~jophish@2001:470:69fc:105::670) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | Artem[m] quits (~artemtype@2001:470:69fc:105::75b) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | inkbottle[m] quits (~inkbottle@2001:470:69fc:105::2ff5) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | bb010g quits (~bb010g@2001:470:69fc:105::9a5) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | marinelli[m] quits (~marinelli@2001:470:69fc:105::2d8) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | cdepillabout[m] quits (~cdepillab@2001:470:69fc:105::3d3) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | hjulle[m] quits (~hjullemat@2001:470:69fc:105::1dd) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | jaror[m] quits (~jaror@2001:470:69fc:105::265) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | tomferon[m] quits (~tomferon@2001:470:69fc:105::268) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | sridonhiatus[m] quits (~sridmatri@2001:470:69fc:105::1c2) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | bitonic quits (~bitonic@2001:470:69fc:105::1812) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | fabfianda[m] quits (~fabfianda@2001:470:69fc:105::6db) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | Las[m] quits (~lasmatrix@2001:470:69fc:105::74e) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | thedward[m] quits (~thedwardm@2001:470:69fc:105::f79) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | zfnmxt quits (~zfnmxtzfn@2001:470:69fc:105::2b32) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | amesgen[m] quits (~amesgenam@2001:470:69fc:105::82b) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | eddiemundo quits (~eddiemund@2001:470:69fc:105::a9c) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | unrooted quits (~unrooted@2001:470:69fc:105::a4a) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | gxt quits (~gxt@2001:470:69fc:105::3513) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | maerwald[m] quits (~maerwaldm@2001:470:69fc:105::1ee) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:17 | × | adziahel[m] quits (~adziahelm@2001:470:69fc:105::b4d) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:18 | × | wallymathieu[m] quits (~wallymath@2001:470:69fc:105::16ae) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:18 | × | Ollie[m] quits (~ollieocha@2001:470:69fc:105::41a5) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:18 | × | dualinverter[m] quits (~dualinver@2001:470:69fc:105::16a7) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:20 | × | boxscape quits (~boxscape@user/boxscape) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:20 | × | ormaaj quits (~ormaaj@user/ormaaj) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:20 | × | autrim64[m] quits (~autrim64m@2001:470:69fc:105::16a1) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:21 | × | Guest4696 quits (~sylveonma@2001:470:69fc:105::2d95) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:23 | × | justosophy[m] quits (~justosoph@2001:470:69fc:105::572f) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:24 | × | dminuoso[m] quits (~dminuosom@2001:470:69fc:105::33bb) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:24 | × | vbeatrice[m] quits (~vbeatrice@2001:470:69fc:105::3ebf) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:24 | × | reza[m] quits (~rezaphone@2001:470:69fc:105::3eda) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:25 | × | kosmikus[m] quits (~andresloe@2001:470:69fc:105::95d) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:28 | × | Drezil quits (~drezilkif@2001:470:69fc:105::7f8) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:28 | × | oak- quits (~oakuniver@2001:470:69fc:105::fcd) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | Soft quits (~soft-matr@2001:470:69fc:105::c75) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | ixlun quits (~ixlun@2001:470:69fc:105::41b3) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | RohitGoswami[m] quits (~rgoswamim@2001:470:69fc:105::16cc) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | jakefromstatefar quits (~jakefroms@2001:470:69fc:105::15ef) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | jellz[m] quits (~jellzmatr@2001:470:69fc:105::2daa) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | yin[m] quits (~zwromatri@2001:470:69fc:105::1d4) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | ecameron[m] quits (~ecameronm@2001:470:69fc:105::35df) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:29 | × | aveltras[m] quits (~aveltrasm@2001:470:69fc:105::3ef9) (Quit: Bridge terminating on SIGTERM) |
| 2021-06-29 08:09:37 | × | hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 244 seconds) |
| 2021-06-29 08:10:19 | <kuribas> | maerwald: I mean, what is recommended, not what is enforced by hackage. |
| 2021-06-29 08:10:37 | <merijn> | kuribas: There's always those people |
| 2021-06-29 08:10:53 | <merijn> | kuribas: "this gets in the way of what I want right now, so I'm gonna remove it" |
| 2021-06-29 08:11:14 | <merijn> | kuribas: I once had a PR from someone who marked all my foreign imports as "unsafe", because he read a blog that said it was faster |
| 2021-06-29 08:11:23 | <kuribas> | merijn: yeah, they could just like... move the upper bound? |
| 2021-06-29 08:11:58 | <kuribas> | merijn: as if you didn't think about it... |
| 2021-06-29 08:12:04 | <merijn> | kuribas: Probably a stack user who is like "but I don't wanna deal with this, so I'm gonna make *everyone else* deal with it" |
| 2021-06-29 08:12:13 | <delYsid> | merijn: I'd like to use Word64# instead of Word64 to improve performance, since my Word64 really never needs to be lazy... |
| 2021-06-29 08:12:17 | <kuribas> | hehe, that's *exactly* what he said :) |
| 2021-06-29 08:12:37 | <merijn> | kuribas: My approach to people like that is "fuck 'em" |
| 2021-06-29 08:12:43 | <delYsid> | But reading though GHC.Word, it looks like that might only work on certain platforms? |
| 2021-06-29 08:12:55 | <[exa]> | delYsid: not sure you'll gain much performance by that, just like, decrease portability |
| 2021-06-29 08:13:05 | <merijn> | I don't think it will |
| 2021-06-29 08:13:12 | <merijn> | it should work on all platforms |
| 2021-06-29 08:13:18 | <merijn> | You can't use any of the Num functions, though |
| 2021-06-29 08:14:12 | <merijn> | delYsid: GHC already has optimisations to make numeric value strict of it detects them being used in tight loops |
| 2021-06-29 08:14:15 | → | hegstal joins (~hegstal@2a02:c7f:7604:8a00:cf3c:697d:723b:8aac) |
| 2021-06-29 08:14:50 | <[exa]> | delYsid: that said, if you're trying to optimize this stuff, you really really should have a look at the generated code to see where the bottleneck is |
| 2021-06-29 08:16:01 | <delYsid> | [exa]: Good point. that would be stg, right? |
| 2021-06-29 08:16:05 | <[exa]> | from what I've seen, it's quite unlikely to be in the numbers, unless your usecase is about running 1 word64-specific instruction in a tight loop |
| 2021-06-29 08:16:09 | <merijn> | delYsid: Core, probably |
| 2021-06-29 08:16:10 | <kuribas> | merijn: quote "When you're using a resolver like Stackage, you already know all the packages build with each other. If your package builds too, then it probably works. I've found that this tends to be more future-proof and avoids the need to constantly bump the bounds to keep things working." |
| 2021-06-29 08:16:31 | <merijn> | kuribas: Yeah, don't do that |
| 2021-06-29 08:16:42 | <delYsid> | [exa]: Well, in the end, I indeed only do xor on these words... |
| 2021-06-29 08:16:46 | <[exa]> | delYsid: good question. Core is pretty readable, Stg and c-- can still be "parsed" and you can see if there's some wrapping that doesn't make sense |
| 2021-06-29 08:17:12 | <merijn> | kuribas: It's in fact, less future proof, because future version of *any* of your dependencies can release a breaking change in the future, retro-actively breaking all the old versions |
| 2021-06-29 08:17:27 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-06-29 08:17:29 | <merijn> | delYsid: Also, have you heard of our lord and saviour speedscope? |
| 2021-06-29 08:17:36 | <[exa]> | if it's slow, I'd guess it's doing some allocation in the tight loop, which should be avoidable |
| 2021-06-29 08:17:38 | <kuribas> | merijn: didn't bytestring make breaking changes? |
All times are in UTC.