惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
D
DataBreaches.Net
腾讯CDC
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
罗磊的独立博客
月光博客
月光博客
MyScale Blog
MyScale Blog
U
Unit 42
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
G
Google Developers Blog
博客园 - 【当耐特】
D
Docker
I
InfoQ
雷峰网
雷峰网

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
VBScript Still Lives: How a Custom Go VM Brought Classic ...
Lucas Guimarães · 2026-05-25 · via DEV Community

When Microsoft officially announced the deprecation of VBScript, it signaled the end of an era. For decades, thousands of critical Line-of-Business (LoB) applications, internal ERPs, and legacy systems built on Classic ASP have been quietly powering corporate intranets, entirely tethered to Windows Server and IIS.

The conventional wisdom dictates that legacy platforms should be rewritten in modern stacks. But rewriting decades of perfectly functional business logic is expensive, risky, and often unnecessary. Instead of letting VBScript die, ** AxonASP ** took a radically different engineering approach: rewriting the entire execution engine from scratch in Go to bring Classic ASP to Linux, macOS, and Docker.

Here is a technical deep dive into how a language from the 90s was re-engineered for the modern cloud computing era.

Dropping the AST: The Shift to a Single-Pass Compiler

The original Microsoft VBScript interpreter relied heavily on older parsing technologies that suffered from repetitive string parsing and high memory allocation overhead under concurrent loads. To achieve modern performance, the AxonASP architecture completely discarded the traditional Abstract Syntax Tree (AST) approach for VBScript execution.

Instead, the runtime features a custom single-pass compiler. As the engine reads the legacy VBScript/VB6-style code, it emits bytecode directly to a highly optimized, stack-based Virtual Machine known as AxonVM. By aggressively avoiding reflection and minimizing dynamic heap allocations in Go, the VBScript execution achieves a virtually zero-allocation overhead.

To handle concurrency, the engine implements an "IIS-style VM pooling" mechanism that maps directly to Go's native goroutines. This means the server can handle high request concurrency with a drastically reduced memory footprint, often outperforming the original Windows Server ASP engine.

The Dual-Language Engine: Synchronous Server-Side JavaScript

While preserving VBScript was the primary goal, a modern runtime needs to speak the language of today's web. The engine implements an AST-based JavaScript runtime (derived from Goja) strictly compliant with ECMAScript 6+.

Because it operates as a dual-language engine, developers can actually mix modern JS (using Array.map, filter, and strict mode) with legacy VBScript in the exact same application environment.

More importantly, the latest architectural updates introduced Node.js compatibility, including support for CommonJS require and ECMAScript Modules (.mjs files). This brings an interesting paradigm shift: Synchronous Server-Side JavaScript.

Unlike Node.js, which forces an asynchronous, event-driven loop and continuous async/await chaining for I/O operations, AxonASP runs each request in its own preemptive goroutine. Developers can write traditional top-to-bottom synchronous JavaScript to fetch database records without blocking the entire web server, drastically lowering the cognitive friction for simple APIs and database-heavy admin panels.

Modern Tooling: CLI, WASM, and AI Integration

Taking ASP out of IIS unlocked completely new deployment and execution models that were previously impossible for VBScript:

  1. CLI and TUI Execution: The runtime ships with a Text User Interface (TUI) and a Command-Line Interface, allowing VBScript and ASP code to be executed directly from a Linux terminal. This makes it possible to use legacy ASP logic for background cron jobs and system administration scripts.
  2. Edge Computing via WebAssembly (WASM): In an experimental push, the engine can be compiled to WebAssembly. This allows legacy server-side ASP and VBScript to run directly inside the user's web browser, opening doors for offline-capable web applications just like Blazor, but using AxonLive.
  3. Built-in MCP Server: Acknowledging the shift toward AI-assisted development, the runtime embeds a Model Context Protocol (MCP) server. AI agents (like those in VS Code) can connect directly to the runtime to understand the system's native libraries, and autonomously refactor or write new ASP code.

Conclusion

Software doesn't have to die just because a corporation stops supporting it. Released under the open-source MPL-2.0 license, this project proves that with the right architectural foundations (and the immense power of Go), even a language as maligned as VBScript can be modernized to run cleanly on modern Linux containers.

VBScript might be officially deprecated by Microsoft, but thanks to open-source engineering, it is very much alive.