Re: Method to force keeping of source

From: Chuck Stevens (charles.stevens_at_unisys.com)
Date: 06/29/04


Date: Mon, 28 Jun 2004 16:33:43 -0700

Warren Simmons asked:

<<How would you reply, if the specifications said, a. only when copy is NOT
used; or if it said, the source would be the same as the compiler generated
from; or if copy were made obsolete?>>

I would reply the same; I think a backup methodology applied completely and
unconditionally that is effective less than 100% of the time is worse than
no methodology at all, because it lulls the user into a false sense of
security.

<<Other methods might be possible. And yes, current implementations would
all probably have
to be impacted in some way.>>

"Other methods" include backing up source files. In our implementation
that's fairly straightforward, and there are third-party products that
automate the backup process and simplify the restoration process even
further.

<<Yet, it seems the input to the compiler in all cases has to include the
resulting source code. >>

It does indeed, but in our environment there may be other things (have the
descriptions of the data base been updated since the program was last
compiled? Would those changes impact the execution of the program? Are the
specifications that prevailed at the time of the previous compilation still
available, and should they be used in preference to the current ones?) that
would come into play.

Also, others alluded to the idea that incorporating the source code into the
object files wouldn't increase the size of the object code much. In the
Unisys MCP environments, source files for most languages (probably excepting
RPG) are generally *several times* larger than the corresponding executable
object code files, so I would contend that the increase in disk requirements
associated with archiving the program source into the compiled object code
would not be negligible.

    -Chuck Stevens



Relevant Pages

  • Re: ASP .NET 2.0 Unanswered questions...
    ... in both 1.1 and 2.0 there are two types of source files. ... version 1.1 of asp.net in order to support inline server script, generated source code for the page, then called the desired compiler to build a dll. ... if the aspx pages are all empty then your site was precompiled for all the aspx pages and has been batched into dll's. ... again in version 2.0 the only difference between web sites and web application is the handling of the code behind files compilation and in the case of a web applications the existence of a project file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SHMENUBARINFO not defined says compiler - aygshell.h defined
    ... group that supports the SDK for the desktop. ... After I add "/c" to the compiler options, i get the following and i have no ... which is used when compiling the source files. ... > Microsoft Mobile and Embedded Devices Developer Support ...
    (microsoft.public.pocketpc.developer)
  • Request for feedback: proposed new modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.perl.modules)
  • Request for feedback: proposed new Perl modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.vhdl)
  • Re: C++ Project Files?????
    ... The C preprocessor *merges* the header files with the source files ... > What the is a library file? ... > files have been turned into object files, ... that came with your compiler. ...
    (comp.lang.cpp)