Fastly, Inc, a global edge cloud platform provider, announced the availability of JavaScript in Compute@Edge, allowing developers to build with even more flexibility in Fastlyโs serverless compute environment. With more JavaScript developersย in the world than there are for any other development language, the availability of a faster, more secure way of building with JavaScript brings Compute@Edgeโs safety benefits and speedy execution to more workloads around the globe.
โWhen we launched Compute@Edge with a language-agnostic vision, JavaScriptย wasnโt one of the languagesย we evaluated for support, because at the time, it couldnโt compile to WebAssembly, meaning we wouldnโt have been satisfied with the security of JavaScript within our serverless compute environment,โ said Tyler McMullen, CTO at Fastly. โHowever, since we released Compute@Edge, JavaScript has been the most requested language to add, so it was top of our priority list once WebAssembly supported it. Today, weโre thrilled to open up a serverless, zero-cold start JavaScript offering with a reduced attack surface, compared to similar offerings on the market. With serverless computing on the rise, we hope this motivates continued adoption of a powerful technology for businesses as they build modern digital experiences.โ
Recommended ITech News:ย GitLab Inc. Wins Google Cloud Technology Partner of the Year Award for Application and Development
For years, JavaScript developers have had to navigate 250+ milliseconds of startup latencyย in serverless environments. Known as cold starts, this latency delays request processing, slowing down time-sensitive applications and websites. To compensate for these delays, developers have tried addingย more functions into a single serverless deployment, leading to increased security risks due to a larger blast radius for attacks. Combined with some alternative platformsโ lack of proper sandboxing between instances, serverless JavaScript has fallen prey to attackers, and developers have either avoided serverless technology or had to accept the shortcomings in safety and speed.
Fastly solves for both of these challenges through key architectural decisions made when Compute@Edge was initially built. Instead of relying on existing technologies for serverless compute – like reusable containers – Fastly built Compute@Edge using WebAssembly. This high-performance technology allows Compute@Edge to scale with startup times that are 100x faster than other serverless offerings on the market, so customers can now execute JavaScript code without having to worry about cold start times. With security in mind, Fastly developed a unique, highly secure isolation technology that creates and destroys a sandbox for each individual request from JavaScript compiled through WebAssembly.
Recommended ITech News: Intel 471 Malware Intelligence Now Available via Bandura Cyberโs New Cyber Intelligence Marketplace
โJavaScript is the most popular programming language today by a distance, continuing to grow and find new niches,” said James Governor, analyst and co-founder at RedMonk. โServerless platforms are a natural home for new JavaScript workloads. Performance and security remain key concerns, and speed is a killer feature. A reduced attack surface and no cold starts is likely to be attractive to modern web developers.”
Fastly has been laser focused on enhancing the developer experience for Compute@Edge and alsoย recently announcedย its local testing environment, allowing developers to run test code with production level parity so they can find and fix issues fast while building for scale and performance within a serverless compute environment.
Recommended ITech News: ZoomInfo Recognized for Excellence in Career Growth and Company Leadership by Comparably

