|
|
|
|
|
by pecg
3070 days ago
|
|
Writing a competent, simple replacement for GnuPG, yet PGP fully compatible, is one of the things I plan to do on the long road, thus I think neopg is a good idea, except the fact that they decided to use C++. I know that type safety is one of the considerations, but OOP always results in ambiguous unnecessarily complex code, and for me that defeats the purpose of simplicity. Nevertheless, the GnuPG codebase is a mess. |
|
Choice quote:
There are many programming languages, and I believe in picking the right tool for the job. In the case of NeoPG, the priorities were:
- Support for strong cryptography.
- Compatibility with C application developers.
- Convert legacy code quickly.
- Tool support for QA.
Everything else is, at this point, a secondary concern. The Sequoia Project uses Rust, and I envy that. But the first thing they had to do was to wrap an existing C crypto library (they choose libnettle), because there is no high quality crypto library for Rust yet. That is their challenge.
My challenge will be to stay focussed on the parts of C++ that are actually helpful, and not get bogged down by the rest.