Logs: freenode/#haskell
| 2021-03-02 14:03:27 | <dminuoso> | ij: Well sure, it has different locality. |
| 2021-03-02 14:03:51 | <dminuoso> | If you want to traverse data, then AoS is more efficient since you can fit more per cache line |
| 2021-03-02 14:04:18 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:c491:50f:2150:49a6) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-03-02 14:04:28 | <dminuoso> | On some numerical calculations SoA can be more efficient if you leverage SIMD a lot (which in GHC Haskell requires manual use of SIMD primops) |
| 2021-03-02 14:04:47 | → | kam1 joins (~kam1@5.125.82.63) |
| 2021-03-02 14:04:49 | <dminuoso> | The advantage depends on the usage pattern |
| 2021-03-02 14:04:54 | <ij> | right, it depends :/ |
| 2021-03-02 14:05:00 | <dminuoso> | There's also a third option |
| 2021-03-02 14:05:05 | <ij> | I am just blindsighted by the fact that I know what the usecase is going to be |
| 2021-03-02 14:05:31 | <dminuoso> | You can keep *both* representations around. |
| 2021-03-02 14:05:57 | <dminuoso> | Or do something like AoSoA, which is best done with Storable I guess. |
| 2021-03-02 14:06:06 | <dminuoso> | (Or unboxed + storable) |
| 2021-03-02 14:06:15 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:2d2c:7153:bdbb:6201) (Ping timeout: 240 seconds) |
| 2021-03-02 14:06:58 | <Cale> | Xenosi: There's nothing special about True and False, they're data constructors like any others. So you want ConE |
| 2021-03-02 14:07:29 | → | roconnor joins (~roconnor@host-104-157-194-235.dyn.295.ca) |
| 2021-03-02 14:07:33 | × | bobiusbillius quits (~bobiusbil@2a00:23c7:9909:5b01:909a:85aa:703a:457c) (Quit: To the neversphere.) |
| 2021-03-02 14:07:33 | × | matthew112 quits (~Username@c-67-185-10-147.hsd1.wa.comcast.net) (Quit: Going offline, see ya! (www.adiirc.com)) |
| 2021-03-02 14:07:34 | <ij> | dminuoso, cool, though I don't need such exoticity yet :) dminuoso, merijn, thank you |
| 2021-03-02 14:07:36 | <Cale> | ConE 'True and ConE 'False |
| 2021-03-02 14:07:49 | → | bobiusbillius joins (~bobiusbil@2a00:23c7:9909:5b01:909a:85aa:703a:457c) |
| 2021-03-02 14:09:01 | <Xenosi> | Cale: Thank you, I was looking too far it seems |
| 2021-03-02 14:10:23 | × | geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
| 2021-03-02 14:11:12 | → | catt joins (~r@31.127.31.99) |
| 2021-03-02 14:13:45 | → | carlomagno joins (~cararell@148.87.23.10) |
| 2021-03-02 14:14:55 | → | minoru_shiraeesh joins (~shiraeesh@5.101.59.37) |
| 2021-03-02 14:21:29 | → | deviantfero joins (~deviantfe@190.150.27.58) |
| 2021-03-02 14:23:25 | × | phaazon quits (~phaazon@2001:41d0:a:fe76::1) (Quit: WeeChat 2.9) |
| 2021-03-02 14:24:21 | × | ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection) |
| 2021-03-02 14:25:21 | → | ukari joins (~ukari@unaffiliated/ukari) |
| 2021-03-02 14:26:47 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-03-02 14:27:35 | × | raehik1 quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds) |
| 2021-03-02 14:29:51 | → | raehik1 joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 2021-03-02 14:33:13 | → | bitmapper joins (uid464869@gateway/web/irccloud.com/x-aqvovigjeqvpxetm) |
| 2021-03-02 14:37:39 | → | viluon joins (uid453725@gateway/web/irccloud.com/x-fpwdjwiyfpigsxnc) |
| 2021-03-02 14:37:50 | → | elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) |
| 2021-03-02 14:39:03 | <perrier-jouet> | is it ok to install all haskell packages globally or per project basis ? |
| 2021-03-02 14:39:12 | → | mayleesia joins (4e37a6aa@dynamic-078-055-166-170.78.55.pool.telefonica.de) |
| 2021-03-02 14:39:21 | <merijn> | perrier-jouet: Which tool are you using? |
| 2021-03-02 14:39:26 | × | deja quits (~deja@213142096165.public.telering.at) (Quit: requested) |
| 2021-03-02 14:39:43 | → | usr25 joins (~usr25@unaffiliated/usr25) |
| 2021-03-02 14:40:30 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-83-46.w86-212.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-03-02 14:40:51 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-83-46.w86-212.abo.wanadoo.fr) |
| 2021-03-02 14:40:52 | <merijn> | perrier-jouet: cabal automatically handles conflicting global installs (it supports arbitrarily many conflicting installs of the same package and automatically provides projects with a consistent view) |
| 2021-03-02 14:41:23 | <merijn> | perrier-jouet: stack otoh sandboxes per snapshot and only exposes packages from a single snapshot to a project |
| 2021-03-02 14:41:37 | <merijn> | So either way there's not really a thing like "per project" or "global" |
| 2021-03-02 14:43:49 | × | knupfer quits (~Thunderbi@i577BCEB5.versanet.de) (Ping timeout: 265 seconds) |
| 2021-03-02 14:45:44 | × | bobiusbillius quits (~bobiusbil@2a00:23c7:9909:5b01:909a:85aa:703a:457c) (Remote host closed the connection) |
| 2021-03-02 14:46:11 | → | bobiusbillius joins (~bobiusbil@2a00:23c7:9909:5b01:909a:85aa:703a:457c) |
| 2021-03-02 14:46:49 | × | python47` quits (~user@mfl93-13-83-155-250-136.fbx.proxad.net) (Ping timeout: 260 seconds) |
| 2021-03-02 14:49:39 | × | Xenosi quits (5152c413@d5152c413.static.telenet.be) (Quit: Connection closed) |
| 2021-03-02 14:49:52 | × | evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Ping timeout: 276 seconds) |
| 2021-03-02 14:51:12 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-03-02 14:51:50 | → | elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net) |
| 2021-03-02 14:53:14 | <Franciman> | stack is slow |
| 2021-03-02 14:53:29 | → | _noblegas joins (uid91066@gateway/web/irccloud.com/x-cjmongmnsmgaohho) |
| 2021-03-02 14:54:00 | <maerwald> | Franciman: in what way? |
| 2021-03-02 14:54:19 | <maerwald> | many operations are faster than cabal (except the thing where it downloads GHC all the time) |
| 2021-03-02 14:54:28 | <Franciman> | I changed lts version, it is compiling the whole hackage, it seems |
| 2021-03-02 14:54:35 | <Franciman> | and yes it is downloading a new ghc |
| 2021-03-02 14:54:36 | <maerwald> | that's expected |
| 2021-03-02 14:55:15 | <maerwald> | `stack install` is way faster than `cabal install`, same for stack scripts vs cabal-scripts |
| 2021-03-02 14:55:15 | <Franciman> | I am trapped in this piece of software |
| 2021-03-02 14:55:40 | <Franciman> | the problem is that it does many things I do not need |
| 2021-03-02 14:55:45 | <maerwald> | cabals configure phase and checking caching wastes a lot of time |
| 2021-03-02 14:56:15 | <maerwald> | yes, you can stack to shut up and use system ghc |
| 2021-03-02 14:56:18 | <maerwald> | *tell |
| 2021-03-02 14:57:08 | <Franciman> | oh really? |
| 2021-03-02 14:57:08 | <maerwald> | tying GHC version to a set of packages is non-sensical, except for cases where base requires it (rarely), so I tend to just ignore that part |
| 2021-03-02 14:57:10 | <maerwald> | yes |
| 2021-03-02 14:57:25 | <Franciman> | that's game changing |
| 2021-03-02 14:57:26 | <Franciman> | thanks |
| 2021-03-02 14:57:46 | → | pera_ joins (~pera_@94.0.111.239) |
| 2021-03-02 14:58:54 | × | usr25 quits (~usr25@unaffiliated/usr25) (Read error: Connection reset by peer) |
| 2021-03-02 15:01:26 | × | minoru_shiraeesh quits (~shiraeesh@5.101.59.37) (Read error: No route to host) |
| 2021-03-02 15:02:01 | → | minoru_shiraeesh joins (~shiraeesh@5.101.59.37) |
| 2021-03-02 15:02:43 | → | evanjs joins (~evanjs@075-129-098-007.res.spectrum.com) |
| 2021-03-02 15:06:14 | × | coot quits (~coot@37.30.55.141.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2021-03-02 15:06:35 | → | nbloomf joins (~nbloomf@2600:1700:ad14:3020:9e8:974b:3cc7:3f5e) |
| 2021-03-02 15:06:53 | → | coot joins (~coot@37.30.55.141.nat.umts.dynamic.t-mobile.pl) |
| 2021-03-02 15:08:58 | → | mmmattyx joins (uid17782@gateway/web/irccloud.com/x-sxrgytxuuwuucfer) |
| 2021-03-02 15:09:53 | → | crobbins joins (~crobbins@2601:2c1:200:ec50:2c10:d848:8f1f:38a4) |
| 2021-03-02 15:12:24 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:9e8:974b:3cc7:3f5e) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2021-03-02 15:12:26 | × | raym quits (~ray@45.64.220.3) (Quit: leaving) |
| 2021-03-02 15:13:01 | → | python47` joins (~user@mfl93-13-83-155-250-136.fbx.proxad.net) |
| 2021-03-02 15:15:15 | × | Benzi-Junior quits (~BenziJuni@88-149-67-143.du.xdsl.is) (Ping timeout: 240 seconds) |
| 2021-03-02 15:18:04 | → | remby joins (~rcg@bras-base-london1483w-grc-21-76-67-124-27.dsl.bell.ca) |
| 2021-03-02 15:22:08 | × | geyaeb_ quits (~geyaeb@gateway/tor-sasl/geyaeb) (Remote host closed the connection) |
| 2021-03-02 15:22:08 | × | xelxebar quits (~xelxebar@gateway/tor-sasl/xelxebar) (Remote host closed the connection) |
| 2021-03-02 15:22:25 | → | xelxebar joins (~xelxebar@gateway/tor-sasl/xelxebar) |
| 2021-03-02 15:22:27 | → | geyaeb joins (~geyaeb@gateway/tor-sasl/geyaeb) |
| 2021-03-02 15:23:47 | → | natechan joins (~natechan@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-03-02 15:27:39 | × | minoru_shiraeesh quits (~shiraeesh@5.101.59.37) (Ping timeout: 260 seconds) |
| 2021-03-02 15:29:30 | → | mrchampion joins (~mrchampio@38.18.109.23) |
| 2021-03-02 15:29:58 | → | cr3 joins (~cr3@192-222-143-195.qc.cable.ebox.net) |
| 2021-03-02 15:30:54 | → | minoru_shiraeesh joins (~shiraeesh@5.101.59.37) |
| 2021-03-02 15:30:57 | × | kenran quits (~kenran@b2b-37-24-119-190.unitymedia.biz) (Quit: leaving) |
| 2021-03-02 15:31:17 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-03-02 15:33:24 | mxwk | is now known as mawk |
| 2021-03-02 15:35:52 | → | tsaka__ joins (~torstein@2a02:587:1b14:d00:5ec3:abec:812c:b3e2) |
| 2021-03-02 15:36:30 | ← | jil` parts (~user@45.86.162.6) ("ERC (IRC client for Emacs 26.1)") |
All times are in UTC.