![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@higress/wasm-assemblyscript
Advanced tools
此 SDK 用于使用 AssemblyScript 语言开发 Higress 的 Wasm 插件。
创建一个新的 AssemblyScript 项目。
npm init
npm install --save-dev assemblyscript
npx asinit .
在asconfig.json文件中,作为传递给asc编译器的选项之一,包含"use": "abort=abort_proc_exit"。
{
"options": {
"use": "abort=abort_proc_exit"
}
}
将"@higress/proxy-wasm-assemblyscript-sdk": "^0.0.1"
和"@higress/wasm-assemblyscript": "^0.0.3"
添加到你的依赖项中,然后运行npm install
。
npm run asbuild
构建结果将在build
文件夹中。其中,debug.wasm
和release.wasm
是已编译的文件,在生产环境中建议使用release.wasm
。
注:如果需要插件带有 name section 信息需要带上"debug": true
,编译参数解释详见using-the-compiler。
"release": {
"outFile": "build/release.wasm",
"textFile": "build/release.wat",
"sourceMap": true,
"optimizeLevel": 3,
"shrinkLevel": 0,
"converge": false,
"noAssert": false,
"debug": true
}
此 SDK 使用的 AssemblyScript 版本为0.27.29
,参考AssemblyScript Status该版本尚未支持闭包、异常、迭代器等特性,并且JSON,正则表达式等功能还尚未在标准库中实现,暂时需要使用社区提供的实现。
FAQs
此 SDK 用于使用 AssemblyScript 语言开发 Higress 的 Wasm 插件。
We found that @higress/wasm-assemblyscript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.