Skip to content

Long-form names for RTS options

Summary

The GHC RTS has a lot of options. Most of them only have short-form names, so that you cannot tell what they do if you don't know what the letters mean:

This invocation:

+RTS -H2G -A32M -xc -RTS

is a magic incantation

This example proposed version:

--sugested-heap-size 2G --allocation-area-size 32M --dump-stack-traces-on-exception

is self-evident.

The short options would still be available in case you care about typing a few more characters (and for backward compatibility).

Proposed improvements or changes

Give each RTS option a long-form name along with the short-form name.

Edited by Matthew Pickering
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information