Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

something is seriously wrong here

Playing with a Haskell compiler:
lulu:~/hs% cat test.hs
module Main where

main :: IO ()
main = do putStr "ok\n"
       
lulu:~/hs% time ghc test.hs
ghc test.hs  2.61s user 0.67s system 99% cpu 3.283 total
2.6 seconds to compile a three line program!?
lulu:~/hs% ./a.out 
ok
lulu:~/hs% ls -l a.out 
-rwxr-xr-x    1 martine  martine   4741690 2004-04-14 11:55 a.out
And the executable is 4.7mb.
Subscribe

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 8 comments