Aliens Wiki
Cinematic Knowledge Experience
0%
Aliens Wiki
Now Playing
Aliens Wiki · HIEN
⌨️ Keyboard Shortcuts
Next slide Previous slide SpacePlay / Pause MNarration on/off FFullscreen ?Show/hide this
Press any key to close
Wiki Article · Cinematic

Bun

Bun ek all-in-one JavaScript/TypeScript toolkit hai jo runtime, package manager, bundler, test…

Overview
🌟

Bun — Quick Facts

📌

Key: Value

🎯

Topic: Bun

Type: JavaScript/TypeScript Runtime +…

🔑

Creator: Jarred Sumner

Topic 1
📥 📥 🧠 🔬 💡 🎯

Swiss Army Knife Analogy

💡

Knife (cutting) = Node.js runtime…

🔑

Scissors = npm/yarn (packages…

Screwdriver = webpack/esbuild…

🎯

Flashlight = Jest/Vitest (tests…

Topic 2
💡 📊 🔬

Bun Architecture — Mermaid Diagram

💡 `mermaid flowchart TB BUN["🟠 Bun<br/>(All-in-One Toolkit)<br/>Written in Zig +…
Topic 3
🔒

Bun Components

🎯 | Component | Function | Replaces | Key Command | Key Advantage | |---|---|---|---|---| |…
Topic 4

Why Bun — Node.js Ki Limitations

💡

Node.js: ~45-100ms startup time…

🔑

Bun: ~5-15ms startup time (JSC…

Impact: CLI tools, serverless…

🎯

npm install: Large projects me…

Topic 5
📥 ⚙️ 🔬 💡

JavaScriptCore Engine — V8 Se Kya Alag

💡

V8 (Google): Chrome, Node.js, Deno…

🔑

JavaScriptCore / JSC (Apple):…

SpiderMonkey (Mozilla): Firefox me…

🎯

Faster startup: JSC ka interpreter…

Topic 6

Zig Language — Why Bun Is Fast

💡

Systems programming language —…

🔑

Manual memory management (no…

Comptime: Compile-time code…

🎯

No hidden allocations: Programmer…

Topic 7
📥 ⚙️ 🔬 💡

Built-in Features

💡

bun run app.ts — koi tsc ya…

🔑

.tsx / .jsx files bhi directly run…

Type checking nahi karta (sirf…

🎯

bun run automatically .env file…

Topic 8
📥 ⚙️ 🔬 💡

Package Manager — bun install

💡

Same package.json — koi change nahi

🔑

npm registry se packages download…

bun add express = npm install…

🎯

Existing Node.js project me switch…

Topic 9

Speed Benchmarks — Bun vs Node.js vs Deno

📚 | Benchmark | Bun | Node.js | Deno | Notes | |---|---|---|---|---| | Startup time | ~6ms…
Topic 10
📥 ⚙️ 🔬 💡

Node.js Compatibility

💡

fs (file system): readFile,…

🔑

path: join, resolve, dirname,…

http / https: createServer,…

🎯

crypto: hashing, encryption…

Topic 11

Bun vs Node.js vs Deno — Comprehensive Comparison

🎯 | Aspect | Bun | Node.js | Deno | |---|---|---|---| | Creator | Jarred Sumner | Ryan Dahl…
Topic 12
📥 ⚙️ 🔬 💡

Ecosystem & Adoption

💡

Next.js: Bun compatible (bun run…

🔑

Astro: Official Bun support

SvelteKit: Bun compatible

🎯

Nuxt: Bun compatible

Topic 13
📥 📥 🧠 🔬 💡 🎯

Configuration — bunfig.toml

💡

Install: registry URL, cache…

🔑

Test: coverage settings, timeout,…

Run: environment variables,…

🎯

Bundler: entry points, output…

Topic 14
📥 ⚙️ 🔬 💡

Limitations & Caveats

💡

Agar tumhare project me specific…

🔑

Agar Windows is primary platform…

Agar team Node.js debugging…

🎯

Agar LTS (Long Term Support)…

Topic 15
🔒

Historical Context

💡

Node.js (2009) ne JavaScript ko…

🔑

Lekin years me frustrations build…

Ryan Dahl (Node.js creator) ne…

🎯

Community me demand thi: faster…

Topic 16

Dekhiye Yeh Bhi

💡

[[Node.js]] — Original JavaScript…

🔑

[[Deno]] — Alternative JS/TS…

[[JavaScript]] — Programming…

🎯

[[TypeScript]] — Typed superset of…

Comparison

Speed Benchmarks — Bun vs Node.js vs Deno

⚖️

Startup time: ~6ms

⚖️

HTTP server (req/sec): ~120,000+

⚖️

File read (large): ~3x faster

Comparison

Bun vs Node.js vs Deno — Comprehensive Comparison

⚖️

Creator: Jarred Sumner

⚖️

JS Engine: JavaScriptCore (Apple)

⚖️

Written In: Zig + C++

Diagram
📥 ⚙️ 🔬 💡

Visual Flow

📊 Diagram visualization — details in narration
Quick Quiz
🧠 QUIZ TIME

Quiz — Question 1

Bun ka sabse sahi definition kya hai?

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 2

Bun ka 'Topic' kya hai?

Complete! 🎉
COMPLETE

Bun Complete!

Aliens Wiki · HIEN · Cinematic Knowledge

Bun Complete

1/24
0:00
REC 00:00ESC=Cancel
Aliens School
3
Recording shuru hone wali hai...
Recording Complete
Video process ho rahi hai...
Live Class
Slide 1 / 7
Timer
00:00
📝 Speaker Notes
⏭️ Up Next
🗂️ All Slides