Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 990 991 992 993 994 995 996 997 998 999 1000 .. 18030
1,802,926 events total
2021-07-17 20:59:41 <maerwald> or maybe I just imagined that
2021-07-17 21:00:33 <dmj`> geekosaur: what are your thoughts on GRIN as a backend for GHC
2021-07-17 21:00:36 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 255 seconds)
2021-07-17 21:01:29 burnsidesLlama joins (~burnsides@client-8-82.eduroam.oxuni.org.uk)
2021-07-17 21:02:35 Maxdamantus joins (~Maxdamant@user/maxdamantus)
2021-07-17 21:04:12 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-17 21:04:36 favonia joins (~favonia@user/favonia)
2021-07-17 21:05:18 <geekosaur> looks to me like it really wants to be a whole-program compiler? which ghc kinda doesn't
2021-07-17 21:05:33 × burnsidesLlama quits (~burnsides@client-8-82.eduroam.oxuni.org.uk) (Remote host closed the connection)
2021-07-17 21:05:42 <geekosaur> (and yet kinda does since it "fakes it" via exporting cidode in .hi files)
2021-07-17 21:05:55 <geekosaur> *code
2021-07-17 21:07:27 <geekosaur> still, makes me wonder how well grin would work if used thye way ghc would use it instead of whole-program
2021-07-17 21:07:40 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
2021-07-17 21:09:43 <geekosaur> would really need to write out IR files instead of object files and let the backend take it from there, but I'm not sure how well ghc would work with that setup given it doesn't e.g. do that with llvm IR
2021-07-17 21:11:06 <geekosaur> and you couldn't mix grin backend objects with non-grin backend, like you currently can with llvm vs. asm
2021-07-17 21:11:25 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 250 seconds)
2021-07-17 21:13:22 <geekosaur> I think ghc would have to treat grin not as a backend but as a "way" (e.g. static vs. dynamic, or profiled vs. non-profiled)
2021-07-17 21:13:37 <monochrom> cabal was invented long before "industry standard" existed.
2021-07-17 21:14:02 <monochrom> Apart from XML.
2021-07-17 21:14:22 <Rembane> I wonder why industry didn't go with cabal's format.
2021-07-17 21:15:23 <monochrom> And JVM bytecode.
2021-07-17 21:15:50 <geekosaur> because it's only friendly to haskell, since haskell is friendly to parsers?
2021-07-17 21:16:18 <dmj`> ghc-grin forks ghc it seems, exports *all* of the STG somewhere, does the analysis, brings it back and continues on in the pipeline, to great effect. Suppose we went the nuclear option and replaced STG with GRIN. GRIN would inline the eval function (which is currently hardcoded in the RTS), then perform the WPO, then emit LLVM.
2021-07-17 21:16:19 <geekosaur> and the syntax is at least reminiscent of haskell
2021-07-17 21:16:34 <dmj`> We could even compile the RTS to GRIN and include it in the optimization phases, which would have the effect of dead code eliminating parts of the RTS that were unused, like GC for example.
2021-07-17 21:16:50 × hendursaga quits (~weechat@user/hendursaga) (Remote host closed the connection)
2021-07-17 21:16:52 <geekosaur> interesting
2021-07-17 21:17:15 hendursaga joins (~weechat@user/hendursaga)
2021-07-17 21:19:03 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-17 21:19:03 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 255 seconds)
2021-07-17 21:19:33 favonia joins (~favonia@user/favonia)
2021-07-17 21:20:33 <dmj`> benefits from WPO are so large even naive pointer analysis (steensgaard) is an enormous win, would still need a fast interpreter though
2021-07-17 21:21:12 <dmj`> thomas johnson created STG, then his final work was GRIN, but it never saw prominence in GHC, I wonder why that is
2021-07-17 21:23:53 <geekosaur> probably because ghc's architecture makes intervening at the stg layer more difficult than it should be
2021-07-17 21:24:36 chomwitt joins (~Pitsikoko@athedsl-32487.home.otenet.gr)
2021-07-17 21:27:20 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-17 21:30:54 <dmj`> exactly, too much code at that point
2021-07-17 21:31:20 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 265 seconds)
2021-07-17 21:33:00 Erutuon joins (~Erutuon@user/erutuon)
2021-07-17 21:33:38 favonia joins (~favonia@user/favonia)
2021-07-17 21:34:54 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-07-17 21:35:03 <dmj`> realizing that GRIN's eval inlining is the first step in undoing the overhead of lazy evaluation (while preserving semantics) was pretty mind-blowing
2021-07-17 21:36:32 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-17 21:37:03 × mcfrdy quits (~mcfrdy@user/mcfrdy) (Ping timeout: 255 seconds)
2021-07-17 21:37:24 mcfrdy joins (~mcfrdy@45.67.96.175)
2021-07-17 21:37:24 × mcfrdy quits (~mcfrdy@45.67.96.175) (Changing host)
2021-07-17 21:37:24 mcfrdy joins (~mcfrdy@user/mcfrdy)
2021-07-17 21:38:52 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
2021-07-17 21:39:26 × chexum quits (~chexum@gateway/tor-sasl/chexum) (Quit: -)
2021-07-17 21:39:52 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 246 seconds)
2021-07-17 21:40:32 × mnrmnaugh quits (~mnrmnaugh@pool-96-252-87-182.bstnma.fios.verizon.net) (Quit: Leaving)
2021-07-17 21:40:34 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 246 seconds)
2021-07-17 21:41:19 chexum joins (~chexum@gateway/tor-sasl/chexum)
2021-07-17 21:42:11 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-17 21:43:11 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-17 21:44:22 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
2021-07-17 21:46:07 × vysn quits (~vysn@user/vysn) (Remote host closed the connection)
2021-07-17 21:46:42 favonia joins (~favonia@user/favonia)
2021-07-17 21:48:43 × silverwhitefish quits (~hidden@47.202.102.10) (Ping timeout: 258 seconds)
2021-07-17 21:52:16 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 252 seconds)
2021-07-17 21:54:04 × Null_A quits (~null_a@2601:645:8700:2290:b55a:33c2:1e1d:f229) (Remote host closed the connection)
2021-07-17 21:54:40 Null_A joins (~null_a@2601:645:8700:2290:b55a:33c2:1e1d:f229)
2021-07-17 21:55:30 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 255 seconds)
2021-07-17 21:59:07 × Null_A quits (~null_a@2601:645:8700:2290:b55a:33c2:1e1d:f229) (Ping timeout: 246 seconds)
2021-07-17 21:59:57 euandreh joins (~euandreh@2804:14c:33:9fe5:9d95:c71:11e4:3e0f)
2021-07-17 22:06:06 × Vajb quits (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) (Remote host closed the connection)
2021-07-17 22:06:20 Vajb joins (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi)
2021-07-17 22:07:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-07-17 22:09:09 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 268 seconds)
2021-07-17 22:10:32 × yoctocell quits (~user@h87-96-130-155.cust.a3fiber.se) (Ping timeout: 255 seconds)
2021-07-17 22:13:11 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-17 22:14:07 Atum_ joins (~IRC@user/atum/x-2392232)
2021-07-17 22:17:10 × ubert quits (~Thunderbi@p2e5a50e5.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
2021-07-17 22:19:46 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 258 seconds)
2021-07-17 22:19:49 hexfive joins (~eric@50.35.83.177)
2021-07-17 22:20:53 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-17 22:32:28 jmorris joins (uid433911@id-433911.stonehaven.irccloud.com)
2021-07-17 22:35:06 × favonia quits (~favonia@user/favonia) (Ping timeout: 255 seconds)
2021-07-17 22:35:24 favonia joins (~favonia@user/favonia)
2021-07-17 22:35:43 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
2021-07-17 22:36:37 lavaman joins (~lavaman@98.38.249.169)
2021-07-17 22:41:46 × isekaijin quits (~pyon@user/pyon) (Ping timeout: 252 seconds)
2021-07-17 22:41:54 × mikoto-chan quits (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) (Ping timeout: 265 seconds)
2021-07-17 22:42:00 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
2021-07-17 22:47:13 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 265 seconds)
2021-07-17 22:51:15 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-17 22:52:40 × oxide quits (~lambda@user/oxide) (Ping timeout: 246 seconds)
2021-07-17 22:56:53 × jespada quits (~jespada@90.254.247.46) (Ping timeout: 265 seconds)
2021-07-17 22:57:12 machinedgod joins (~machinedg@24.105.81.50)
2021-07-17 22:59:23 jespada joins (~jespada@90.254.247.46)
2021-07-17 23:01:38 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net)
2021-07-17 23:01:47 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
2021-07-17 23:02:17 × spruit11 quits (~quassel@2a02:a467:ccd6:1:4852:6669:da0c:37fe) (Ping timeout: 255 seconds)
2021-07-17 23:02:36 <danso> is there a typeclass that generalizes fromMaybe and fromRight?
2021-07-17 23:02:53 <danso> it seems closely related to Alternative, like <|>
2021-07-17 23:03:29 <danso> but (<|>) :: f a -> f a -> f a
2021-07-17 23:03:31 <hpc> :t traverse
2021-07-17 23:03:32 <lambdabot> (Traversable t, Applicative f) => (a -> f b) -> t a -> f (t b)
2021-07-17 23:03:36 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-07-17 23:03:41 <danso> i'm looking for f a -> f a -> a

All times are in UTC.