News for hackers. Stuff that matters.
Re:Rewriting Bun in Rust by frizlab on Wednesday July 08, 2026 @09:20PM (#48839734)
My personal memory and concurrent-safe option is Swift. And I agree, choosing a non-memory safe language for a new project is close to irresponsible today…
Re:Rewriting Bun in Rust by pjmlp on Friday July 10, 2026 @03:22AM (#48856785)
Sometimes we have no option, given the industry standards that expect C or C++.

Khronos, Open Group, NVidia, Microsoft, Sony, Nintendo... aren't going to change their APIs and SDKs, just because of social media discussions on the merits of C, C++ vs other safer alternatives.

I agree we should minimise their use, however not everyone accepts a dual language approach, nor there are alternatives in such domains, even if they technically exist, you still need to overcome the human and political factors.

Hence why it is so relevant to fix C and C++ security flaws to some extent as well.

Re:Rewriting Bun in Rust by frizlab on Friday July 10, 2026 @05:05AM (#48857543)
Obviously my comment of irresponsibility was “given that there is a choice.”

Though that’s one nice thing about Swift: it has a very good interop’ with C now, and a “starting to get pretty good” interop’ with C++. So that can help, sometimes. (Obviously, I reiterate, I understand there are situations where the choice is just not possible, and enhancing C and C++ is indeed a good thing.)

Re:Rewriting Bun in Rust by pjmlp on Friday July 10, 2026 @07:13AM (#48858369)
The nice thing about Swift, or Java/Kotlin on Android, is the platform owner attitude, either adopt it, or go elsewhere, that is the only way safety improvements are pushed into mainstream.