structural:reformatting, quality:correction
17th century

True repeating long arms were difficult to manufacture prior to the development of the unitary firearm cartridge; nevertheless, lever-action repeating rifles such as the Kalthoff repeater and Cookson repeater were made in small quantities in the 17th century.

Perhaps the earliest examples of predecessors to the modern machine gun are to be found in East Asia. According to the Wu-Pei-Chih, a booklet examining Chinese military equipment produced during the first quarter of the 17th century, the Chinese army had in its arsenal the 'Po-Tzu Lien-Chu-P'ao' or 'string-of-100-bullets cannon'. This was a repeating cannon fed by a hopper containing balls which fired its charges sequentially. The way it worked was similar to the Perkins steam gun of 1824 or the Beningfield electrolysis gun of 1845 only slow-burning gunpowder was used as the propelling force in place of steam or the gases produced by electrolysis. Another repeating gun was produced by a Chinese commoner, Dai Zi, in the late 17th century. This weapon was also hopper-fed and never went into mass production.

In 1655, a way of loading, aiming and shooting up to 6 wall muskets 60 times in a minute for a total rate of fire of 360 shots per minute was mentioned in The Century of Inventions by Edward Somerset, 2nd Marquess of Worcester, though, like all the inventions mentioned in the book, it is uncertain if it was ever built.

It is sometimes claimed (i.e. in George Morgan Chinn's the Machine Gun) that in 1663 the first mention of the automatic principle of machine guns was in a paper presented to the Royal Society of England by Palmer, an Englishman who described a volley gun capable of being operated by either recoil or gas. However, no one has been able to find this paper in recent times and all references to a multi-shot weapon by a Palmer during this period appear to be referring to a somewhat more common Kalthoff repeater or Lorenzoni-system gun. Despite this, there is a reference in 1663 to at least the concept of a genuine automatic gun that was presented to Prince Rupert, though its type and method of operation are unknown.