Nmap Development mailing list archives

Re: Nmap is more Lua than C++ now


From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 25 Aug 2014 09:15:12 -0500

On Mon, Aug 25, 2014 at 1:15 AM, yersinia spiros <
metaexploit.spiros () gmail com> wrote:


These stats are better afaik
https://www.openhub.net/p/nmap/analyses/latest/languages_summary


Yes! I forgot that OpenHub keeps historical data. Some interesting analysis:

Lua overtook C++ in May 2011, which makes 5.51 the last release with less
Lua than C++.

Lua overtook C in October 2012 after we moved the OpenSSL and Python
headers and libraries to a separate repository, nmap-mswin32-aux. This
probably also means that all our .h files are being counted as C, even if
they are C++, but I don't know how OpenHub is classifying things.

On the other hand, I think their numbers are inflated. My count shows only
245K non-blank lines of Lua, not 4M. And I don't know why they think we
have Modula-2 and Matlab code! (grep -rhc --include '*.nse' --include
'*.lua*' '.' . | awk '{n=n+$1}END{print n}')

Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: