Wasm images are also smaller and start faster than traditional images. Wasm modules have no access to the underlying system by default bringing added security. With this change, you’ll now be able to leverage your existing container infrastructure to run WebAssembly modules. A change was made to allow containerd to use a wasm shim and then have that shim use a wasm runtime to run WebAssembly modules. The following article explains how tail calls work with recursive functions to prevent stack exhaustion: Īside from the WebAssembly feature proposals and their implementations, this is an item I view as being a significant game changer: WebAssembly modules that can be run by your container engine and can run side-by-side with your existing containers!Ĭontainerd is a container runtime that is used by several container engines like Docker and Kubernetes. Tail calls are useful for compilation optimizations and certain forms of control flow, like recursive functions. For the specification to move to phase 4, at least two web VMs need to support the feature, so another browser, Safari, in this case, needed to implement it. This has been sitting behind a flag in the Chrome browser for some time now and couldn’t move forward until the specification reached phase 4 (standardization). Because there are multiple types of SIMD, fixed-width 128-bit SIMD operations were chosen as a starting point.Īnother area where Safari picked up the gauntlet in 2022 is with the Tail Call feature, which is also now in Technical Preview 161. This process can result in significant performance gains for things like image processing. SIMD (Single Instruction, Multiple Data) is a type of parallel processing that takes advantage of a CPU’s SIMD instructions to perform the same operation on multiple data points simultaneously. Unfortunately, fixed-width SIMD didn’t make it into Safari in 2022, but it’s now complete and part of Technical Preview 161! Although there weren’t prominent wasm features implemented this past year compared to what happened the year before, a lot is happening under the hood.įor example, in last year’s prediction, I thought fixed-width SIMD was something that Safari would implement in 2022 and round out browser support for it. Check out its release notes here.Safari has continued to improve its WebAssembly support by implementing several bug fixes and improvements, but most of its visible work went into improving the browser in other areas. If you do not have the Safari Technology Preview installed, it is available for free on the Apple Developer website. The update is available through the Software Update menu within the System Preferences app. This means that users running the latest macOS official release can experience the latest Safari changes without having to install beta versions of the operating system. Safari Technology Preview 129 can be installed on both macOS Monterey beta and also macOS Big Sur. Safari Technology Preview 128 first launched in June, then Apple took off this version and released it again by the end of July. With Safari Technology Preview 129, Apple is improving performance and bringing bug fixes for the Web Inspector, CSS, Scrolling, Rendering, WebAssembly, Web API, Platform Features, IndexedDB, Media, WebGL, and WebCrypto.įor those unfamiliar, Safari Technology Preview is an alternative version of Apple’s web browser focused on developers as it comes with beta features that are not yet available in the regular version of Safari.Īs Apple has been testing Safari 15 in the macOS Monterey beta, some features from this version have also been added to Safari Technology Preview - including the controversial new design. This time, the update brings bug fixes and performance improvements. Apple today is releasing another version of Safari Technology Preview for macOS Big Sur and macOS Monterey.
0 Comments
Leave a Reply. |