Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→
Page 1 .. 899 900 901 902 903 904 905 906 907 908 909 .. 5022
502,152 events total
2020-10-27 20:38:03 × stree quits (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net) (Quit: Caught exception)
2020-10-27 20:38:21 stree joins (~stree@50-108-72-205.adr01.mskg.mi.frontiernet.net)
2020-10-27 20:39:22 sfvm joins (~sfvm@37.228.215.148)
2020-10-27 20:39:41 yianni joins (d8d049a0@216.208.73.160)
2020-10-27 20:40:44 × nek0 quits (~nek0@mail.nek0.eu) (Remote host closed the connection)
2020-10-27 20:41:21 nek0 joins (~nek0@2a01:4f8:222:2b41::12)
2020-10-27 20:41:37 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 264 seconds)
2020-10-27 20:41:41 × GyroW quits (~GyroW@unaffiliated/gyrow) (Quit: Someone ate my pie)
2020-10-27 20:41:51 GyroW joins (~GyroW@d54C03E98.access.telenet.be)
2020-10-27 20:41:51 × GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host)
2020-10-27 20:41:51 GyroW joins (~GyroW@unaffiliated/gyrow)
2020-10-27 20:43:05 lucasb joins (uid333435@gateway/web/irccloud.com/x-qizvrgxqojerddcd)
2020-10-27 20:43:31 × juuandyy quits (~juuandyy@90.166.144.65) (Quit: Konversation terminated!)
2020-10-27 20:43:32 × thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-10-27 20:44:39 Mrbuck joins (~Mrbuck@gateway/tor-sasl/mrbuck)
2020-10-27 20:45:32 <Mrbuck> https://youtu.be/O9upVbGSBFo?t=3801 Hi why did this guy said it took a week to write some small program in haskell and then it run like a turtle?
2020-10-27 20:45:33 × conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.)
2020-10-27 20:47:05 × hyiltiz quits (~quassel@unaffiliated/hyiltiz) (Ping timeout: 240 seconds)
2020-10-27 20:47:34 <Uniaika> idk, never saw him around asking for help :P
2020-10-27 20:47:44 <Athas> Mrbuck: I think he's exaggerating for effect, but Haskell is infamous for requiring more ceremony around IO.
2020-10-27 20:48:16 <Athas> Regarding performance, it's possible he used one of the old interpreters (Hugs), or just had a space leak. Haskell is not generally a particularly slow or fast language.
2020-10-27 20:48:28 hyiltiz joins (~quassel@82.118.227.47)
2020-10-27 20:48:29 × hyiltiz quits (~quassel@82.118.227.47) (Changing host)
2020-10-27 20:48:29 hyiltiz joins (~quassel@unaffiliated/hyiltiz)
2020-10-27 20:49:03 conal joins (~conal@64.71.133.70)
2020-10-27 20:49:43 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:79dc:6e3d:1f6f:5c9) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2020-10-27 20:50:10 jtobin joins (~jtobin@li1555-212.members.linode.com)
2020-10-27 20:50:20 <maerwald> They do some nice js bashing later though
2020-10-27 20:50:20 <Mrbuck> Athas: Thank you for the answer
2020-10-27 20:51:56 <davean> Haskell can produce quite fast code but calling GHC an optimizing compiler is a little silly. I can beat C implimentations in Haskell but I have to do the work.
2020-10-27 20:52:09 <davean> When i don't its several times slower by default usually.
2020-10-27 20:52:23 <tomsmeding> davean: ghc is an optimising compiler; if it didn't optimise your code, it would run a _lot_ slower ;)
2020-10-27 20:52:33 <tomsmeding> attestable by using -O0 with ghc
2020-10-27 20:52:34 × yianni quits (d8d049a0@216.208.73.160) (Ping timeout: 245 seconds)
2020-10-27 20:53:03 <davean> tomsmeding: I find the ASM GHC puts out to be pretty much the straight translation of my Haskell personally.
2020-10-27 20:53:37 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
2020-10-27 20:53:41 <tomsmeding> hm, perhaps most of the work is to strip away all the abstractions we like to make?
2020-10-27 20:53:48 <tomsmeding> *most of the work it does
2020-10-27 20:53:50 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 258 seconds)
2020-10-27 20:54:04 <davean> yes, thats most of the -O0 -O2 difference in many cases
2020-10-27 20:54:10 <davean> directly refering to, and inlining things
2020-10-27 20:54:16 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2020-10-27 20:54:16 <maerwald> I've never been able to beat C performance with haskell. That's an interesting statement
2020-10-27 20:54:18 <davean> but the code its self is straight line either way
2020-10-27 20:54:51 <tomsmeding> I wonder, ghc can use llvm as a backend, can't it? would that help?
2020-10-27 20:54:54 <davean> maerwald: usually my benchmarks there are reasonable C programs that compitent people wrote but didn't care to spend time optimizing.
2020-10-27 20:55:12 <davean> tomsmeding: LLVM doesn't help. Well it does, but only for heavy numerical portions of the code.
2020-10-27 20:55:23 <tomsmeding> makes sense
2020-10-27 20:55:27 <davean> for non-numerical codes, not using LLVM is faster
2020-10-27 20:55:37 <maerwald> Ah, I thought you wrote both implementations
2020-10-27 20:55:41 <tomsmeding> that may be the most interesting statement yet
2020-10-27 20:55:55 <maerwald> Everything else isn't really representative imo
2020-10-27 20:55:58 <tomsmeding> except if you mean _compilation_ is faster without llvm, which is unsurprising
2020-10-27 20:56:07 × taurux quits (~taurux@net-130-25-120-80.cust.vodafonedsl.it) (Ping timeout: 256 seconds)
2020-10-27 20:56:12 nbloomf joins (~nbloomf@2600:1700:ad14:3020:4998:5831:a85a:ec6f)
2020-10-27 20:56:15 <davean> maerwald: I'd say that isn't representative because that would be comparing how much effort and skill *I* had
2020-10-27 20:56:19 <davean> tomsmeding: no
2020-10-27 20:56:38 <davean> tomsmeding: I mean the generated program is faster without LLVM if its not generally numerical in nature.
2020-10-27 20:56:45 <maerwald> Yes and yet it's the only useful comparison
2020-10-27 20:56:53 <tomsmeding> that sounds like a huge failure of llvm then :p
2020-10-27 20:56:57 × chenshen quits (~chenshen@2620:10d:c090:400::4:bbc) (Ping timeout: 260 seconds)
2020-10-27 20:56:57 <tomsmeding> or of ghc's usage of it
2020-10-27 20:57:14 yianni joins (18390fbe@d24-57-15-190.home.cgocable.net)
2020-10-27 20:57:21 <davean> maerwald: I don't think thats true "This is the actual C code people put out as final products" vs. "This is how I can do it in Haskell given $X time" is perfectly useful.
2020-10-27 20:57:35 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2020-10-27 20:57:40 <maerwald> As in: I want to know if anyone proficient with both languages managed to beat C
2020-10-27 20:57:52 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
2020-10-27 20:57:59 <maerwald> I wasn't able to
2020-10-27 20:58:14 <davean> maerwald: but that just says you're more proficient at C optimization
2020-10-27 20:58:20 <maerwald> No
2020-10-27 20:58:32 <maerwald> You need more data points
2020-10-27 20:58:40 × m-renaud quits (sid333785@gateway/web/irccloud.com/x-nlleieqxzwqsksor) (*.net *.split)
2020-10-27 20:58:40 × albethere quits (sid457088@gateway/web/irccloud.com/x-jhhnyunwyziyizkz) (*.net *.split)
2020-10-27 20:58:40 × liquorice quits (sid267884@gateway/web/irccloud.com/x-knalwnvbywyqzpnh) (*.net *.split)
2020-10-27 20:58:40 × sis7_ quits (~user@2001:15e8:110:473e::1) (*.net *.split)
2020-10-27 20:58:40 × ^[_ quits (sid43445@gateway/web/irccloud.com/x-gnsjjoiabatnywnb) (*.net *.split)
2020-10-27 20:58:40 × J_Arcane quits (sid119274@gateway/web/irccloud.com/x-iytmbzigvgcxgusu) (*.net *.split)
2020-10-27 20:58:40 × ocharles quits (sid30093@musicbrainz/user/ocharles) (*.net *.split)
2020-10-27 20:58:40 × joshmeredith quits (sid387798@gateway/web/irccloud.com/x-lhhtwrcyukiolswv) (*.net *.split)
2020-10-27 20:58:40 × pong quits (chiya@2406:3003:2077:2341::babe) (*.net *.split)
2020-10-27 20:58:40 × nopf quits (~frosch@static.179.17.76.144.clients.your-server.de) (*.net *.split)
2020-10-27 20:58:48 nopf joins (~frosch@static.179.17.76.144.clients.your-server.de)
2020-10-27 20:58:50 liquorice joins (sid267884@gateway/web/irccloud.com/x-volnulzrerkaifsx)
2020-10-27 20:58:51 m-renaud joins (sid333785@gateway/web/irccloud.com/x-jxglvjindagumsef)
2020-10-27 20:58:52 J_Arcane joins (sid119274@gateway/web/irccloud.com/x-bqxivhzktyeyfmzj)
2020-10-27 20:58:54 ocharles joins (sid30093@musicbrainz/user/ocharles)
2020-10-27 20:58:54 joshmeredith joins (sid387798@gateway/web/irccloud.com/x-hdepxcnffbqdlwvu)
2020-10-27 20:58:59 sis7_ joins (~user@2001:15e8:110:473e::1)
2020-10-27 20:58:59 pong joins (chiya@2406:3003:2077:2341::babe)
2020-10-27 20:59:00 albethere joins (sid457088@gateway/web/irccloud.com/x-fmchgsvxhdmjvieq)
2020-10-27 20:59:16 ^[_ joins (sid43445@gateway/web/irccloud.com/x-iztepeaguyumtzta)
2020-10-27 20:59:56 × DavidEichmann quits (~david@43.240.198.146.dyn.plus.net) (Ping timeout: 256 seconds)
2020-10-27 21:00:02 × valli1 quits (~valli@185.244.214.217) ()
2020-10-27 21:00:48 Majiir joins (~Majiir@pool-96-237-149-35.bstnma.fios.verizon.net)
2020-10-27 21:00:49 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
2020-10-27 21:01:00 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
2020-10-27 21:01:46 feuerbach_ is now known as feuerbach
2020-10-27 21:01:52 notnatebtw joins (~nate@125.161.130.165)
2020-10-27 21:01:53 × conal quits (~conal@64.71.133.70) (Ping timeout: 260 seconds)
2020-10-27 21:02:05 × feuerbach quits (~feuerbach@178.62.103.229) (Changing host)

All times are in UTC.