当前位置:网站首页>Wasmedge 0.10.0 release! New plug-in extension mechanism, socket API enhancement, llvm 14 support
Wasmedge 0.10.0 release! New plug-in extension mechanism, socket API enhancement, llvm 14 support
2022-06-28 08:25:00 【Serverless technology community】
stay 0.10.0 In the version ,WasmEdge New plug-ins are provided (plug-in) Mechanism , Make local extensions easier to develop and install , Improved and LLVM 14 The compatibility of , And support the new WebAssembly standard 、 Proposals and features .
- Local host A new plug-in system for the
- Yes WasmEdge socket API The enhancement of ( for example ,WasmEdge Microservices and Web Service client )
- Support the new WebAssembly Proposals and specifications
- WasmEdge C API enhance
- Other features , And bug fixes
Local host A new plug-in system for the
host function Is allowed WebAssembly A bridge for programs to access the functions and features provided by local libraries . This is where we use more features and function extensions WebAssembly runtime The way . for example ,WASI The standard itself is passed host Function let WebAssembly Applications can use libc
Make system calls .
WasmEdge Of TensorFlow、NN、Socket And image processing are extended through host Functionally implemented . Make it easy for developers to use host function , Yes WebAssembly runtime crucial .
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-s3246SRu-1655899627481)(https://i.imgur.com/4OROCuA.png)]
new WasmEdge The plug-in system is designed to simplify host Function development and management . The plug-in system allows developers to use a unified host Function interfaces make it easy to create new WasmEdge Expand . see WasmEdge Book Guidelines in : How to use WasmEdge Add to the plug-in system host function , Let's try .
At present, you can only use C++ To write WasmEdge plug-in unit . We will increase our understanding of Rust and C Support for .
WasmEdge Users of can now use the WasmEdge Add or remove a folder containing host Function to enable or disable WasmEdge Expand . The plug-in system allows users to easily 、 Safely manage the contributions of a large number of developers WasmEdge Expand .
for example , WasmEdge The team achieved wasmedge_process
Extension as a plug-in .wasmedge_process
allow WebAssembly Program calls operating system commands . The next few weeks , We will WasmEdge Migration of existing extensions to new plug-in formats . meanwhile , You are also welcome to WasmEdge Contribution based on host Function extension .
Wasi-socket promote
WasmEdge networking sockets yes non-blocking And high performance . WasmEdge It is the only one that can run Web Service application WebAssembly runtime. Many developers are trying to create and deploy software based on WasmEdge Of Web Service or client . In this release , We continue to improve for developers WasmEdge socket API.
- IPV4 and IPV6 Pattern
- UDP function :
send_to
andresv_from
- DNS Name search
- Check socket Valid values for option enumeration
- correct :MacOS Upper wasi-socket
- correct : Use the same fd call
poll_oneoff
Twice and at socket On the callfd_close
An error occurred when . ::getaddrinfo
Zero terminated string of .
Looking forward to the future , We will Provide compatibility wasm Of Rust TLS Realization , To support
HTTPS
and stay WasmEdge Created in Tokio asynchronous runtime.
C API promote
C API yes WasmEdge Other languages API The basis of , for example WasmEdge Rust API and WasmEdge Go API. This version improves WasmEdge C API.
- take
WasmEdge_ImportObjectContext
Merge intoWasmEdge_ModuleInstanceContext
in . - Use pointing to
WasmEdge_FunctionInstanceContext
And notFuncRef
Index in value type . - take
WasmEdge_StoreContext
The function of is moved toWasmEdge_ModuleInstanceContext
. - Updated
WasmEdge_VMContext
API.
This new version also brings new C API and Go API file . For those who want to use the update C and Go API For the developers , Please refer to WasmEdge Book.
standard Wasm Expand
WasmEdge The momentum is rapid , It's quite in line with WebAssembly standard , And supports all mandatory and optional WebAssembly standard . from 0.10.0 version ,WasmEdge Support Tail Call
and extended-const
The proposal .
Other features and bug fixes
In addition to the above characteristics , There are also some features to note .
- compatible LLVM 14, Improved performance .
WasmEdge_VMContext
、WasmEdge_ConfigureContext
、WasmEdge_ModuleInstanceContext
andWasmEdge_StoreContext APIs
Thread safety in .- AOT Mode of gas Limit , Allow in WasmEdge Precision metering applications in .
- New unit tests .
To learn about WasmEdge 0.10.0 More information about the version , Please check our change log (https://github.com/WasmEdge/WasmEdge/releases/tag/0.10.0)! Join us !
Last , Thank our contributors !
apepkuss, dm4, q82419, cyw3, SAtacker, ibmibmibm, hydai, gusy1234, hangedfish, 0yi0, tpmccallum, MediosZ, hantmc, LFsWang, eat4toast, eee4017, situ2001, meoww-bot, juntao, mfordjody, joyaaa, sunnywa, DarumaDocker, spacewander, luckyJ-nj, mydreamer4134, malc0lm,kgpp34, wenchajun, laingke, cold-Elite, border1px, zhuyaguang, bbcfive, JooKS-me, KerneIErr, zswaaa, zhannicholas, O3OI, KcjinChen, FlyingOnion, swartz-k, Bevisy, deyuhua, zephoon, abhinandanudupa, chinzhiweiblank.
边栏推荐
- NLP sequence can completely simulate human brain intelligence
- 【学习笔记】差分约束
- 新唐NUC980使用记录:自制开发板(基于NUC980DK61YC)
- Oracle RAC -- understanding of VIP
- 【学习笔记】搜索
- Oracle view all tablespaces in the current library
- Introduction to kubernetes (I)
- 探讨gis三维系统在矿山行业中的应用
- Discussion on the application of GIS 3D system in mining industry
- DB
猜你喜欢
Connaissez - vous le protocole TCP (2)?
After installing NRM, the internal/validators js:124 throw new ERR_ INVALID_ ARG_ TYPE(name, ‘string‘, value)
你了解TCP協議嗎(二)?
[learning notes] matroid
JS rounding tips
Prometheus monitoring (I)
B_ QuRT_ User_ Guide(27)
AWS saves data on the cloud (3)
2022巴黎时装周儿童单元6.19武汉站圆满落幕
DELL R730服务器开机报错:[XXX] usb 1-1-port4: disabled by hub (EMI?), re-enabling...
随机推荐
Doris学习笔记之介绍、编译安装与部署
Infinite penetration test
Priority of JS operator
RAC enable archive log
B_QuRT_User_Guide(28)
A - Bi-shoe and Phi-shoe
Idea related issues
B_ QuRT_ User_ Guide(29)
About ASM disk space full, clean up ASM disk
Force buckle 1884 Egg drop - two eggs
Installing MySQL under Linux
Trailing Zeroes (II)
Case tool
DB
Eslint 语法监测关闭
ROS 笔记(09)— 参数的查询和设置
图像翻译/Transformer:ITTR: Unpaired Image-to-Image Translation with Transformers用Transfor进行非配对图像对图像的转换
神殿
Force buckle 1024 video splicing
CloudCompare&PCL 点云SVD分解