Re:Fil-C: A memory-safe C implementation
by coderedart on Wednesday October 29, 2025 @07:56AM
(#45745621)
You absolutely can just transpile any language into any language. You just need to be willing to give up on performance, and fil-c is more or less doing just that.
Re:Fil-C: A memory-safe C implementation
by mbrock on Wednesday October 29, 2025 @08:47AM
(#45746137)
Let me know when the full "C++ to Go" toolchain is up and running, I'd love to try it and compare!
Re:Fil-C: A memory-safe C implementation
by einsteinx2 on Wednesday October 29, 2025 @07:37AM
(#45745453)
> Oh, you mean we can solve all our problems by simply rewriting all legacy software?
Isn’t that Rust’s raison d'être?
(Just kidding…mostly)
Pretty sure that's a programmer's raison d'être. Not invented here (NIH) syndrom predates Rust.
Re:Fil-C: A memory-safe C implementation
by einsteinx2 on Wednesday October 29, 2025 @10:45AM
(#45747521)
Fair point, though it does seem to be more common in the Rust community to the point that it’s become a bit of a meme.
Related funny anecdote, I recently saw a Show HN post title that made sure to mention the thing was written in Rust, but forgot to mention what it actually did. Priorities lol.
I’m sure it sounds like I’m a Rust hater or something, but I’m really not. I like a lot of the new Rust tools being created and use a few myself (ripgrep, fd, and bat immediately come to mind but I’m sure there are more I’m using). I just find the almost religious fervor of the Rust community amusing.
Re:Fil-C: A memory-safe C implementation
by vacuity on Wednesday October 29, 2025 @11:40AM
(#45748315)
Please don't assume the entire Rust community, or most of it, is intent on rewriting all legacy software. Frankly, I think the more familiar one is with Rust, the less one is inclined to blindly advocate for rewriting things in Rust, and the Rust language developers are among those most familiar.
Except, uh, you can't use C# or Go to run a program written in C/C++.
Oh, you mean we can solve all our problems by simply rewriting all legacy software? Right, I forgot!