Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

#haskell

Name: Anonymous 2014-05-30 20:30

08:08:11 --- join: ddellacosta (~ddellacos@softbank126126136112.bbtec.net) joined #haskell
08:09:12 <rwbarton> haasn: for instance, just comparing "main = mapM_ print [1..10000000]" to a C program using printf, it is already only ~5 times slower
08:10:00 <albeit> Why "already only"? Is that faster than you would expect?
08:10:02 <vanila> Why is haskell so slow?
08:10:18 <rwbarton> I am just responding to <haasn> I guess for String, “only an order of magnitude” would count as “surprisingly efficient”
08:10:22 --- join: tvorog (~marsel@94.180.188.7) joined #haskell
08:10:34 <mmachenry1> vanila: Maybe Haskell just woke up.
08:10:44 --- nick: mmachenry1 -> mmachenry
08:10:58 <Maior> vanila: do you just sit in channels to troll them? the Django stuff yesterday about the master/slave stuff was unsubtle
08:11:06 --- join: folone (~folone@62.72.64.50) joined #haskell
08:11:14 --- quit: plosi (Remote host closed the connection)
08:11:16 <Maior> (for a flexible value of yesterday that means "some days in the recent past")
08:11:22 --- quit: sopvop (Quit: Leaving.)
08:11:41 <mmachenry> Maior: I guess I *was* born yesterday ;)
08:11:45 <napping> Is there an easy way to expand unicode ligature characters (I really just need "ff" and "ffi", guess I could hardcode them)
08:11:49 --- join: tommd (~tommd@2001:4870:e08e:201:728b:eaff:fefb:fc9b) joined #haskell
08:12:09 <Maior> mmachenry: :P
08:12:11 --- join: assia_t (~assia_t@179.208.192.231) joined #haskell
08:12:23 --- quit: Aetherspawn (Quit: Aetherspawn)
08:12:35 <napping> Data.Text.ICU.Normalize probably does it somehow
08:12:41 --- quit: ddellacosta (Ping timeout: 252 seconds)
08:12:57 --- join: u_ (~phillip@75.57.165.245) joined #haskell
08:12:58 --- quit: ifesdjee_ (Remote host closed the connection)
08:13:30 --- quit: davorb (Ping timeout: 252 seconds)
08:13:36 --- quit: free_beard (Quit: Leaving.)
08:13:59 --- join: piezo (~piezoid@ADijon-652-1-160-164.w90-56.abo.wanadoo.fr) joined #haskell
08:14:10 --- join: free_beard (~mircea@unaffiliated/free-beard/x-6152516) joined #haskell
08:14:20 <absence> has it been decided when the applicative monad proposal will hit ghc head? anytime soon, or closer to 7.10 release?
08:14:29 --- join: circ-user-s4yHg (~circuser-@eth-seco11pa2-46-193-1-142.wb.wifirst.net) joined #haskell
08:14:32 --- join: agamble (~agamble@nat-245-140.internal.eduroam.ucl.ac.uk) joined #haskell
08:14:35 --- join: davorb (~davorb@hd5b91cc8.k9211.dyn.perspektivbredband.net) joined #haskell
08:15:35 --- join: phunker (~devil@93-50-163-37.ip153.fastwebnet.it) joined #haskell
08:15:40 <Maior> absence: ooh got a link handy?
08:15:51 <vanila> Maior: Since you're ignoring my PM I'll say it here: that was very rude and unfair of you
08:16:26 --- quit: thunderrd (Ping timeout: 245 seconds)
08:16:31 <Maior> vanila: I have PMs from non-friends disabled
08:16:31 <ion> {-# LANGUAGE ffi #-}
08:16:33 --- quit: ktosiek (Ping timeout: 245 seconds)
08:17:03 <Maior> vanila: meanwhile, I stand by it as a valid question from the data I have
08:17:11 --- nick: benzrf|offline -> benzrf
08:17:29 <vanila> Maior, move discussion to PM
08:17:40 <Maior> I'll pass
08:17:51 --- quit: mgsloan (Ping timeout: 240 seconds)
08:18:37 --- quit: Zeitgeist_ (Ping timeout: 276 seconds)
08:19:16 --- quit: circ-user-s4yHg (Remote host closed the connection)
08:19:20 <mmachenry> Maior: It's not really a valid question yet. I don't have your data and your question is underspecified. Unless I missed something which is possible, I lost network a moment ago.
08:19:27 <absence> Maior: http://www.haskell.org/haskellwiki/Functor-Applicative-Monad_Proposal
08:19:44 <ion> vanila: Pastebin your code and we can try to figure out why it’s too slow. Otherwise the question can only be answered with mu.
08:19:56 --- join: gregors (~gregors@99-9-225-70.lightspeed.iplsin.sbcglobal.net) joined #haskell
08:19:59 <rwbarton> absence: there is no scheduling of when things hit GHC HEAD in my experience. either someone gets around to it, or not
08:20:10 <Maior> absence: cheers
08:20:28 --- join: pilu (~pilu@r186-54-241-47.dialup.adsl.anteldata.net.uy) joined #haskell

Name: Anonymous 2014-06-08 0:23

The whole “correctness proof” line is silly because *no one writes correctness proofs*. Real programs – programs that solve real problems – are generally large and complex enough that even if you’re using a language like Haskell, writing a correctness proof *still* isn’t practical. Sure, you can easily write a correctness proof for an implementation of a binary search tree in Haskell. You *can* write a correctness proof for that in, say, Java. But the Haskell proof will be easier and cleaner, and you’ll be able to trust the connection between the code and the proof much more than you could in Java. But really, a good set of tests – which you *should* be writing, whether you’re programming in Java, C, or Haskell – does as good a job of verifying the correctness of something simple like that. And for anything significantly more complicated than that, people just *don’t* write proofs. I’ve certainly *never* seen a correctness proof for a Haskell program, except in papers arguing about how provable correctness is in Haskell. (Does GHC have correctness proofs? I doubt it. It’s certainly had quite its share of bugs, which means that either it’s correctness isn’t proven, or the proof is wrong!)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List