[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"generation-3gl":3,"generation-members-3gl":193,"generation-siblings":194},{"id":4,"title":5,"author":6,"body":7,"description":161,"extension":168,"features":169,"generation":175,"homepage":6,"logo":6,"meta":176,"name":5,"navigation":177,"note":178,"path":179,"references":180,"seo":188,"status":189,"stem":190,"urls":6,"year":191,"__hash__":192},"generations\u002Fgenerations\u002F3gl.md","Third-generation language",null,{"type":8,"value":9,"toc":160},"minimark",[10,15,57,61,113,117,120,124,144],[11,12,14],"h2",{"id":13},"overview","Overview",[16,17,18,19,23,24,27,28,33,34,38,39,43,44,50,51,56],"p",{},"The third generation is the ",[20,21,22],"strong",{},"high-level"," tier: a procedural notation whose\nmeaning is defined without reference to a particular processor, and whose\n",[20,25,26],{},"compiler"," performs a non-isomorphic translation into whatever instructions the\ntarget provides. ",[29,30,32],"a",{"href":31},"\u002Flanguages\u002Ffortran","FORTRAN",", ",[29,35,37],{"href":36},"\u002Flanguages\u002Fcobol","COBOL",", and\n",[29,40,42],{"href":41},"\u002Flanguages\u002Falgol","ALGOL"," are its founding members; the Computer History Museum's\n",[29,45,49],{"href":46,"rel":47},"https:\u002F\u002Fsoftwarepreservation.computerhistory.org\u002FFORTRAN\u002F",[48],"nofollow","FORTRAN archive","\ndates that work to the mid-1950s, and\n",[29,52,55],{"href":53,"rel":54},"https:\u002F\u002Fwww.rogerclarke.com\u002FSOS\u002FSwareGenns.html",[48],"Clarke"," puts the theoretical\nadvance at FORTRAN around 1952–54 and ALGOL around 1958–60.",[11,58,60],{"id":59},"defining-characteristics","Defining characteristics",[62,63,64,75,86,92,102],"ul",{},[65,66,67,70,71,74],"li",{},[20,68,69],{},"Machine-independent source."," The language is specified over an abstract\nmachine — variables, expressions, control flow — so a program is written once\nand ",[20,72,73],{},"source portability"," follows.",[65,76,77,80,81,85],{},[20,78,79],{},"Compilation, not substitution."," The compiler resolves a ",[82,83,84],"em",{},"structure clash","\nbetween the language's primitives and the hardware's, which is exactly what\nseparates this tier from assembly's one-to-one mapping.",[65,87,88,91],{},[20,89,90],{},"Procedural abstraction."," Named procedures with parameters and local state\nbecome the unit of composition, letting a program be organized around the\nproblem rather than the instruction set.",[65,93,94,97,98,101],{},[20,95,96],{},"Structured constructs."," Block structure, loops, and conditional statements\ngive control flow a shape of its own instead of relying on jumps, and later\nadditions — ",[20,99,100],{},"modular"," compilation units, then classes — extend that.",[65,103,104,107,108,112],{},[20,105,106],{},"It is the default tier."," Most general-purpose languages in use today are\nthird generation; the label says little more than \"compiled or interpreted\nhigh-level language\", which is why ",[29,109,111],{"href":110},"\u002Fparadigms\u002Fdeclarative","paradigms"," and\nfamilies say more about a language than its generation does.",[11,114,116],{"id":115},"status","Status",[16,118,119],{},"Active and dominant. Third generation is not a historical stage but the\nbaseline: the tier is defined by the absence of a one-to-one correspondence with\nthe machine, and that absence is still what most languages are built on.",[11,121,123],{"id":122},"why-the-label-thins-out","Why the label thins out",[16,125,126,127,131,132,135,136,139,140,143],{},"\"Third generation\" is largely synonymous with \"high-level\", and \"high-level\" is\nitself relative — Clarke notes the term was contested from the start, and the\n",[29,128,130],{"href":129},"\u002Fgenerations\u002F4gl","later tiers"," were invented partly to say ",[82,133,134],{},"how much higher"," a\nlanguage sits. That is why the interesting questions in this schema are answered\nby ",[137,138,111],"code",{}," and ",[137,141,142],{},"family",", not by generation.",[16,145,146,151,152,155,156,159],{},[29,147,150],{"href":148,"rel":149},"https:\u002F\u002Fwww.cs.yale.edu\u002Fhomes\u002Fperlis-alan\u002Fquotes.html",[48],"Perlis"," supplies the\nmeasure the ladder was groping for: ",[82,153,154],{},"\"A programming language is low level when\nits programs require attention to the irrelevant\""," (epigram 8). On that test the\nthird generation earns its step by deleting instruction selection, storage\nlayout, and register allocation — the programmer names variables and the\ncompiler finds places to put them. But the criterion is a ",[20,157,158],{},"continuum",", not a\nstaircase: a 3GL that makes you manage memory by hand still demands attention to\nsomething the problem did not mention, and a \"higher\" generation that forces\nyou to declare schema details may demand more than a plainer language would.\nThat is the real reason this tier is hard to bound — not that the numbering is\nsloppy, but that relevance is a property of each program, not of the tier its\nlanguage belongs to.",{"title":161,"searchDepth":162,"depth":162,"links":163},"",2,[164,165,166,167],{"id":13,"depth":162,"text":14},{"id":59,"depth":162,"text":60},{"id":115,"depth":162,"text":116},{"id":122,"depth":162,"text":123},"md",[170,171,172,173,174],"machine-independent","compiler-translated","procedural-abstraction","source-portability","structured-constructs","3gl",{},true,"A procedural notation defined independently of any processor, translated by a compiler. The mapping to hardware is no longer one-to-one, which is what buys source portability and makes most general-purpose languages today third generation.","\u002Fgenerations\u002F3gl",[181,183,185],{"url":53,"title":182},"A Contingency Approach to the Application Software Generations — Roger Clarke (1991)",{"url":46,"title":184},"History of FORTRAN and FORTRAN II — Computer History Museum software preservation",{"url":186,"title":187},"https:\u002F\u002Farchive.org\u002Fdetails\u002Fcomputerscienceo0000broo_e5b8","Computer Science: An Overview (11th ed.) — J. Glenn Brookshear",{"title":5,"description":161},"active","generations\u002F3gl",1957,"nb8Dy9ZTwwEmTQ1fTh4YyiaspqtHj1weChKyOSjykiI",[],[195,198,201,202,204],{"name":196,"path":197},"First-generation language","\u002Fgenerations\u002F1gl",{"name":199,"path":200},"Second-generation language","\u002Fgenerations\u002F2gl",{"name":5,"path":179},{"name":203,"path":129},"Fourth-generation language",{"name":205,"path":206},"Fifth-generation language","\u002Fgenerations\u002F5gl",1795219071741]