Presumably (I say, without trying to imagine all the possibilities) they are interchangeable in meaning, equally grammatical, and this is valid for all verbs. Having said that, the -ing form is much more common, and the infinitive form often seems stylistically awkward nowadays.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Old EladioWe can use the infinitive of a verb as a subject at the beginning of a sentence: “To dance is good for health”. We can also use a present participle, as a subject at the beginning of a sentence too: “Killing animals is sometimes necessary”.Strictly speaking,