Add –implementation-language flag to Bun
The article humorously proposes adding a `--implementation-language` flag to Bun, allowing users to dynamically rewrite the entire codebase into different programming languages at runtime. It satirizes the JavaScript community's fixation on language rewrites and the recent shift from Zig to Rust in Bun's development. The proposal leverages AI-powered code translation as a trivial, on-demand process, highlighting absurd but entertaining implications.
- ▪The proposal suggests a `--implementation-language` flag that triggers an AI-powered rewrite of Bun's codebase into a user-specified language before execution.
- ▪Supported languages include Rust, Zig, Go, C++, Haskell, COBOL, JavaScript, English, and Brainfuck, each with satirical implementation details.
- ▪The feature would use Claude AI to perform rewrites, billed through the user's Anthropic API key, and includes a `--impl-lang=rotate` option for weekly language rotation.
Opening excerpt (first ~120 words) tap to expand
oven-sh / bun Public Notifications You must be signed in to change notification settings Fork 4.5k Star 91.2k Code Issues 5k+ Pull requests 1.9k Discussions Actions Security and quality 0 Insights Additional navigation options Code Issues Pull requests Discussions Actions Security and quality Insights {"payload":{"preloaded_records":{},"structured_data":{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `--implementation-language` flag now that RIIR is solved — let users pick the next rewrite","articleBody":"### What is the problem this feature would solve?\n\nFirst of all: congratulations on the Rust rewrite. Truly historic.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.