Generating Code at run-time

This is a discussion on Generating Code at run-time within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi, This is not language specfic. I need some advantages of generating code at run-time, Ive got the basic ones ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    45

    Generating Code at run-time

    Hi,

    This is not language specfic.

    I need some advantages of generating code at run-time, Ive got the basic ones

    Many Thanks
    Alex

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,411
    err....

    So what's the question again?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    45
    Quote Originally Posted by Mario F.
    err....

    So what's the question again?
    Can anyone give me some real world advantages of a program creating code at run-time?

    -Alex

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    > I need some advantages of generating code at run-time, Ive got the basic ones
    Which are?

    Or do we have to guess the ones you've thought of first?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by appleGuy
    Hi,

    This is not language specfic.

    I need some advantages of generating code at run-time, Ive got the basic ones

    Many Thanks
    Alex
    Really confusing. Do you mean scripting languages?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #6
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    The only generate code at runtime thing I have ever seen is for this..

    http://www.transgaming.com/index.php...display&ceid=8
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with time
    By Gong in forum C++ Programming
    Replies: 7
    Last Post: 01-11-2007, 01:43 PM
  2. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  3. Please help - Run time error
    By barkercs in forum C Programming
    Replies: 6
    Last Post: 05-03-2006, 11:15 AM
  4. Run time error at client side query?
    By dp_76 in forum Networking/Device Communication
    Replies: 0
    Last Post: 07-01-2005, 03:02 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21