news.volyx.in

Bun support is now limited and deprecated (github.com)

594 points by tamnd · 52 days ago · 608 comments on HN

Article summary

The support for Bun as a JavaScript runtime in yt-dlp is being limited and deprecated due to compatibility and security concerns. The minimum required version of Bun will be raised to 1.2.11, and support will be dropped for versions above 1.3.14. This decision is motivated by the recent rewrite of Bun in Rust using Claude, which has raised concerns about the project's direction and maintainability. The yt-dlp team will continue to support the limited range of Bun versions, but reserves the right to drop support entirely if it becomes too burdensome.

Main themes

  • Bun support deprecation
  • JavaScript runtime compatibility
  • Security concerns
  • Code maintainability
  • AI-generated code
  • Vibe coding

What commenters say

  • The decision to deprecate Bun support is justified due to concerns about the project's new direction and maintainability.
  • The use of AI-generated code is not inherently problematic, but it requires proper review and testing to ensure reliability.
  • The rewrite of Bun in Rust using Claude is a significant change that may introduce unforeseen issues and risks.
  • The lack of understanding of the new codebase by the maintainers poses a high risk to the project's reliability and maintainability.
  • The criticism of Bun's new direction is not just about the technology, but also about the values and priorities of the project's maintainers.
  • The idea that code is cheap and can be easily rewritten or forked is not a valid argument against the concerns raised about Bun's deprecation.
  • The use of AI-generated code is becoming increasingly common, but it does not mean that it should be accepted without scrutiny or review.
  • The distinction between vibe coding and agentic engineering is important, and the two concepts should not be conflated or confused.