Ousterhout's dichotomy

Ousterhout's dichotomy is computer scientist John Ousterhout's categorization[1] that high-level programming languages tend to fall into two groups, each with distinct properties and uses: system programming languages and scripting languages – compare programming in the large and programming in the small.

System programming languages (or applications languages) usually have the following properties:

System programming languages tend to be used for components and applications with large amounts of internal functionality such as operating systems, database servers, and Web browsers. These applications typically employ complex algorithms and data structures and require high performance. Prototypical examples of system programming languages include C, OCaml and Modula-2.

By contrast, scripting languages (or glue languages) tend to have the following properties:

Scripting languages tend to be used for applications where most of the functionality comes from other programs (often implemented in system programming languages); the scripts are used to glue together other programs or add additional layers of functionality on top of existing programs. Ousterhout claims that scripts tend to be short and are often written by less sophisticated programmers. Hence, execution efficiency is less important than simplicity and ease of interaction with other programs. Common applications for scripting include Web page generation, report generation, graphical user interfaces, and system administration. Prototypical examples of scripting languages include Python, AppleScript, C shell, DOS batch files, and Tcl.

Ousterhout's dichotomy underlies the design of his language Tcl.

History

The dichotomy was fully set out in Ousterhout (1998), though Ousterhout had drawn this distinction since at least the design of Tcl (1988), and had stated it publicly at various times. An early episode was "The Tcl War" of late September and October 1994, where Richard Stallman posted an article critical of Tcl, entitled "Why you should not use Tcl",[2] to which Ousterhout replied with an articulation of his dichotomy:[3]

I think that Stallman's objections to Tcl may stem largely from one aspect of Tcl's design that he either doesn't understand or doesn't agree with. This is the proposition that you should use *two* languages for a large software system: one, such as C or C++, for manipulating the complex internal data structures where performance is key, and another, such as Tcl, for writing small-ish scripts that tie together the C pieces and are used for extensions.

Criticism

Critics believe that the dichotomy is highly arbitrary, and refer to it as Ousterhout's fallacy or Ousterhout's false dichotomy.[4] While static-versus-dynamic typing, data structure complexity, and dependent versus stand-alone might be said to be unrelated features, the usual critique of Ousterhout's dichotomy is of its distinction of compiling versus interpreting. Neither semantics nor syntax depend significantly on whether a language implementation compiles into machine language, interprets, tokenizes, or byte-compiles at the start of each run, or any mix of these. In addition, basically no languages in widespread use are purely interpreted without a compiler; this makes compiling versus interpreting a dubious parameter in a taxonomy of programming languages.[5]

References

  1. ^ Ousterhout, John (March 1998). "Scripting: Higher Level Programming for the 21st Century" (PDF). IEEE Computer magazine. Retrieved March 27, 2020.
  2. ^ Stallman, Richard (1994-09-23). "Why you should not use Tcl". Newsgroupcomp.lang.tcl. Usenet: [email protected]. Retrieved 2015-09-13.
  3. ^ Ousterhout, John (1994-09-26). "Re: Why you should not use Tcl". Newsgroupcomp.lang.tcl. Usenet: [email protected]. Retrieved 2015-09-13.
  4. ^ Stuart Halloway. Osterhout's Dichotomy Isn't. Archived from the original on 2018-01-17.
  5. ^ This article is based on material taken from Ousterhout%27s+dichotomy at the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.

Further reading

Read other articles:

الدوري البلجيكي الدرجة الأولى الموسم 2001–02 البلد بلجيكا  المنظم الاتحاد الملكي البلجيكي لكرة القدم  النسخة 99 عدد الفرق 18 الفائز كونينكليجك ريسينغ كلوب جينك (اللقب الثاني) الوصيف نادي جينك  الفرق الهابطة ريسنغ وايت ديرنغ مولنبيككونينكليجك سبورت كلوب إيندرخت آلست د...

 

Halaman ini berisi artikel tentang the 1992 U.S. feature film. Untuk other uses, lihat Poison ivy (disambiguation). Poison IvyPoster rilis teatrikalSutradaraKatt SheaProduserAndy RubenDitulis olehMelissa Goddard (cerita)Andy Ruben & Katt Shea (permainan latar)PemeranDrew BarrymoreSara GilbertTom SkerrittCheryl LaddPenata musikDavid Michael FrankSinematograferPhedon PapamichaelPenyuntingGina MittelmanDistributorNew Line Cinema1Tanggal rilis 8 Mei 1992 (1992-05-08) Durasi88 menit...

 

Copa Colsanitas 2006 Sport Tennis Data 20 febbraio – 26 febbraio Edizione 9a Superficie Terra rossa Campioni Singolare Lourdes Domínguez Lino Doppio Gisela Dulko / Flavia Pennetta 2005 2007 Il Copa Colsanitas 2006, noto anche come Copa Colsanitas Seguros Bolivar 2006 per motivi di sponsorizzazione, è stato un torneo di tennis giocato sulla terra rossa. È stata la 9ª edizione del Copa Colsanitas, che fa parte della categoria Tier III nell'ambito del WTA Tour 2006. Si è giocato al Club ...

GomphotheriumRentang fosil: Awal Miosen–Awal Pliosen PreЄ Є O S D C P T J K Pg N ↓ Gomphotherium productum Klasifikasi ilmiah Kerajaan: Animalia Filum: Chordata Kelas: Mammalia Ordo: Proboscidea Famili: †Gomphotheriidae Genus: †GomphotheriumBurmeister, 1837 Spesies G. anguirvalis G. angustidens G. annectens G. brewsterensis G. calvertense G. connexus G. nebrascensis G. obscurum G. osborni G. productum G. rugosidens G. simplicidens G. willistoni G. wimani Tengkorak dari Gomphoth...

 

Questa voce o sezione sull'argomento singoli heavy metal non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Pussysingolo discograficoScreenshot tratto dal video del branoArtistaRammstein Pubblicazione22 settembre 2009 Durata4:00 (versione album)3:48 (versione radiofonica) Album di provenienzaLiebe ist für alle da GenereIndustrial metal EtichettaPilgrim Man...

 

هذه المقالة عن المجموعة العرقية الأتراك وليس عن من يحملون جنسية الجمهورية التركية أتراكTürkler (بالتركية) التعداد الكليالتعداد 70~83 مليون نسمةمناطق الوجود المميزةالبلد  القائمة ... تركياألمانياسورياالعراقبلغارياالولايات المتحدةفرنساالمملكة المتحدةهولنداالنمساأسترالي�...

Questa voce sull'argomento ciclisti tedeschi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Günter Haritz Nazionalità Germania Ovest Germania Ciclismo Specialità Pista Palmarès Germania Ovest Competizione Ori Argenti Bronzi Giochi olimpici 1 0 0 Vedi maggiori dettagli   Modifica dati su Wikidata · Manuale Günter Haritz (Heidelberg, 16 ottobre 1948) è un ex pistard tedesco. Indice 1 Palmarès 1.1 Olimpiadi 2 Note 3 Altri progetti...

 

Частина серії проФілософіяLeft to right: Plato, Kant, Nietzsche, Buddha, Confucius, AverroesПлатонКантНіцшеБуддаКонфуційАверроес Філософи Епістемологи Естетики Етики Логіки Метафізики Соціально-політичні філософи Традиції Аналітична Арістотелівська Африканська Близькосхідна іранська Буддій�...

 

درين قلعة تقسيم إداري البلد إيران  إحداثيات 37°19′30″N 45°07′22″E / 37.325°N 45.12277778°E / 37.325; 45.12277778   السكان التعداد السكاني 496 نسمة (إحصاء 2016) تعديل مصدري - تعديل   درين‌ قلعة هي قرية في مقاطعة أرومية، إيران.[1] يقدر عدد سكانها بـ 496 نسمة بحسب إحصاء 2016.[2] مراج...

  لمعانٍ أخرى، طالع بني عباد (توضيح). قرية بني عباد  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة صنعاء المديرية مديرية بني مطر العزلة عزلة بني قيس السكان التعداد السكاني 2004 السكان 391   • الذكور 202   • الإناث 189   • عدد الأسر 45   • عدد المساكن 41 م...

 

Puente ViejoPont Vell El puente Viejo antes de la actual reformaUbicaciónPaís España EspañaLocalidad LéridaCruza Río SegreCoordenadas 41°36′53″N 0°37′42″E / 41.61461389, 0.62839444CaracterísticasUso Vial / PeatonalLargo 149 metrosAncho 19,30 metrosN.º de pilonas 3HistoriaIngeniero Amalio Hidalgo Fernández, Jacinto Julio González y Victoriano Muñoz HomsConstrucción 6 de mayo de 1944[editar datos en Wikidata] El Puente Viejo (Pont Vell, en ca...

 

Department of the United Kingdom Government from 1885 until 1999 For the department after 1999, see Office of the Secretary of State for Scotland. Scottish OfficeRoyal Arms of HM Government in ScotlandDepartment overviewFormed1885Dissolved1999Superseding agency Scotland Office (reserved or excepted functions) Scottish Executive (devolved functions) JurisdictionScotlandHeadquartersSt Andrew's HouseMinisters responsibleThe 23rd and 6th Earl of Mar, Secretary of State for Scotland (1707-1709; fi...

Taiwanese information technology company MSi redirects here. For other uses, see MSI (disambiguation). This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (March 2024) This article needs additional citations for verification. Please help improve this article...

 

Han GengHan Geng di Jakarta, IndonesiaLahir9 Februari 1984 (umur 40)Mudanjiang, Heilongjiang, CinaAlmamaterCentral University for NationalitiesPekerjaan Artis Penyanyi Penari Model Tahun aktif2005 - sekarang Han Geng Hanzi tradisional: 韓庚 Hanzi sederhana: 韩庚 Alih aksara Mandarin - Hanyu Pinyin: Hán Gēng Karier musikGenre Mandopop K-pop Dance InstrumenGuitarLabelS.M. Entertainment (2005–2010)Yuehua Entertainment(Tiongkok, 2010–sekarang)Artis terkaitSM Town, Super Junio...

 

روث باتريك (بالإنجليزية: Ruth Myrtle Patrick)‏  معلومات شخصية اسم الولادة (بالإنجليزية: Ruth Myrtle Patrick)‏  الميلاد 26 نوفمبر 1907 [1]  توبيكا[2]  الوفاة 23 سبتمبر 2013 (105 سنة) [1]  الإقامة كانساس سيتي[2]فيلادلفيا[2]  مواطنة الولايات المتحدة  عضوة في الأكاديمية ...

Aerial warfare branch from 1941 to 1947 For the current active service branch, see United States Air Force. For the 1995 video game, see U.S.A.A.F. - United States Army Air Force. United States Army Air ForcesAAF shoulder sleeve insigniaActive1941–1947DisbandedSeptember 18, 1947; 76 years ago (September 18, 1947)Country United StatesBranchArmyTypeAir forceRoleAerial warfareSize2.4 million airmen (March 1944)80,000 aircraft (July 1944)Garrison/HQMunitions Building, Washingt...

 

U.S. National Championships 1882Sport Tennis Data30 agosto - 2 settembre Edizione2ª CategoriaGrande Slam (ITF) SuperficieErba LocalitàNewport, USA ImpiantoNewport Casino CampioniSingolare maschile Richard Sears Doppio maschile Richard Sears / James Dwight 1881 1883 Gli U.S. National Championships 1882 (conosciuti oggi come US Open) sono stati la 2ª edizione degli U.S. National Championships e seconda prova stagionale dello Slam per il 1882. Si è disputato al Newport Casino di Newport negl...

 

Town in County Tipperary, Ireland For other uses, see Templemore (disambiguation). Town in Munster, IrelandTemplemore An Teampall Mór (Irish)TownMain Street with Templemore Town Hall in the centreTemplemoreLocation in IrelandCoordinates: 52°48′N 7°50′W / 52.80°N 7.83°W / 52.80; -7.83CountryIrelandProvinceMunsterCountyCounty TipperaryBaronyEliogartyPopulation (2022)[1] • Total2,005Time zoneUTC0 (WET) • Summer (DST)UTC+1...

Former National Hockey League team (1996–2024) Arizona CoyotesFounded1972HistoryWinnipeg Jets1972–1979 (WHA)1979–1996 (NHL)Phoenix Coyotes1996–2014Arizona Coyotes2014–2024Home arenaAmerica West Arena (1996–2003)Desert Diamond Arena (2003–2022)Mullett Arena (2022–2024)Team colorsProcess black, brick red, forest green, sand, sienna, purple[1][2]           Stanley Cups0Conference championships0Presidents' Trophy0Division championships...

 

Муратбай Сматаевич Жолдасбаевказ. Мұратбай Сматайұлы Жолдасбаев Рождение 29 ноября 1957(1957-11-29) (66 лет)село Красный Октябрь, Курдайский район, Джамбульская область, Казахская ССР, СССР Супруга Айнакуль Кенчимбаевна Муздыбаева Дети сыновья Талгат (род. 1981), Айбек (род. 1982) Парт...