[xmonad] YAML x config. files --[addendum]--

Roy Lanek lanek at novenine.com
Fri Feb 6 03:32:02 EST 2009


Addendum:

>From the manual:


    YAML::Tiny - Read/Write YAML files with as little code as possible

    PREAMBLE

       The YAML specification is huge. Really, really huge. It contains all
    the functionality of XML, except with flexibility and choice, which makes
    it easier to read, but with a formal specification that is more complex
    than XML.

       The original pure-Perl implementation YAML costs just over 4 megabytes
    of memory to load. Just like with Windows .ini files (3 meg to load)
    and CSS (3.5 meg to load) the situation is just asking for a YAML::Tiny
    module, an incomplete but correct and usable subset of the functionality,
    in as little code as possible.

       Like the other "::Tiny" modules, YAML::Tiny will have no non-core
    dependencies, not require a compiler, and be back-compatible to at least
    perl 5.005_03, and ideally 5.004.

And truly YAML::Tiny is _very_ fast ... I am not able to distinguish a 'cqac'
[see prev. post] which uses YAML::Tiny on the flight, from a 'cqac' which
reads already parsed, dumped non YAML formatted data from a file.

Ergo, it's better/less complicated to use just one, YAML-configuration file.

This for Perl already. I imagine with Haskell, where ghc is generating a, in
general, significantly faster code ...

/Roy
-- 
:::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::9::
::::::::::;::@@@:::::::::::::::@P:::::::::::::::::::::::::::::::::::::::9::
:::::::@@@@::::@::L;:;;:::::;;;7F:;LL:;;;::::;LL:;L::;:::LLL:;;::;L;::::9::
:::::::@@L@::::@::7@@FH@:::@FH@>@@@@7:9F7::::77@;:H at MH@;:77@@FHF at F77@:::@::
:::::::::7@::::@:::@:::7E:H4::7>F::7@:@:::9L::::@:@F:::@:::@L:::F:;;@::::::
::::::@@F:@L:::@:::@::::@:@::::>F:::@:@:::9L::::@:A::::@:::@::::@:777::::::
::B:::@:::@:;:@@:::@L;;@@:AL:::::::;@:7@@@@L@:;@F:7@;:;@:::@::::7@@L:::::::
::E:::7@@@57HM7@@@L:7HF7 at M:@@@::::@@E:@@@77L at HN7:::7HMF@@::@::::@;;@L::::::
::E:::::::::::::::::::::::::::::::::::::::9@:::::::::::::::@@L::@7F7:::::::
::E::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::AMMMMMMMMMM Slackware Linux MMMMMMMMMM:::::::::::::::::::::::::::::::::::


More information about the xmonad mailing list