Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Request for Thrift RPC support #1677
I'm ok with libstd carrying these. Not libcore, but "general purpose serialization formats" tend to be pretty small. Even ASN.1 is ok. These are typically really well defined, stable, have no external dependencies, are easy to implement and test, useful in a slew of contexts, and take little space to implement.
The EBML code in libstd is 229 lines of code and consumes 4035 bytes of compiled code in the resulting library.
We've also discussed these libraries arriving in libstd before:
and, fwiw, "large standard libraries" seem to be the norm in recent languages. See python, ruby, go standard libraries:
About the only things new languages are shying away from in the standard libraries are desktop-GUI libraries like QT and GTK (at least, any beyond tk). Because those usually outmass the remainder of the library, are very project-specific, and typically bring their own standard libraries along for the ride.
Closing due to inactivity. Functionality like this doesn't belong in libstd, and libextra is going to be dissolved in the future, so this would be best suited implemented as a separate library. There's been very little activity on this, and I don't think that this is an issue for the compiler as a whole, but rather just a general wishlist of libraries that exist.