X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=HACKING;h=666d504e7336b61ef7d26f559e5b192c56fbd9de;hb=22d9cabeb30bdf491308f60528b6c6a442941d07;hp=c2f4825c4f4fa0ef0cff8c3e961ace4a0b9dfe51;hpb=c40e09cece067663d8dd9f0064f73f4485d46c47;p=public-inbox.git diff --git a/HACKING b/HACKING index c2f4825c..666d504e 100644 --- a/HACKING +++ b/HACKING @@ -40,7 +40,8 @@ the shiny new. Avoid relying on compiled modules too much. Even if it is Free, compiled code makes packages more expensive to audit, build, distribute and verify. public-inbox itself will only be implemented -in scripting languages (currently Perl 5). +in scripting languages (currently Perl 5) and optional JIT-compiled C +(via Inline::C) Performance should be reasonably good for server administrators, too, and we will sacrifice features to achieve predictable performance. @@ -49,3 +50,11 @@ requirements. See design_www.txt and design_notes.txt in the Documentation/ directory for design decisions made during development. + +Perl notes +---------- + +* \w, \s, \d character classes all match Unicode characters; + so write out class ranges (e.g "[0-9]") if you only intend to + match ASCII. Do not use the "/a" (ASCII) modifier, that requires + Perl 5.14 and we're only depending on 5.10.1 at the moment.