Re: [Haskell] ANNOUNCE: HNOP 0.1
> Could you perhaps write a Haskell Weekly News entry for this? It might > also be worth contacting Andres Löh and seeing if we can get a late > entry into the Haskell Communities and Activities Report, this seems > critical enough. I agree that it is pretty critical, but I'll rather do a HNOP this time, and instead give it a prominent position in the November edition (if I receive a project report). Cheers, Andres ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] ANNOUNCE: HNOP 0.1
On 30/06/06, Ashley Yakeley <[EMAIL PROTECTED]> wrote: HNOP: Haskell No Operation Could you perhaps write a Haskell Weekly News entry for this? It might also be worth contacting Andres Löh and seeing if we can get a late entry into the Haskell Communities and Activities Report, this seems critical enough. I also think it could perhaps run faster by using ByteStrings. -- -David House, [EMAIL PROTECTED] ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
[haskell] ANNOUNCE: HNOP 0.1
Split objects? What's that? I'm running this on Linux (Debian unstable). Mike Donald Bruce Stewart wrote: mvanier: Incidentally, on my machine the compiled code is 2759360 bytes long unstripped and 1491240 stripped. One has to wonder what all those bytes are doing. I hope this doesn't sound petty; I love haskell and ghc, but 2.8 meg for a no-op program seems a bit excessive. Hmm. Sounds like you're using ghc on a machine with no split objects? With split objs, $ du -hs dist/build/hnop/hnop 192Kdist/build/hnop/hnop Note the object is just: $ du -hs dist/build/hnop/hnop-tmp/Main.o 4.0Kdist/build/hnop/hnop-tmp/Main.o The rest is rts and the tiny bit of the prelude hnop uses. On the mac, you can use a dynamically linked rts and base, and there hnop would be around 5k, I suppose. -- Don ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] ANNOUNCE: HNOP 0.1
mvanier: > Incidentally, on my machine the compiled code is 2759360 bytes long > unstripped and 1491240 stripped. One has to wonder what all those bytes > are doing. I hope this doesn't sound petty; I love haskell and ghc, but > 2.8 meg for a no-op program seems a bit excessive. Hmm. Sounds like you're using ghc on a machine with no split objects? With split objs, $ du -hs dist/build/hnop/hnop 192Kdist/build/hnop/hnop Note the object is just: $ du -hs dist/build/hnop/hnop-tmp/Main.o 4.0Kdist/build/hnop/hnop-tmp/Main.o The rest is rts and the tiny bit of the prelude hnop uses. On the mac, you can use a dynamically linked rts and base, and there hnop would be around 5k, I suppose. -- Don ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] ANNOUNCE: HNOP 0.1
Incidentally, on my machine the compiled code is 2759360 bytes long unstripped and 1491240 stripped. One has to wonder what all those bytes are doing. I hope this doesn't sound petty; I love haskell and ghc, but 2.8 meg for a no-op program seems a bit excessive. I think the program could also benefit from a configure script and autotools. But it's a great start. Mike Bayley, Alistair wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashley Yakeley HNOP does nothing. Here's a sample session to illustrate: $ ./hnop $ The code is written entirely in plain Haskell 98 and makes no use of FFI or impure functions. The source is available in a darcs repository: darcs get http://semantic.org/hnop/ Possible applications include generated code size comparison for compilers, and as a starting point for more complex Haskell projects. Cool, that's awesome. But I don't see any Haddock docs? Or a Cabal Setup.hs? Would it be much trouble to add them? Alistair * Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. * ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] ANNOUNCE: HNOP 0.1
Alistair_Bayley: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Ashley Yakeley > > > > HNOP does nothing. Here's a sample session to illustrate: > > > > $ ./hnop > > $ > > > > The code is written entirely in plain Haskell 98 and makes no > > use of FFI > > or impure functions. The source is available in a darcs repository: > > > >darcs get http://semantic.org/hnop/ > > > > Possible applications include generated code size comparison for > > compilers, and as a starting point for more complex Haskell projects. > > > Cool, that's awesome. But I don't see any Haddock docs? Or a Cabal > Setup.hs? Would it be much trouble to add them? Done. See attached patch. :) -- Don New patches: [cabalise hnop [EMAIL PROTECTED] { addfile ./Setup.hs hunk ./Setup.hs 1 +#!/usr/bin/env runhaskell +import Distribution.Simple +main = defaultMainWithHooks defaultUserHooks addfile ./hnop.cabal hunk ./hnop.cabal 1 +Name:hnop +Version: 0.0 +License-file:LICENSE +Author: Ashley Yakeley. +build-depends: base + +Executable: hnop +Main-Is: Main.hs } [haddock-ise hnop [EMAIL PROTECTED] { hunk ./Main.hs 4 +-- | main, do nothing } Context: [initial version Ashley Yakeley <[EMAIL PROTECTED]>**20060630034031] Patch bundle hash: 87f8e91810a0ead23187d03031374f7d838ecfcd ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
RE: [Haskell] ANNOUNCE: HNOP 0.1
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ashley Yakeley > > HNOP does nothing. Here's a sample session to illustrate: > > $ ./hnop > $ > > The code is written entirely in plain Haskell 98 and makes no > use of FFI > or impure functions. The source is available in a darcs repository: > >darcs get http://semantic.org/hnop/ > > Possible applications include generated code size comparison for > compilers, and as a starting point for more complex Haskell projects. Cool, that's awesome. But I don't see any Haddock docs? Or a Cabal Setup.hs? Would it be much trouble to add them? Alistair * Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. * ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
[Haskell] ANNOUNCE: HNOP 0.1
HNOP: Haskell No Operation A first version of HNOP 0.1 is now available under a simple permissive license. This version should be considered "beta" quality, though I don't know of any bugs. http://semantic.org/hnop.tar.gz HNOP does nothing. Here's a sample session to illustrate: $ ./hnop $ The code is written entirely in plain Haskell 98 and makes no use of FFI or impure functions. The source is available in a darcs repository: darcs get http://semantic.org/hnop/ Possible applications include generated code size comparison for compilers, and as a starting point for more complex Haskell projects. -- Ashley Yakeley Seattle, WA ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell