Overview of SIMD in WebAssembly SIMD in WebAssembly has the same meaning as in CPUs:...
本篇讨论 C 程序 SIMD 的实现。 使用 emscripten 编译 emscripten 支持 SIMD 指令编译,使用之前需要引入头文件 #include...
WebAssembly 的 SIMD 概况 WebAssembly 的 SIMD 和 CPU 的 SIMD 是一个意思,都是指 Single Instruction...
wabt is a WebAssembly binary toolkit that provides compilation, analysis, debugging, and validation...
wabt 是 WebAssembly 二进制格式工具集,提供 wasm 相关的代码编译、分析、调试和验证等功能。这篇简单介绍一下常用命令的用法。 编译 wat 代码 用 wat...
wasm 二进制格式结构 和其他二进制格式一样,wasm 二进制格式也是以 魔术数+版本号 开头( Magic Number + Version...
Let's step beyond the scope of GDAL and explore the features of emscripten. File...
这篇我们跳出 GDAL 的范围,讨论一下 emscripten 的特性。 文件系统 在计算机中,文件系统 File System...
高级计算机语言的两种运行方式 预先编译 Ahead-of-Time Compilation ,简称 AOT 即时编译 Just-in-Time Compilation ,简称...
This article focuses on optimization. The Necessity of Optimization The previous article...
这篇研究优化。 优化的必要性 上上篇介绍了一个完整的编译脚本,运行这个脚本可以顺利编译出 GDAL WebAssembly...
A Head-scratching Problem [undefined] == false; // Outputs true, believe it or...
令人头疼的问题 [undefined] == false; // 这里输出 true 你敢信? [undefined] === false; // 然而这里会输出 false...
This article was translated, original article here. Part 1 covered the compilation process. This...
This article was translated, original article here. Appetizer Preface Developers...
上一篇已经把编译搞定了,这一篇来看看怎么用。 WebAssembly 基本用法 实例化 wasm WebAssembly 名字带 assembly...
开胃菜 前言 有过 GIS 相关开发工作的朋友都知道,GDAL 是 GIS 图形处理最强大的工具,对于 native 客户端和服务端的开发者来说非常友好,提供了适用于多种...
This article was translated, original article here. Browser Thread Allocation Modern...
浏览器的线程分配 现代浏览器普遍采用多进程架构,将网络 I/O、存储、插件等功能分开不同的进程进行处理,其中最重要的,为每一个新开的 tab...
This article was translated, original article here. 1. Preface Google Maps TMS tiles...
1. 前言 google 地图 TMS 瓦片精细,性能卓越,免费,许多 GIS 爱好者或者开发者习惯使用这个服务作为应用的底图。但这个 api google...
This article was translated, original article here. JavaScript Data Types JavaScript is a...
JavaScript 数据类型 JavaScript 是一种变量类型不敏感的语言,在使用变量的过程中,难免需要对其类型进行判断。但是 JavaScript...
This article was translated, original article here. Under the premise of writing Vue components...
—— 使用 TypeScript + jsx 编写 vue 组件的前提下 1. 使用 jsx 语法编写 vue 组件 除了 template 语法,vue 组件也是可以用...