WebAssembly’s binary format is designed to be executable efficiently on a variety of operating systems and instruction set architectures, on the Web and off the Web.
Execution environments which, despite limited, local, nondeterminism, don’t offer the following characteristics may be able to execute WebAssembly modules nonetheless. In some cases they may have to emulate behavior that the host hardware or operating system don’t offer so that WebAssembly modules execute as-if the behavior were supported. This sometimes will lead to poor performance.
As WebAssembly’s standardization goes forward we expect to formalize these requirements, and how WebAssembly will adapt to new platforms that didn’t necessarily exist when WebAssembly was first designed.
WebAssembly portability assumes that execution environments offer the following characteristics:
WebAssembly does not specify any APIs or syscalls, only an import mechanism where the set of available imports is defined by the host environment. In a Web environment, functionality is accessed through the Web APIs defined by the Web Platform. Non-Web environments can choose to implement standard Web APIs, standard non-Web APIs (e.g. POSIX), or invent their own.
Portability at the C/C++ level can be achieved by programming to
a standard API (e.g., POSIX) and relying on the compiler and/or libraries to map
the standard interface to the host environment’s available imports either at
compile-time (via #ifdef
) or run-time (via feature detection
and dynamic loading/linking).
给小孩办身份证需要什么 | 牛郎是什么职业 | 乔木是什么 | 腊肉配什么菜炒好吃 | 龟头有白色污垢是什么 |
天麻是什么东西 | 沛是什么意思 | 什么是尿毒症 | 孕妇手麻是什么原因引起的 | 狗狗尾巴溃烂用什么药 |
bpo是什么意思啊 | 男人喜欢什么姿势 | 甩货是什么意思 | 深静脉血栓有什么症状 | 靳东妹妹叫什么名字 |
什么是押韵 | 蛇鼠一窝是什么生肖 | 手指甲上有竖纹是什么原因 | 干眼症有什么症状 | 殷是什么意思 |
梦见大房子是什么预兆hcv8jop1ns5r.cn | 自身免疫性疾病是什么意思hcv9jop1ns4r.cn | 右下眼皮跳是什么原因hcv9jop1ns6r.cn | 舌头烧灼感是什么原因hcv7jop6ns4r.cn | 藿香正气水有什么作用hcv9jop7ns5r.cn |
巨蟹和什么星座最配hcv8jop1ns5r.cn | 巨细胞病毒是什么病jiuxinfghf.com | prc是什么意思hebeidezhi.com | 湿疹是什么原因造成的bfb118.com | 朋友过生日送什么好hcv8jop5ns9r.cn |
心跳加速心慌吃什么药hcv9jop8ns1r.cn | 没有子宫会有什么影响hcv8jop9ns4r.cn | 吃什么祛痰化痰最有效hcv8jop5ns5r.cn | 全身痒是什么原因dayuxmw.com | 花生碎能做什么食物吃xjhesheng.com |
pr间期缩短什么意思hcv8jop0ns9r.cn | 昕五行属什么hcv8jop8ns1r.cn | 拔牙后吃什么hcv8jop4ns6r.cn | 半夜睡不着是什么原因hcv8jop8ns4r.cn | 什么运动可以让孩子长高hcv8jop3ns8r.cn |