The Javascript Ecosystem Killer: Using Bun, to Learn Bun (with AIDER)



The Javascript Ecosystem Killer: Using Bun, to Learn Bun (with AIDER)

The Javascript Ecosystem Killer: Using Bun, to Learn Bun (with AIDER)

Is Bun just another JavaScript hype train, or a legit tool to replace node, jest, ts-node, dotenv, vite, deno, bundlers like webpack, and package managers such as npm, pnpm, yarn, and more? These are the burning questions on every engineer’s mind. Today we aim to answer this question and 3 critical questions great engineers ask themselves when considering new technology. We use bun and it’s array of commands including bun init, bun test, bun run, and bun install to see if it’s truly the all-in-one JavaScript replacement it claims to be. Stand by as we delve into whether Bun is the future of JavaScript and TypeScript engineering or just another hype train mirage.

In this video we use Bun to learn Bun. Using our favorite AI engineering tool, Aider, we build a rapid learning application and auto generate runnable code to help us prove Bun’s ability to run .ts, .js, .tsx, .jsx files effortlessly out of the box. The good news? Bun is a potential all-in-one JavaScript substitute. Just imagine calling one command to handle everything from bundling, testing, installing, and executing your code! However, it’s not all good news. We also discuss a major risk that Bun poses.

🤖 Learn AIDER and become an AI engineer
https://youtu.be/MPYFPvxfGZs

🖥 Equipment

– Mac Book Pro 16″ M2 https://support.apple.com/kb/SP890?locale=en_US
– Fujifilm X-H2s https://fujifilm-x.com/en-us/products/cameras/x-h2s/specifications/

📖 Chapters
00:00 The Javascript Ecosystem Killer
00:23 Great Engineers Ask These 3 Questions
00:40 Bun init
01:05 Bun install
01:15 Bun run
01:30 Already replaced half the ecosystem
02:00 Our App
05:15 Axios Scrap
06:30 Cheerio Parse Html
08:55 Bun file writing
11:25 Our Favorite AI Tool AIDER
14:15 Learning Bun With AI Example 2
15:05 OpenAI trying to rob us
17:05 AI Generated Bun Testing
18:50 Bun test
19:05 Everything just works
19:50 Can Bun Do It?
20:25 CommonJS and ES6 Modules In Same File
21:30 The REAL selling point bun bun bun bun bun
23:50 The biggest risk
25:00 I’ll be using BUN

#javascript #coding #aider

Comments are closed.