“A line will take us hours maybe;
Yet if it does not seem a moment’s thought,
Our stitching and unstitching has been naught.” — W.B. Yeats

See this for general software issues. Some mathematical software may be found here. Computer Languages.
This is promising.

Specific Code and algorithms:

Generalities about code