LAVA

王朝百科·作者佚名  2009-12-21  
宽屏版  字体: |||超大  

LAVA

Lava,是通过火山或地表裂缝喷发到地球表面(陆地表面或海洋底部)的一种熔岩。同时,其凝固成的火成岩也可以称为Lava。

lava, molten rock that erupts on the earth's surface, either on land or under the ocean, by a volcano or through a fissure. It solidifies into igneous rock that is also called lava.

Before reaching the earth's surface, the mixture of solid and liquid rock, and gases, is known asmagma. Lavas are composed chiefly of silica and the oxides of aluminum, iron, magnesium, calcium, sodium, and potassium. Silica, with soda and potash, predominates in the light-colored, acid felsites; iron oxides, lime, and magnesia, in the dark-colored, basic basalts. Rock froth forms on the upper part of a lava flow if bubbles solidify before the gas can escape. Light-colored, glassy froth is pumice; dark, cindery or slaggy froth, of a coarser texture than pumice, forms what is known as scoriae. Lava flows which solidify as a mass of blocks and fragments with a rough surface are called block lava, or aa; those which solidify with a smooth, ropy, billowy surface are known as corded lava, or pahoehoe. Lava can sometimes cover wide regions through great fissures in the earth's surface, as in the ancient Columbia River plateau of the NW United States, where it is spread over 30,000 sq mi (77,700sq km) and is up to 5,000 ft (1,524m) deep. Other such regions are found in the Deccan plateau of India, in E Brazil, and in Iceland. Submarine lavas develop through volcanic activity along the mid-oceanic ridges and plate boundaries, where the mid-oceanic ridges produce more lava than any continental eruptions. Such underwater eruptions also harbor rich fauna unique to the vent area, such as red tube worms and giant clams, whose food supply is based on the hydrogen sulfide abundant in the vent waters. Unique features include black smokers, or hot springs of mineral-rich water that belch out from the ocean ridge where it is most active. In many instances the reasons for the heat and liquidity of magma, its exact source, and the causes of its rise in the earth are not clearly known, though the volcanic activity is often related to seafloor spreading. Other volcanic areas also lie along colliding plate boundaries and around rising magma hot spots. See plate tectonics.

LAVA就是Lee(开发者的笔名)和JAVA的简称.

LAVA是一种伪编译的语言(这一点与JAVA相同,除此之外在语法上没有任何关系).

LAVA的语法极其类似c(但还是有一些不同).

LAVA程序在电脑端伪编译后,生成由一系列伪指令(伪指令长度一般为1~5字节)组成的lav文件.

lav文件通过文曲星端的LAVA解释器执行.

优点:

1.跨平台

由源代码编译的lav文件不做任何修改即可直接在任何有LAVA解释器的文曲星上执行,无须再次编译.

这一点c做不到,gvbasic也做不到(由于大量gvbasic使用了peek,poke,call等机器相关的语句,造成各机型的basic程序都有不同程度的不兼容).

好处:由于文曲星机型众多,程序员没有时间为每一种机型编写软件,大量软件由用户自己编写.而用户编写的程序一般只适用其拥有的机型,越是新机型,软件越短缺,这也是网上用户抱怨较多的一种原因.而LAVA是跨平台的,新机型可直接使用老机型的lav软件,解决了软件短枪问题.

2.与其他语言的比较

速度:比gvbasic快多了。当然要比c慢,比汇编更慢。但是更快的速度已经不是必要,LAVA有其他特性来弥补这一点。

目标代码的大小:完成同样的任务,目标代码比gvbasic大一些,但要比汇编小,比c小许多。

支持的最大目标文件长度:16M。basic是64K以下,c有32k的限制(超过32k函数调用很麻烦)。

内部函数:basic的函数极其简陋,汇编需要自己写函数,c的函数较丰富,但仍有不足。LAVA的函数库将十分丰富,尤其具有强大高效的绘图函数。lava的绘图函数库,相当于windows的directx。

结构化:basic和汇编都不是结构化语言,c和lava是结构化语言。结构化编程能够减少错误出现的概率。

编程效率:汇编效率很低,basic,c,lava由于是高级语言,效率较高。

用户友好:汇编,c,basic都要求用户对硬件有一定程度的了解。lava通过解释器屏蔽了硬件相关性,用户不需要知道硬件底层(这些工作交给解释器就行了)。

资料来源:LEE.lava8.com

另:LAVA是LAVA-LAVA的简称。一种聊天通讯工具。

Lava-Lava是一个简单有趣又高效实用的互联网通讯软件。它不仅具有传统即时聊天工具的所有功能,还能够支持5人同时进行语音对话或者视频会议,提供离线文件传输。该软件是免费的,下载和安装都很容易方便。最新推出的部落版可以建立多达300人的部落,并且具有不限容量的文件共享能力。

Lava-Lava,用以表达收获、友谊、团结、热情、欢乐、活力,来源于南太平洋岛国萨摩亚,是部落族人在聚会欢庆时所高呼的语言。

在南太平洋岛国萨摩亚的部落中,族人们在椰子树下、花香弥漫的草地上快乐地舞蹈,高呼欢快的“Lava-Lava”,共庆收获的快乐。

 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝百科 版权所有