Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?

by Argel (Prior)
on Sep 12, 2012 at 21:55 UTC ( #993318=note: print w/ replies, xml ) Need Help??


in reply to Re: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?
in thread (OT) How can I do unless(caller) { main; } in C using GCC in Windows?

Why is that so strange? Perl is written in C after all.We also just had a slew of threads discussing using LLVM such as Perl 5 Optimizing Compiler, Part 5: A Vague Outline Emerges.

Elda Taluta; Sarks Sark; Ark Arks
My deviantART gallery


Comment on Re^2: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?
Re^3: (OT) How can I do unless(caller) { main; } in C using GCC in Windows?
by Anonymous Monk on Sep 12, 2012 at 22:35 UTC

    What makes you think that PerlMonks is a good place to ask for C advice?

    Why is that so strange?

    That LLVM stuff was about perl, this question isn't about perl (or embedding perl , calling perl from c ...)

      Yeah, but it's not like this is the first off-topic post and he marked as such. And there is a (very) loose tie-in to Perl. Why make a big deal out of it? If you do not want to answer it, then just ignore it. Heck, it was not even an approved node until I just approved it!

      Update: It's not like we are getting tons of off-topic C questions. If we were, then it might be time to clamp down on it. But for one or two a year I am not seeing a problem. And since Perl is written in C, it is tangentially related, much like SQL and database questions are. And that's ignoring XS. Becoming better at C in general likely translates to writing better XS based modules later on, right? So how off-topic is it really? Not as off-topic as Java I'd wager.

      Elda Taluta; Sarks Sark; Ark Arks
      My deviantART gallery

        Yeah, but it's not like this is the first off-topic post and he marked as such. And there is a (very) loose tie-in to Perl. Why make a big deal out of it?

        Well, no-one is maing a "big deal" out of it, but since this is a 1st post by newbie, someone has to point out focus of the site

        If you do not want to answer it, then just ignore it. Heck, it was not even an approved node until I just approved it!

        According to What is consideration? you should not approve OT nodes

        Update: It's not like we are getting tons of off-topic C questions. If we were, then it might be time to clamp down on it. But for one or two a year I am not seeing a problem. And since Perl is written in C, it is tangentially related, much like SQL and database questions are. And that's ignoring XS. Becoming better at C in general likely translates to writing better XS based modules later on, right? So how off-topic is it really? Not as off-topic as Java I'd wager.

        Oh boy :)

        I wasn't especially concerned about off-topicness. I was just wondering why the OP had chosen to ask a question about C on a site dedicated to an entirely different programming language. There must surely be other sites where they'd get reach a more expert audience.

        perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

        I have unapproved the question. It does not belong in any section here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993318]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-08-29 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls