Jump to content

Wikipedia:Articles for deletion/Compiler metaprogramming example

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Furrykef (talk | contribs) at 20:07, 10 March 2005 (more comments). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Uninformative, mostly a useless assembly listing, and not generally considered metaprogramming -- it would only be metaprogramming in the loosest possible sense of the word. The way a compiler works is described elsewhere, making this article entirely redundant. This might be useful if it actually described how this is metaprogramming (which it isn't), which it doesn't. Delete. - furrykef (Talk at me) 23:05, 3 Mar 2005 (UTC)

  • What's there is just a run-of-the-mill program. Unless someone replaces it with a real example of compiler metaprogramming, delete. Josh Cherry 00:17, 4 Mar 2005 (UTC)
  • That's not even a large amount of assembly code. Delete. Radiant! 09:48, Mar 4, 2005 (UTC)
  • Delete. This article references itself as an example for metaprogramming, but I think the small example given in that article is good enough. There's no need for this one. --Deathphoenix 06:51, 8 Mar 2005 (UTC)
  • Delete. Possible redirect to discourage recreation - David Gerard 17:22, 8 Mar 2005 (UTC)
  • Keep, and take discussion to Talk:Compiler_metaprogramming_example. Heh, this is the canonical example of a page being deleted while the author is on wikivacation ;-). Furrykef rightly challenged this page on talk, but I wasn't around to contradict his particular pov, which I naturally disagree with 100%. Sorry about that, hopefully it's not too late to hold that discussion now. Kim Bruning 20:08, 8 Mar 2005 (UTC)
    • Whether or not you were on wikivacation is irrelevant. ;) After all, pages on Wikipedia, or any "true" wiki, don't really have "authors" as such. My original comment had been on that talk page for a long time (the timestamp says 16 Aug 2004), and had been unanswered until now. Anyway, I think discussion belongs here rather than on the talk page for now, so that it's all in one place. After all, if the page is retained, the talk page will still have a link to this one. - furrykef (Talk at me) 04:51, 9 Mar 2005 (UTC)
An article doesn't have an "owner" that's true, but articles officially do have authors (if only because that's defined by copyright law and also by the GFDL). By author here I just mean someone who's keeping an eye on the article and willing to work on it if something needs doing.
As to not taking this to talk: are you saying you want to run a (possibly lengthy) technical discussion on vfd? Ok, we can do that, but wouldn't that make the job of the VFD maintainers really hard? Kim Bruning 12:47, 9 Mar 2005 (UTC)

Comment: I've reverted metaprogramming (programming) to the version before furrykef's edits, to avoid distortion of this discussion.

  • I disagree that it's distortion, though perhaps you're right that I should have held off until the page was deleted (sorry to say it, but I'm pretty confident it will be). I still think most programmers will disagree with the statement that the compiler is a metaprogramming tool, which is a strong argument both for the deletion of this page and for rewording the metaprogramming page. I can understand where you're coming from, and I agree that a compiler is a metaprogramming tool in a loose sense. But your POV and my POV don't really matter for something like this. (And forget about NPOV... it'd be useless for the articles to be riddled with "Some people think this and other people think that and some people think this article shouldn't exist at all anyway.") - furrykef (Talk at me) 04:51, 9 Mar 2005 (UTC)
    • I basically second that. A C++ compiler can be used to do template metaprogramming, but that's not what this "example" is. Josh Cherry 05:19, 9 Mar 2005 (UTC)
I can understand your sentiment, but do recall that NPOV itself is a non-negotiable policy. As far as I can tell, this is definately metaprogramming from the point of view of an assembly programmer. However I'd be willing to change my mind, if it turns out that the definition given by metaprogramming_(programming) is wrong or lacking. In any case, IMHO this is not a job for VFD, but rather for cleanup. (which I admit might be needed) Kim Bruning 09:32, 9 Mar 2005 (UTC)
OK, the whole POV issue aside, which upon reflection probably indeed does not belong here in VfD, the only use of this page, which is admitted within the page itself, is to isolate a really long assembly listing. I would think that including only a few sample lines and noting that the entire file is over 200 lines long is sufficient, which, if this can be agreed upon, removes any argument for the isolation of that content, and therefore removes any argument for the existence of this page, which is why it's listed on VfD rather than being discussed through talk pages. (Sorry for not being entirely clear on that.) - furrykef (Talk at me) 17:02, 9 Mar 2005 (UTC)
Originally I'd wanted to make the example an exact parrallel of the bash code on Metaprogramming (programming), which would have gone a long way towards what you might have preferred to see. Unfortunately, my version of gcc was ignoring the "optimisation" flags I'd set to get somewhere near to that result. I talked it through with one of the gcc crew and it turns out that this is in fact deliberate, and is actually normally a useful feature. (Except for me that is, Hmph! )
If we could find a better way to generate a (shorter!) example, then I'd have no trouble at all with merging that with the main article. :-)
Kim Bruning 18:51, 9 Mar 2005 (UTC)
  • Delete. Pointless. Merely mention of a disassembly flag on a compiler should be enough. Dysprosia 05:26, 9 Mar 2005 (UTC)
    • Hmm, could have done that, but when I read about things I'm always insanely curious as to what an example might look like. So I was shamelessly catering to "people like me" ;-). If you could somehow provide a shorter example, perhaps we could merge that into the metaprogramming article, if that's your preference. Kim Bruning 09:32, 9 Mar 2005 (UTC)
      • But what the page describes isn't really metaprogramming. Metaprogramming is really writing a program that writes code, not using the compiler to generate code. Dysprosia 21:21, 9 Mar 2005 (UTC)
        • Consider for a moment, what's a compiler? Right, it's a program. So what you're saying ("metaprogramming is really writing a program that writes/generates code, not writing a program that writes/generates code") doesn't make sense at all. Did you mean something else but make a thinko while typing? Kim Bruning
          • No, I don't believe I did make a typo, and you did not copy what I had wrote verbatim. I shall clarify. Metaprogramming, as far as I can see, is writing a program whose intended output is code, not using a compiler that generates code. A program that prints "hello" and is compiled is not metaprogramming, but a program that prints "int main(void) {printf("hello") return 0;}" is. Dysprosia 05:40, 10 Mar 2005 (UTC)
            • Ok, gotcha, not a thinko. Did you realize that a 4GL compiler is defined as a program that does exactly that? Kim Bruning 08:07, 10 Mar 2005 (UTC)
              • You're still missing the point. You don't write the compiler, you merely execute it. Executing programs is not programming. Writing programs is. Dysprosia 08:28, 10 Mar 2005 (UTC)
                • For starters, you're only assuming I didn't write the compiler. Kim Bruning 15:06, 10 Mar 2005 (UTC)
                  • Yeah, and generally the person who uses a compiler is somebody other than the one who wrote it. :) Isn't the bullet nesting level here enough, by the way? - furrykef (Talk at me) 20:07, 10 Mar 2005 (UTC)
    • I think Kim and I have established that the definition of metaprogramming doesn't really belong in a VfD debate. I think even if this is metaprogramming, this page isn't useful at all and cannot really hope to be improved. - furrykef (Talk at me) 20:07, 10 Mar 2005 (UTC)
  • Delete. I fully agree with Furrykef. (Anonymous Wikipedia browser.)
    • If I'm not mistaken, anonymous votes don't count, even when they agree with my POV. ;) - furrykef (Talk at me) 20:00, 10 Mar 2005 (UTC)