3 ms·
> you might as well use C# or Go 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 re
by mbrock 1y ago
> you might as well use C# or Go
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!
- einsteinx2 1y ago> 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)
- Ygg2 1y agoPretty sure that's a programmer's raison d'être. Not invented here (NIH) syndrom predates Rust.
- einsteinx2 1y agoFair 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.
- vacuity 1y agoPlease 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.
- coderedart 1y agoYou 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.
- mbrock 1y agoLet me know when the full "C++ to Go" toolchain is up and running, I'd love to try it and compare!
- Ygg2 1y agoIf you can convert Cobol to Java, you can convert C++ to a GC language as well. If you are so inclined.