Source code of manned.org https://manned.org/
Find a file
Yorhel 6114b17389 Experimental rewrite of grotty to html conversion in Rust
The previous C code was troublesome.
- Didn't handle long lines
- I couldn't convince myself that it was free of memory safety issues
- Needed improving anyway, there are some formatting bugs. These are
  hard to fix in the current code.

I mostly replicated the formatting bugs of the old C implementation in
Rust, and possibly added a few new bugs as well. It's not a significant
improvement right now, more testing and fixing will be needed.

The performance of both implementations is comparable, with the Rust
version being slightly faster in many cases (and slower in some others).
I did spend more time trying to optimize this Rust version than I did
with the old C code. I initially tried a naive-ish conversion of the C
code to Rust, but that turned out to be much slower and I had to resort
to using regexes and different data structures fix that.
2017-01-15 12:17:34 +01:00
indexer indexer: Prioritize 7bit encodings when decoding man pages 2016-12-29 09:27:19 +01:00
lib/ManUtils Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
sql Dont index ELF binaries + remove some non-man-pages 2016-12-18 16:35:25 +01:00
util util/freebsd.sh: Fix copy-paste error in package dates 2016-12-30 18:10:46 +01:00
web Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
www Reorganize indexing scripts + use Rust for Debian 2016-11-20 12:34:02 +01:00
.gitignore Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
COPYING Add COPYING, README and link to the public git repo 2012-08-15 18:22:49 +02:00
Makefile Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00
README Experimental rewrite of grotty to html conversion in Rust 2017-01-15 12:17:34 +01:00

The Manned.org Source Code
--------------------------

  This repository holds the source code of Manned.org. For a description of the
  site, check out http://manned.org/info/about.
  
  Ironically, documentation about how things work is completely lacking.



Requirements

  General:
    perl: A somewhat recent version (no idea which, due to my XS usage)
    postgresql: Also a somewhat recent version
    rust + cargo (1.13+)

  www/ & lib/ & webs/: (Website)
    DBI
    DBD::Pg
    TUWF
    JSON::XS
    AnyEvent

  util/ & indexer/: (DB updating and package synchronisation stuff)
    curl
    psql


Contact

  contact@manned.org