Bun Shell로 TypeScript 자동화 스크립트 만들기 — 설치부터 실전 패턴까지
Bun 1.3.14에서 직접 실험한 Bun Shell 완전 가이드. $ 템플릿 리터럴 기본 패턴, .nothrow() 에러 처리, Promise.all 병렬화, macOS echo 함정까지 실제 출력 로그와 함께 정리했다. zx와의 실질적 차이점, 그리고 프로덕션 배포 시 주의사항도 포함.
jangwook.net
Personal technical notes on AI agents, automation, developer tools, and the process of building software.
Latest Notes
The root page stays intentionally small. Choose a language, then read the full archive and related posts there.
AI 에이전트, 자동화, 개발 도구, 소프트웨어 제작 과정을 한국어로 기록합니다.
Bun 1.3.14에서 직접 실험한 Bun Shell 완전 가이드. $ 템플릿 리터럴 기본 패턴, .nothrow() 에러 처리, Promise.all 병렬화, macOS echo 함정까지 실제 출력 로그와 함께 정리했다. zx와의 실질적 차이점, 그리고 프로덕션 배포 시 주의사항도 포함.
2026년 5월 실측 데이터. Gemini 2.5 Flash-Lite(65 TPS), 2.5 Flash, 2.5 Pro, 3.5 Flash를 동일 조건에서 비교했다. 챗봇·코드리뷰·RAG 시나리오별 월 비용 계산과 어떤 프로젝트에 어느 모델을 써야 하는지 결정 기준을 정리한다.
Qdrant, ChromaDB, pgvector를 1000개 벡터(dim=384) 환경에서 직접 벤치마크했다. 삽입 속도, 쿼리 지연, 필터 성능 수치와 함께 RAG 앱에서 어떤 상황에 무엇을 써야 하는지 명확한 기준을 제시한다. 소규모에서 ChromaDB 필터가 Qdrant보다 빠른 이유도 설명한다.
Personal notes on AI agents, automation, developer tools, and building software.
Bun Shell guide from Bun 1.3.14 experiments: $ template literals, .nothrow() error handling, Promise.all parallelism, macOS echo pitfall, and a comparison with zx.
Real measurement data from May 2026. Compared Gemini 2.5 Flash-Lite (65 TPS), 2.5 Flash, 2.5 Pro, and 3.5 Flash under identical conditions. Includes monthly cost calculations for chatbot, code review, and RAG scenarios, plus decision criteria for which project needs which model.
I ran Qdrant, ChromaDB, and pgvector through the same 1000-vector (dim=384) benchmark — insert speed, query latency, and filter performance. Here are the raw numbers and a clear decision framework for RAG apps. Includes why ChromaDB filter queries beat Qdrant at small scale.
AIエージェント、自動化、開発ツール、ソフトウェア開発の記録です。
Bun 1.3.14で実際に実験したBun Shell完全ガイド。$テンプレートリテラル、.nothrow()エラー処理、Promise.all並列化、macOS echoの罠まで実行ログ付きでまとめた。zxとの実質的な違いやプロダクション配備時の注意点も解説。
2026年5月の実測データ。Gemini 2.5 Flash-Lite(65 TPS)、2.5 Flash、2.5 Pro、3.5 Flashを同条件で比較。チャットボット・コードレビュー・RAGシナリオ別月次コスト計算と、どのプロジェクトにどのモデルを使うべきかの判断基準を整理する。
Qdrant、ChromaDB、pgvectorを1000ベクトル(dim=384)環境で実際にベンチマーク。挿入速度・クエリ遅延・フィルタ性能の数値をもとに、RAGアプリでどの状況に何を使うべきか明確な基準を提示。小規模でChromaDBフィルタがQdrantより速い理由も解説する。
记录 AI 代理、自动化、开发工具和软件构建过程。
基于Bun 1.3.14实际实验的Bun Shell完整指南。涵盖$模板字面量、.nothrow()错误处理、Promise.all并行化及macOS echo陷阱,附真实执行日志。还包含与zx的实质差异及生产环境部署的注意事项。
2026年5月实测数据。在相同条件下对比了Gemini 2.5 Flash-Lite(65 TPS)、2.5 Flash、2.5 Pro和3.5 Flash。包含聊天机器人、代码审查、RAG场景的月度成本计算,以及不同项目应选择哪个模型的决策依据。
对Qdrant、ChromaDB、pgvector在1000个向量(dim=384)环境下进行了实际基准测试,涵盖插入速度、查询延迟和过滤性能。提供RAG应用中各场景的明确选型标准,并解释为何小规模下ChromaDB过滤查询比Qdrant更快。