Hacker News new | ask | show | jobs
by senorrib 499 days ago
That's actually a major drawback on Rust to be adopted in enterprise settings. Any GPL library statically compiled would force the entire codebase to be licensed under GPL as well.
2 comments

Whether it's source or a binary doesn't matter. You aren't allowed to use a compiled GPL library in non free code. LGPL was specifically made for that case.
GPL can contaminate you when shared as a dynamic library under certain circumstances. But that doesn't matter, since there are few mainstream libraries in these communities licensed as GPL. Nearly all of it is MIT or Apache.
There is no such thing as contamination.

GPL code doesn't change the license of your code. It only prevents you from using GPL code from your code.

This is a distinction without a difference. If I must use it, I’d have to GPL my code.