黄痰咳嗽吃什么药| 嗓子痒痒老想咳嗽是什么原因| 阴虚吃什么药效果最好| 磁场是什么| 情妇是什么意思| 肺纤维增殖灶是什么意思| ms是什么单位| 小孩晚上睡觉磨牙是什么原因| 嘴巴旁边长痘痘是为什么| mask是什么意思| 什么病不能吃西洋参| 有人的地方就有江湖什么意思| 十八岁是什么年华| 磨牙缺什么| 长骨刺是什么原因导致的| 女同是什么| 暑假让孩子学点什么好| 狗狗能看见什么颜色| 大公鸡衣服是什么牌子| 段子是什么意思| 生日礼物送什么好| 心房扑动是什么意思| 吗丁啉有什么功效| 丁克是什么药| 蒲公英什么时候采最好| 数字1代表什么意思| 肚子容易胀气是什么原因| 胎动在肚脐周围是什么胎位| 耿直什么意思| 躯体形式障碍是什么病| 怀孕二十天有什么反应| 肺炎吃什么水果| 甲状腺看什么科| 92年是什么年| 句号是什么意思| 甲状腺结节吃什么药| 自然流产的症状是什么样的| 缪在姓氏中读什么| 什么叫散瞳| 女人左眼跳是什么预兆| nicole是什么意思| 大便不规律是什么原因| 什么的小朋友填词语| 心衰是什么原因引起的| 6424什么意思| 得罪是什么意思| 男人尿道炎吃什么药最好| 小孩掉头发是什么原因引起的| 吃什么最补肾壮阳| 胎心停了是什么原因引起的| 透亮是什么意思| 黄金茶属于什么茶| 肝炎挂什么科| 安全期是什么| 1997年属什么| 日本料理都有什么菜| 10点半是什么时辰| 子宫肌瘤什么不能吃| 太监是什么意思| 高胆固醇血症是什么病| 同样的药为什么价格相差很多| 膀胱炎看什么科| 泌尿系感染吃什么药| 胎动什么感觉| 有主见是什么意思| 牛在五行中属什么| 扑朔迷离是什么意思| 梦到门牙掉了是什么意思| 与君共勉是什么意思| 黑胡桃色是什么颜色| 专科考研需要什么条件| 儿童细菌感染吃什么药| 常吃火龙果有什么好处| 雷诺综合征是什么病| 情定三生大结局是什么| 吃猪肝有什么好处| 甲醛超标有什么反应| 女性体毛多是什么原因| 黉门是什么意思| 为什么老是打嗝| 梦见到处都是蛇预示着什么| 11.18是什么星座| 甲亢挂什么科| 为什么会肾虚| 吃维e有什么好处和副作用| 2003年出生属什么| 什么是网恋| 美业是什么行业| 经常打哈欠是什么原因| 鹅肉不能和什么一起吃| 妇女是什么意思| 症结是什么意思| 什么的红烧肉| 手指月牙白代表什么| 什么歌最好听| 豆浆什么时候喝最好| 种植什么好| 儿童用什么洗发水好| 系带是什么| 肾病有什么症状男性| a血型和o血型生出宝宝是什么血型| 什么是滑脉| 拍身份证穿什么颜色衣服| 晚餐吃什么健康又营养| 撕漫男什么意思| 塌陷是什么意思| 破伤风有什么症状| 胆脂瘤是什么病| camper是什么牌子| 十二月二十三是什么星座| 经常便秘吃什么| 天意是什么意思| 减肥喝什么| 撞车了打什么电话| 老年人补什么钙效果最好| 木危读什么| 带状疱疹挂什么科室| 血糖高是什么原因引起| 很长很长的什么填空| 诺贝尔为什么没有数学奖| 屎是什么味道的| 法国铁塔叫什么| 夕阳西下是什么意思| 内分泌失调是什么原因引起的| 喝黑芝麻糊有什么好处| 输血前常规检查是什么| 状元是什么官| 二胎政策什么时候开放的| 疱疹是什么病| 浙江大学什么专业最好| 过敏性鼻炎吃什么食物好| 为什么当兵| 历时是什么意思| 子宫肌瘤是什么病严重吗| 93年什么命| 子宫切除后要注意什么| 依达拉奉注射功效与作用是什么| 0型血和b型血生的孩子是什么血型| 人的五官指什么| 五台山是求什么的| 硫酸铜是什么颜色| 被老鼠咬了打什么疫苗| 海棠花什么时候开花| 验孕棒两条杠什么意思| 哈伦裤配什么上衣| 定制和订制有什么区别| 梦见洗鞋子是什么意思| 晚上尿多是什么原因| 脂溢性脱发是什么意思| 如虎添翼是什么生肖| 什么时间段买机票最便宜| 拉稀肚子疼是什么原因| 脾胃虚寒是什么症状| 肉松是什么做的| 芋圆是什么做的| 平均血红蛋白含量偏低是什么意思| 月亮为什么会有圆缺变化| 腿为什么肿| 南字五行属什么| 蛇什么时候出来活动| 交警罚款不交有什么后果| 皮肤镜能检查出什么| 斗鱼吃什么| 黑鱼吃什么食物| 筋膜炎有什么症状| 夫妻少配无刑是什么意思| 尿血什么原因| 55年出生属什么| 匪气是什么意思| 肝回声密集是什么意思| 女人戴什么手串辟邪| 月经量少吃什么调理| 饱和脂肪酸是什么意思| 什么的事物| 吃维生素b2有什么好处和副作用| 脸上肉跳动是什么原因| 尚公主是什么意思| 小肚胀是什么原因| 手脱皮用什么药好得快| 缸垫呲了什么症状| 耿耿于怀是什么意思| 缺铁性贫血吃什么食物| 就不告诉你就不告诉你是什么儿歌| 戒手淫有什么好处| 麻油跟香油什么区别| 闲云野鹤指什么生肖| 月经期可以吃什么水果| 兹有是什么意思| 孩子感冒咳嗽吃什么药| 爸爸的弟弟叫什么| 奶咖色是什么颜色| 阴唇肥大有什么影响| 硬金是什么意思| cabbeen是什么牌子| 椭圆形脸适合什么发型| 骨客念什么| 煲什么汤去湿气最好| 不睡人的空床放点什么| 半熟芝士是什么意思| 梦见数钱是什么预兆| 霸道总裁是什么意思| 小儿便秘吃什么药| 玉米什么时候打药| 贫血吃什么补血最快| 爷爷的妈妈叫什么| 小孩拉肚子应该吃什么食物好| 生化八项是检查什么| 用进废退什么意思| 冰清玉洁是什么意思| 大便溏泄是什么意思| 人得猫癣用什么药| 牙龈上火肿痛吃什么药| 日加一笔可以变成什么字| 什么是白领| 脑供血不足吃什么药最好| 喝白茶有什么好处| 值神天德是什么意思| 婴儿口臭是什么原因引起的| 11月2号是什么星座| 慢性荨麻疹是什么原因引起的| 舌头上有黑点是什么原因| 什么水果补钙| 我们是什么意思| pears是什么意思| 灰枣和红枣有什么区别| 湿热吃什么| 警示是什么意思| 什么炖鸡好吃| 1994年属狗是什么命| 灵芝长什么样子图片| 肝胆胰腺属于什么科| 为什么会射精| 小孩子注意力不集中是什么原因| 口腔溃疡反反复复是什么原因| 甲功七项挂什么科| 动态密码是什么意思| 女人补肾吃什么药| 什么的蜡烛| 995是什么意思| 心脏跳的慢吃什么好| 眼睛充血吃什么药| 肠胃胀气吃什么药| 堪堪是什么意思| 烤箱可以烤些什么东西| 为什么会偏头痛| 春宵一刻值千金是什么意思| 威胁什么意思| 三月29号是什么星座| 中央民族大学什么档次| 人体缺甲是什么症状| 比熊吃什么牌子的狗粮好| 夏天为什么会下冰雹| 熟石灰是什么| 宫颈液基细胞学检查是什么| 秦皇岛是什么海| 辽宁舰舰长是什么军衔| only是什么品牌| 海马用什么呼吸| 心境是什么意思| 小太阳是什么意思| 粘胶是什么材质| 萌宠是什么意思| 三点水一个高念什么| 手足口病吃什么药最好| 百度Jump to content

·区政法机关开展联系式挂职锻炼工作顺利开局

From Wikipedia, the free encyclopedia
百度 最后2分钟,乔治希尔转换上篮得手,博尔特尔扣篮回应,德罗赞单打造成希尔的犯规,两罚全中,卡尔德隆三分再中,JR-史密斯的三分追到只剩1分,三节结束,猛龙99-98骑士。

A high-level programming language is a programming language with strong abstraction from the details of the computer. In contrast to low-level programming languages, it may use natural language elements, be easier to use, or may automate (or even hide entirely) significant areas of computing systems (e.g. memory management), making the process of developing a program simpler and more understandable than when using a lower-level language. The amount of abstraction provided defines how "high-level" a programming language is.[1]

In the 1960s, a high-level programming language using a compiler was commonly called an autocode.[2] Examples of autocodes are COBOL and Fortran.[3]

The first high-level programming language designed for computers was Plankalkül, created by Konrad Zuse.[4] However, it was not implemented in his time, and his original contributions were largely isolated from other developments due to World War II, aside from the language's influence on the "Superplan" language by Heinz Rutishauser and also to some degree ALGOL. The first significantly widespread high-level language was Fortran, a machine-independent development of IBM's earlier Autocode systems. The ALGOL family, with ALGOL 58 defined in 1958 and ALGOL 60 defined in 1960 by committees of European and American computer scientists, introduced recursion as well as nested functions under lexical scope. ALGOL 60 was also the first language with a clear distinction between value and name-parameters and their corresponding semantics.[5] ALGOL also introduced several structured programming concepts, such as the while-do and if-then-else constructs and its syntax was the first to be described in formal notation – Backus–Naur form (BNF). During roughly the same period, COBOL introduced records (also called structs) and Lisp introduced a fully general lambda abstraction in a programming language for the first time.

Features

[edit]

"High-level language" refers to the higher level of abstraction from machine language. Rather than dealing with registers, memory addresses, and call stacks, high-level languages deal with variables, arrays, objects, complex arithmetic or Boolean expressions, subroutines and functions, loops, threads, locks, and other abstract computer science concepts, with a focus on usability over optimal program efficiency. Unlike low-level assembly languages, high-level languages have few, if any, language elements that translate directly into a machine's native opcodes. Other features, such as string handling routines, object-oriented language features, and file input/output, may also be present. One thing to note about high-level programming languages is that these languages allow the programmer to be detached and separated from the machine. That is, unlike low-level languages like assembly or machine language, high-level programming can amplify the programmer's instructions and trigger a lot of data movements in the background without their knowledge. The responsibility and power of executing instructions have been handed over to the machine from the programmer.

Abstraction penalty

[edit]

High-level languages intend to provide features that standardize common tasks, permit rich debugging, and maintain architectural agnosticism; while low-level languages often produce more efficient code through optimization for a specific system architecture. Abstraction penalty is the cost that high-level programming techniques pay for being unable to optimize performance or use certain hardware because they don't take advantage of certain low-level architectural resources. High-level programming exhibits features like more generic data structures and operations, run-time interpretation, and intermediate code files; which often result in execution of far more operations than necessary, higher memory consumption, and larger binary program size.[6][7][8] For this reason, code which needs to run particularly quickly and efficiently may require the use of a lower-level language, even if a higher-level language would make the coding easier. In many cases, critical portions of a program mostly in a high-level language can be hand-coded in assembly language, leading to a much faster, more efficient, or simply reliably functioning optimised program.

However, with the growing complexity of modern microprocessor architectures, well-designed compilers for high-level languages frequently produce code comparable in efficiency to what most low-level programmers can produce by hand, and the higher abstraction may allow for more powerful techniques providing better overall results than their low-level counterparts in particular settings.[9] High-level languages are designed independent of a specific computing system architecture. This facilitates executing a program written in such a language on any computing system with compatible support for the Interpreted or JIT program. High-level languages can be improved as their designers develop improvements. In other cases, new high-level languages evolve from one or more others with the goal of aggregating the most popular constructs with new or improved features. An example of this is Scala which maintains backward compatibility with Java, meaning that programs and libraries written in Java will continue to be usable even if a programming shop switches to Scala; this makes the transition easier and the lifespan of such high-level coding indefinite. In contrast, low-level programs rarely survive beyond the system architecture which they were written for without major revision. This is the engineering 'trade-off' for the 'Abstraction Penalty'.

Relative meaning

[edit]

Examples of high-level programming languages in active use today include Python, JavaScript, Visual Basic, Delphi, Perl, PHP, ECMAScript, Ruby, C#, Java and many others.

The terms high-level and low-level are inherently relative. Some decades ago,[timeframe?] the C language, and similar languages, were most often considered "high-level", as it supported concepts such as expression evaluation, parameterised recursive functions, and data types and structures, while assembly language was considered "low-level". Today, many programmers might refer to C as low-level, as it lacks a large runtime-system (no garbage collection, etc.), basically supports only scalar operations, and provides direct memory addressing; it therefore, readily blends with assembly language and the machine level of CPUs and microcontrollers. Also, in the introduction chapter of The C Programming Language (second edition) by Brian Kernighan and Dennis Ritchie, C is described as "not a very high level" language.[10]

Assembly language may itself be regarded as a higher level (but often still one-to-one if used without macros) representation of machine code, as it supports concepts such as constants and (limited) expressions, sometimes even variables, procedures, and data structures. Machine code, in turn, is inherently at a slightly higher level than the microcode or micro-operations used internally in many processors.[11]

Execution modes

[edit]

There are three general modes of execution for modern high-level languages:

Interpreted
When code written in a language is interpreted, its syntax is read and then executed directly, with no compilation stage. A program called an interpreter reads each program statement, following the program flow, then decides what to do, and does it. A hybrid of an interpreter and a compiler will compile the statement into machine code and execute that; the machine code is then discarded, to be interpreted anew if the line is executed again. Interpreters are commonly the simplest implementations of the behavior of a language, compared to the other two variants listed here.
Compiled
When code written in a language is compiled, its syntax is transformed into an executable form before running. There are two types of compilation:
Machine code generation
Some compilers compile source code directly into machine code. This is the original mode of compilation, and languages that are directly and completely transformed to machine-native code in this way may be called truly compiled languages. See assembly language.
Intermediate representations
When code written in a language is compiled to an intermediate representation, that representation can be optimized or saved for later execution without the need to re-read the source file. When the intermediate representation is saved, it may be in a form such as bytecode. The intermediate representation must then be interpreted or further compiled to execute it. Virtual machines that execute bytecode directly or transform it further into machine code have blurred the once clear distinction between intermediate representations and truly compiled languages.
Source-to-source translated or transcompiled
Code written in a language may be translated into terms of a lower-level language for which native code compilers are already common. JavaScript and the language C are common targets for such translators. See CoffeeScript, Chicken Scheme, and Eiffel as examples. Specifically, the generated C and C++ code can be seen (as generated from the Eiffel language when using the EiffelStudio IDE) in the EIFGENs directory of any compiled Eiffel project. In Eiffel, the translated process is referred to as transcompiling or transcompiled, and the Eiffel compiler as a transcompiler or source-to-source compiler.

Note that languages are not strictly interpreted languages or compiled languages. Rather, implementations of language behavior use interpreting or compiling. For example, ALGOL 60 and Fortran have both been interpreted (even though they were more typically compiled). Similarly, Java shows the difficulty of trying to apply these labels to languages, rather than to implementations; Java is compiled to bytecode which is then executed by either interpreting (in a Java virtual machine (JVM)) or compiling (typically with a just-in-time compiler such as HotSpot, again in a JVM). Moreover, compiling, transcompiling, and interpreting is not strictly limited to only a description of the compiler artifact (binary executable or IL assembly).

High-level language computer architecture

[edit]

Alternatively, it is possible for a high-level language to be directly implemented by a computer – the computer directly executes the HLL code. This is known as a high-level language computer architecture – the computer architecture itself is designed to be targeted by a specific high-level language. The Burroughs large systems were target machines for ALGOL 60, for example.[12]

See also

[edit]

References

[edit]
  1. ^ "HThreads - RD Glossary". Archived from the original on 26 August 2007.
  2. ^ London, Keith (1968). "4, Programming". Introduction to Computers. 24 Russell Square London WC1: Faber and Faber Limited. p. 184. ISBN 0571085938. The 'high' level programming languages are often called autocodes and the processor program, a compiler.{{cite book}}: CS1 maint: location (link)
  3. ^ London, Keith (1968). "4, Programming". Introduction to Computers. 24 Russell Square London WC1: Faber and Faber Limited. p. 186. ISBN 0571085938. Two high level programming languages which can be used here as examples to illustrate the structure and purpose of autocodes are COBOL (Common Business Oriented Language) and FORTRAN (Formular Translation).{{cite book}}: CS1 maint: location (link)
  4. ^ Giloi, Wolfgang, K. [de] (1997). "Konrad Zuse's Plankalkül: The First High-Level "non von Neumann" Programming Language". IEEE Annals of the History of Computing, vol. 19, no. 2, pp. 17–24, April–June, 1997. (abstract)
  5. ^ Although it lacked a notion of reference-parameters, which could be a problem in some situations. Several successors, including ALGOL W, ALGOL 68, Simula, Pascal, Modula and Ada thus included reference-parameters (The related C-language family instead allowed addresses as value-parameters).
  6. ^ Surana P (2006). "Meta-Compilation of Language Abstractions" (PDF). Archived (PDF) from the original on 17 February 2015. Retrieved 17 March 2008. {{cite journal}}: Cite journal requires |journal= (help)
  7. ^ Kuketayev, Argyn. "The Data Abstraction Penalty (DAP) Benchmark for Small Objects in Java". Application Development Trends. Archived from the original on 11 January 2009. Retrieved 17 March 2008.
  8. ^ Chatzigeorgiou; Stephanides (2002). "Evaluating Performance and Power Of Object-Oriented Vs. Procedural Programming Languages". In Blieberger; Strohmeier (eds.). Proceedings - 7th International Conference on Reliable Software Technologies - Ada-Europe'2002. Springer. p. 367.
  9. ^ Manuel Carro; José F. Morales; Henk L. Muller; G. Puebla; M. Hermenegildo (2006). "High-level languages for small devices: a case study" (PDF). Proceedings of the 2006 International Conference on Compilers, Architecture and Synthesis for Embedded Systems. ACM.
  10. ^ Kernighan, Brian W.; Ritchie, Dennis M. (1988). The C Programming Language: 2nd Edition. Prentice Hall. ISBN 9780131103627. Archived from the original on 25 October 2022. Retrieved 25 October 2022.{{cite book}}: CS1 maint: bot: original URL status unknown (link)
  11. ^ Hyde, Randall. (2010). The art of assembly language (2nd ed.). San Francisco: No Starch Press. ISBN 9781593273019. OCLC 635507601.
  12. ^ Chu, Yaohan (1975), "Concepts of High-Level Language Computer Architecture", High-Level Language Computer Architecture, Elsevier, pp. 1–14, doi:10.1016/b978-0-12-174150-1.50007-0, ISBN 9780121741501
[edit]
脚脱皮用什么药 免疫力低吃什么 过敏看什么科 蜂胶有什么作用和功效 男人眼角有痣代表什么
hpv疫苗是什么 贫血检查查什么项目 为什么会有口臭 最近嗜睡是什么原因 36d什么意思
盆腔炎吃什么 10.21是什么星座 大便干结是什么原因 什么叫平年什么叫闰年 岳飞是什么生肖
毛泽东什么时候死的 为什么会长寻常疣 抖是什么意思 多西他赛是什么药 梦见性生活是什么意思
莫逆是什么意思hcv7jop9ns9r.cn 近视散光是什么意思hcv9jop6ns0r.cn 纳米是什么单位hcv8jop9ns5r.cn 铲垃圾的工具叫什么hcv9jop0ns7r.cn 箬叶和粽叶有什么区别zsyouku.com
簸箕是什么东西hcv8jop1ns5r.cn 梅花什么时候开hcv8jop9ns1r.cn 为什么家里蟑螂特别多hcv9jop4ns4r.cn tcr是什么意思hcv8jop6ns9r.cn 18是什么意思hcv9jop0ns8r.cn
姓黑的都是什么族hcv9jop3ns7r.cn 胆在什么位置hcv8jop0ns5r.cn 怀孕喝什么牛奶好hcv9jop1ns3r.cn 检查免疫力都需要化验什么项目hcv9jop0ns2r.cn ki67是什么意思hcv7jop6ns7r.cn
蛔虫和蛲虫有什么区别hcv8jop4ns9r.cn 十月三十号什么星座hcv9jop0ns0r.cn 小孩牙疼吃什么药hcv8jop5ns3r.cn 白色虫子是什么虫图片hcv8jop8ns0r.cn 怀孕后壁和前壁有什么区别hcv9jop4ns8r.cn
百度