Hacker News new | ask | show | jobs
by 0cf8612b2e1e 1191 days ago
On the other hand, if I have some working C dependency which I never intend to modify (owing to its complexity or stability), plopping the autogenerated Rust code simplifies your build step.

Not that it’s a good idea, but I could see a scenario where it would be worthwhile.

1 comments

>"never intend to modify"

This is ideal state of affairs but sometimes the reality can interfere with our intents.

There are working projects out there whose source code is (at least partially) the output of tools like f2c [which converts Fortran to C].