当前位置:网站首页>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_toandresv_from - DNS Name search
- Check socket Valid values for option enumeration
- correct :MacOS Upper wasi-socket
- correct : Use the same fd call
poll_oneoffTwice and at socket On the callfd_closeAn error occurred when . ::getaddrinfoZero terminated string of .
Looking forward to the future , We will Provide compatibility wasm Of Rust TLS Realization , To support
HTTPSand 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_ImportObjectContextMerge intoWasmEdge_ModuleInstanceContextin . - Use pointing to
WasmEdge_FunctionInstanceContextAnd notFuncRefIndex in value type . - take
WasmEdge_StoreContextThe function of is moved toWasmEdge_ModuleInstanceContext. - Updated
WasmEdge_VMContextAPI.
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_ModuleInstanceContextandWasmEdge_StoreContext APIsThread 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.
边栏推荐
- Loss损失函数
- Devops foundation chapter Jenkins deployment (II)
- The preliminary round of the sixth season of 2022 perfect children's model Foshan competition area came to a successful conclusion
- Two tips for block level elements
- PC端隐藏滚动条
- AI chief architect 8-aica-gao Xiang, in-depth understanding and practice of propeller 2.0
- Installing MySQL under Linux
- Sword finger offer 30 Stack containing min function
- 三体攻击(三维拆分加二分)
- Tree
猜你喜欢

ROS notes (09) - query and setting of parameters

设置网页的标题部分的图标

redis02——一篇终结redis的五种数据类型操作命令(可学习、复习、面试、收藏备用)

After installing NRM, the internal/validators js:124 throw new ERR_ INVALID_ ARG_ TYPE(name, ‘string‘, value)

Do you know TCP protocol (2)?

Infinite penetration test

Devops Basics: Jenkins deployment and use (I)

B_ QuRT_ User_ Guide(26)

【学习笔记】拟阵

Devops foundation chapter Jenkins deployment (II)
随机推荐
【学习笔记】线性基
Little artist huangxinyang was invited to participate in the Wuhan station of children's unit of Paris Fashion Week
TCP那点事
Understanding of CUDA, cudnn and tensorrt
DELL R730服务器开机报错:[XXX] usb 1-1-port4: disabled by hub (EMI?), re-enabling...
【Go ~ 0到1 】 第三天 6月27 slice,map 与 函数
Activity implicit jump
Why MySQL cannot insert Chinese data in CMD
B_ QuRT_ User_ Guide(26)
Kubernetes notes and the latest k3s installation introduction
Modifying the SSH default port when installing Oracle RAC makes CRS unable to install
[learning notes] simulation
小艺人黄鑫洋受邀参加巴黎时装周儿童单元武汉站
匿名页的反向映射
Redis deployment under Linux & redis startup
The RAC cannot connect to the database normally after modifying the scan IP. The ora-12514 problem is handled
爱分析发布《2022爱分析 · IT运维厂商全景报告》 安超云强势入选!
B_QuRT_User_Guide(30)
Set<String>
B_QuRT_User_Guide(28)