It could be interesting to clone the git repository of linux and query it immediately.
Cloning the repo
Beware it's a large file! (~1.5G)
Install git and run the following (in a new directory):
git clone http://github.com/torvalds/linux.git
Querying the repo
Once you've cloned it, you can analyze the log of commits with git log.
Since the log is so long, you may want to limit your research to a smaller period of time:
git log <since>..<to>
for instance
git log v3.4..v3.5
This has theoretically a lot of info you could use. For example, that command prints the 20 most prolific committers along with their number of commits and their email address.
$ git log v3.4..v3.5 | grep Author | cut -d ":" -f 2 | sort | uniq -c | sort -nr | head -n 20
417 Linus Torvalds <[email protected]>
257 Greg Kroah-Hartman <[email protected]>
196 Mark Brown <[email protected]>
191 Axel Lin <[email protected]>
172 David S. Miller <[email protected]>
138 Daniel Vetter <[email protected]>
132 H Hartley Sweeten <[email protected]>
128 Al Viro <[email protected]>
117 Stephen Warren <[email protected]>
113 Tejun Heo <[email protected]>
111 Paul Mundt <[email protected]>
104 Johannes Berg <[email protected]>
103 Shawn Guo <[email protected]>
101 Arnd Bergmann <[email protected]>
100 Thomas Gleixner <[email protected]>
96 Eric Dumazet <[email protected]>
94 Hans Verkuil <[email protected]>
86 Chris Wilson <[email protected]>
85 Sam Ravnborg <[email protected]>
85 Dan Carpenter <[email protected]>
The email address can give you an idea about the employers of the developers (google.com, cisco.com, oracle.com).
Answer from rahmu on Stack ExchangeWho does even control Linux development?
Which linux distros have the most contributors/developers?
I don't "get" why programmers love Linux -- care to explain?
If I'm going to be programming something, chances are it's going to be for Windows, or at least you're going to want to prioritize support for Windows.
Well, then you're a developer of Windows software and you should probably develop said software on Windows.
That's separate from why Linux is great for programmers. A list of points...
-
Open source is cool if you're a programmer. It means that if something bugs you or software lacks something that you need, you can just send in a patch. In the closed-source world, you're stuck begging the vendor, or maybe if there's a plug-in system, trying to hack it in one way or another. There's open-source for other platforms, but while Windows is the "first class" citizen for games, Linux is decidedly the first class citizen for open source. If you're using an open-source package on Windows, chances are pretty good that it was ported from Linux and is secondary as a development target.
-
A lot of a typical Linux distro isn't just open-source, but script-based. I remember the first time I discovered that the whole SysV init process was easy to read, change, and monitor -- just some text files. That's pretty cool. Tracking down problems on Linux is generally way more convenient than on Windows, where you may find yourself poking into an opaque binary.
-
The Unix system means that command-line programs have the same UI and API. If you know how to use ifconfig, you know how to write programs that use the data that it provides. This is absolutely phenomenal for scripting and throwing together quick programs. For example, I can write a quick encrypted, compression-using VoIP program in a pipeline with ssh and lame. I already know how to use ssh because I use it all the time, and I've used lame occasionally before as well. I can do up a script with netcat, grep, and sed to tell me what type of webserver a remote machine is running in another line; throw in nmap and I've just written a new program to find running computers on a network and report what webservers they're running. The fact that the barrier to writing throw-away programs is so incredibly low means that someone who knows how to program can just throw together programs to solve programs that they run into on an hourly basis. "One-liner" is often used to refer to these, though I've written lots of multi-line one-off programs. If you learn Linux, and can program, you rarely need to do any sort of repetitive work.
-
There are lots of great development tools that you can download at no cost. Valgrind is a particular favorite.
-
/proc and /sys are nice. You get access to the guts of your system and the ability to twiddle things with very high-level languages. I can query the auto-detected speed of my network interface (/sys/class/net/eth0/speed), or make my system ignore ping requests (echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all).
-
Because a large percentage of Linux (and Unix) users over the years have been developers or at least "sophisticated users", there's been a lot of software that has catered to them over the years. Generally, software lets you twiddle knobs, tells you what is breaking at a technical level (not MSIE saying "Internet Explorer was unable to communicate with this website" or the like, leaving me to wonder "So...did a DNS resolution fail? Did the remote website return an HTTP error code? Is the thing not responding to the TCP connect request?"), and is friendly to the use of text-editors for config.
-
Most developers seem to use a lot of software. On Linux, most software is freely-downloadable. You hear about something, you can use it. If you learn a package, it's available everywhere. One command to download and install it on most distros. You don't have your skillset going away because some site didn't buy a license for software package X and so it isn't available. The frustration I hit when using Windows because Tool Which I Have Used And Learned Is Not Available is significant. Learn valgrind on Linux, and you can track down memory problems anywhere. Learn purify on Windows, and...well, I hope that you happen to have a copy of purify available on a machine where you need to track down a problem.
If you're writing cross-platform software, there may be some value to developing on Linux. I'm currently working on a cross-platform package, and I develop on Linux; it's a friendly environment for building tests and doing development. Carmack (Doom, Quake) developed cross-platform software and I believe historically did development on Linux, but if you're writing Windows-only software, no, I wouldn't advocate trying to target WINE or something. Linux is great when you're not constrained to develop specifically for Windows, though. :-) If you're writing, say, anything that runs server-side, a network appliance, or so forth, you aren't going to be stuck having to code for Windows, and then you get to choose.
"Programmers love Linux" shouldn't be equated to "Programmers writing Visual Basic front-ends targeting Windows clients should try and figure out how to develop them on Linux", because that'd be a terrible fit, that I agree.
More on reddit.comIt could be interesting to clone the git repository of linux and query it immediately.
Cloning the repo
Beware it's a large file! (~1.5G)
Install git and run the following (in a new directory):
git clone http://github.com/torvalds/linux.git
Querying the repo
Once you've cloned it, you can analyze the log of commits with git log.
Since the log is so long, you may want to limit your research to a smaller period of time:
git log <since>..<to>
for instance
git log v3.4..v3.5
This has theoretically a lot of info you could use. For example, that command prints the 20 most prolific committers along with their number of commits and their email address.
$ git log v3.4..v3.5 | grep Author | cut -d ":" -f 2 | sort | uniq -c | sort -nr | head -n 20
417 Linus Torvalds <[email protected]>
257 Greg Kroah-Hartman <[email protected]>
196 Mark Brown <[email protected]>
191 Axel Lin <[email protected]>
172 David S. Miller <[email protected]>
138 Daniel Vetter <[email protected]>
132 H Hartley Sweeten <[email protected]>
128 Al Viro <[email protected]>
117 Stephen Warren <[email protected]>
113 Tejun Heo <[email protected]>
111 Paul Mundt <[email protected]>
104 Johannes Berg <[email protected]>
103 Shawn Guo <[email protected]>
101 Arnd Bergmann <[email protected]>
100 Thomas Gleixner <[email protected]>
96 Eric Dumazet <[email protected]>
94 Hans Verkuil <[email protected]>
86 Chris Wilson <[email protected]>
85 Sam Ravnborg <[email protected]>
85 Dan Carpenter <[email protected]>
The email address can give you an idea about the employers of the developers (google.com, cisco.com, oracle.com).
Go to Kernel coverage at LWN.net and do a search for "Releases", and "Contributor statistics". Also do a search for "Who". There are various articles in that index with titles like (most recently) Who wrote 3.5.
While these articles may not directly answer your question, they are as detailed an answer as you are likely to find on the net, without trying to collect information first hand. In particular, they should provide at least a partial answer to 3.
The statistics gathering is done by gitdm (LWN article announcing it: gitdm v0.10 available). Thanks to vonbrand for pointing this out. The repository can currently (January 2015) be obtained with
git clone git://git.lwn.net/gitdm.git
As for 1 and 2, they are not so well defined. In the case of 1, I imagine the answer is almost certainly yes, some of the time. But it is not clear what you are looking for - anecdotal evidence, or some statistics. If statistics, in what form? In the case of 2, by "3rd party groups" it is not clear what you mean, and what kind of help you are referring to. Would people on an IRC channel count as a third party group, for example? Or are you talking about a more formal contractual relationship where money changes hands? Like an outside company retained for temporary consulting? In any case, such information would be hard to get without talking to kernel developers directly, and even then would likely be anecdotal. I suppose forums like the Linux kernel mailing list would be a possibility in that case.