Project Bun is a runtime JavaScript/TypeScript project aiming to replace NodeJS version 1.2, passing over 90% of NodeJS’s own test suite across all modules. Despite NodeJS’s extensive test suite of over 2,600 files, it relies on NodeJS’s internal APIs that are unrelated to APIs used by various libraries. Therefore, Bun must write some new test cases to ensure successful testing, sometimes testing direct warnings, even though NodeJS does not guarantee that the warnings must remain consistent.
Currently, Bun runs the test suite for every version of NodeJS, indicating that Bun may continuously perform better than NodeJS over time. Additionally, the standard libraries of NodeJS are faster than NodeJS itself, such as http2 being twice as fast.
In this version, Bun’s features now include added support for S3 storage and PostgreSQL addition, in addition to the existing support for SQLite.
TLDR: Project Bun aims to replace NodeJS version 1.2, passing over 90% of NodeJS’s test suite and introducing new features like S3 storage and PostgreSQL support.
Leave a Comment