VOOZH about

URL: https://thenewstack.io/dev-news-angulars-new-loading-an-ai-compiler-and-js-runs-wasm/

⇱ Dev News: Angular's New Loading, an AI Compiler, and JS Runs Wasm - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-10-21 04:00:00
Dev News: Angular's New Loading, an AI Compiler, and JS Runs Wasm
AI / Frontend Development / JavaScript / Software Development

Dev News: Angular’s New Loading, an AI Compiler, and JS Runs Wasm

Angular 17 will introduce a new feature called deferred loading. Also, a new AI compiler and why JavaScript is popular for WebAssembly.
Oct 21st, 2023 4:00am by Loraine Lawson
👁 Featued image for: Dev News: Angular’s New Loading, an AI Compiler, and JS Runs Wasm
Image by Artur Czuba from Pixabay.

Angular 17 has introduced deferred loading, according to Angular Addicts Editor Gergely Szerovay, an IT engineer and full-stack developer.

This is beyond the lazy loading technique introduced in previous Angular versions, he shared. Lazy loading enhances user experience by reducing the initial page load time. It does this by loading non-essential content in the background and presenting it when the user interacts with the page in some way. “Lazy-loading also applies to the dependencies of the content of the block: all the components, directives and pipes will be lazy-loaded, too,” Szerovay explained.

Deferred loading defers adding the lower priority parts of the user interface and focuses resources on loading the most critical parts of the page, according to the request for comment about deferred loading. “For example, a page which shows a main video and a list of comments may be optimized to load the video first, and defer loading the code to render the comments until the video is fully buffered and ready to play,” the RFC noted.

Angular 17 is set for release in early November.

New AI/ML Compiler Based on Swift

PassiveLogic has created a new machine learning and AI compiler. It claims test runs on equivalent models running on the same host processor hit speeds 322 times faster than Google’s TensorFlow and 238 times faster than Meta’s PyTorch. Those compilers are primarily used for natural language processing (NLP), computer vision, and audio processing.

PassiveLogic offers a platform for generative autonomy, but its main focus is creating technology for autonomous buildings. The compiler is written in Swift, the language used by Apple for its iOS, in collaboration with Apple.

“In contrast to the AI models that exist today written in frameworks like TensorFlow or PyTorch, PassiveLogic’s framework in Swift leverages language-integrated differentiable computing that not only merges systems programming and AI, but enables a new generation of heterogeneous networks and typed interfaces that can be clicked together,” the company stated.

PassiveLogic wants to expand Swift to the industrial market, where it could be leveraged to replace legacy languages such as C++. It has identified and reported 33 issues to the Swift language project and provided 27 patches this year, including some for longstanding language bugs.

“Differentiable Swift changes the game for edge-based AI and how we build applications beyond conventional deep learning,” CEO Troy Harvey said.

JavaScript Second Most Widely Used for WebAssembly

JavaScript is the second most widely used language for WebAssembly, which is notable because JavaScript doesn’t compile to Wasm, Scott Logic CTO Colin Eberhardt pointed out in a recent blog post about the State of WebAssembly 2023 survey results.

“To run JavaScript code, the runtime is compiled to WebAssembly, with your code running within the WebAssembly-hosted interpreter,” Eberhardt explained. “This approach, which might sound inefficient, is surprisingly practical and increasingly popular.”

👁 Languages used in WebAssembly according to Scott Logic 2023 survey

Languages used in WebAssembly according to Scott Logic 2023 survey.

It doesn’t offer a speed advantage, but such deployments do get the security and isolation benefits of WebAssembly, he added. For more on how that all comes together, he recommended an in-depth article from the Shopify team that describes how they supported Shopify functions written in JavaScript, which runs on a WebAssembly platform.

Rust remains the most frequently used language for Wasm, for the third straight year.

“Rust has always been a good fit for WebAssembly; it is a modern system-level language that has broad popularity (the Stack Overflow [report] revealed it is the most desired language seven years in a row), it also happens to be a popular language for authoring WebAssembly runtimes and platforms,” Eberhardt stated.

Swift, Apple’s iOS language, and Zig are also seeing a significant surge in adoption, Eberhardt added. Interestingly, there’s more interest in Zig, Kotlin and C# than actual usage at this point, the post noted.

WebAssembly is still primarily used for web application development, but its use in serverless is on the rise, he said. Also, there’s an increase in the use of WebAssembly in a plugin environment.

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.