3 ms·
One example is PostgreSQL, it depends on Perl and writes new stuff in it. For instance, this commit https://github.com/postgres/postgres/commit/c64d0cd5ce24a34
by JoelJacobson 6y ago
One example is PostgreSQL, it depends on Perl and writes new stuff in it.
For instance, this commit https://github.com/postgres/postgres/commit/c64d0cd5ce24a344798534f1bc5827a9199b7a6e https://github.com/postgres/postgres/commit/c64d0cd5ce24a344...
that implemented a minimal perfect hash solution to speed up the parser.
The actual Perl code: https://github.com/postgres/postgres/blob/master/src/tools/PerfectHash.pm https://github.com/postgres/postgres/blob/master/src/tools/P...
- anarazel 6y agoBut only because perl was chosen as the default non-C language for postgres build system stuff maybe 20 years ago...
- JoelJacobson 6y agoYes, I agree. I just thought it was a nice example on some high-quality recently written Perl code, implementing something entirely new.