Skip to content or view mobile version

Home | Mobile | Editorial | Mission | Privacy | About | Contact | Help | Security | Support

A network of individuals, independent and alternative media activists and organisations, offering grassroots, non-corporate, non-commercial coverage of important social and political issues.

Mathematical backing for Open Source software.

nickleberry | 30.09.2004 16:23 | Technology | Cambridge

The open source community may now have more than ideology on their side, with researchers showing mathematically that their "release early, release often" software development model is the quickest way to bug-free code.

What follows is a re-posted article (from a website which is part of the Millenium Maths Project) describing this research. The original article is at:
 http://plus.maths.org/issue25/news/programs/

Software is usually created in one of two ways. Eric Raymond coined names for the two approaches: the CATHEDRAL approach, where a team of programmers work as an isolated group creating the software, only releasing it to their users every so often after substantial changes; and the BAZAAR approach, where new versions of the software are released as often as possible, perhaps as a result of work done by a community of user-programmers. Most proprietary software, such as Microsoft Windows, falls into the cathedral category, while the Linux operating system and Apache, the most popular web server, are examples of the bazaar approach.

In a paper currently being refereed, Damien Challet and Yann Le Du from the University of Oxford characterised open source software as that developed in the bazaar style, and closed source as that created with the cathedral approach. They developed a mathematical model of how bugs, or errors in the software, are detected and resolved for the two types of software development.

The model assumes that each software program consists of a number of independent parts, and that users will spot bugs present in a part of the program with a certain probability. Once a bug is reported, the chance that some programmer will be able to fix it is given by another probability. The model of open source software assumes that at each step, the users are using a new version of the software containing all the changes made by the programmers in the previous step. In contrast, for the closed source model, new versions of the software is released to users less frequently.

The study shows that under the same conditions - the same number of users with the same chance of spotting bugs, the same number of equally able programmers, and the same initial level of bugs - open source software will always become bug-free quicker than closed source software. For closed source software to become completely reliable in the same amount of time, the programmers must be more able, or there must be more of them, than for open source software.

The researchers explain that this is a result of the release cycles for closed source software. When a new version is released, after an initial rush of bug finds by users, the programmers are left to find and correct errors with little feedback until the next release. In contrast, the frequent releases of open source software allow for continuous testing by users, and feedback to programmers.

The researchers were also able to use their model to investigate the dynamics of real life projects, such as the development of the open source project Linux, by using records of the number of users and programmers, and the size of the program measured in lines of code. Since its birth in 1991, the growth of the Linux code has been approximately quadratic - much faster than the linear growth of other software projects such as Mozilla - and yet it has a reputation for being very reliable. According to the researchers, "this leaves the question of how Linux could grow at such a pace without compromising its quality".

The answer appears to lie in the quality of Linux programmers. The researchers had to put a lower bound on their ability - the probability that they would successfully fix a bug - to make the model emulate the development of Linux. The researchers concluded that "rapid software growth can indeed lead to high quality software, even in adverse conditions, provided that the programmers' quality is high enough."

The researchers are aware that there are limitations to their current model, including the assumption that a program is made up of independent parts. The next step is to apply the model to a scale free network, which Ricard Solé from the Complex Systems Lab, Barcelona, and his colleagues from the Santa Fe Institute, New Mexico, have shown to be a more accurate description of the structure of software.

A scale free network is a network of points, called nodes, joined together in such a way that most of the nodes are linked directly to only a few others, while an important few nodes are linked to many others. These highly linked nodes act like hubs, and a consequence is that the average distance between any two nodes in the network (the number of links you have to follow to get from one to the other) is small. Many real-world networks have recently been shown to be scale free, including the World Wide Web, with sites like yahoo acting as hubs, and the internet, the physical network of routers and wires behind the WWW - even some metabolic networks and food webs appear to be scale free.

So as research continues, many in the programming community will be waiting to see if it provides more ammunition for the open source debate. Meanwhile, software users will be hoping that it will lead to more reliable software, as we head towards an ever more computer-dependent future.

nickleberry

Upcoming Coverage
View and post events
Upcoming Events UK
24th October, London: 2015 London Anarchist Bookfair
2nd - 8th November: Wrexham, Wales, UK & Everywhere: Week of Action Against the North Wales Prison & the Prison Industrial Complex. Cymraeg: Wythnos o Weithredu yn Erbyn Carchar Gogledd Cymru

Ongoing UK
Every Tuesday 6pm-8pm, Yorkshire: Demo/vigil at NSA/NRO Menwith Hill US Spy Base More info: CAAB.

Every Tuesday, UK & worldwide: Counter Terror Tuesdays. Call the US Embassy nearest to you to protest Obama's Terror Tuesdays. More info here

Every day, London: Vigil for Julian Assange outside Ecuadorian Embassy

Parliament Sq Protest: see topic page
Ongoing Global
Rossport, Ireland: see topic page
Israel-Palestine: Israel Indymedia | Palestine Indymedia
Oaxaca: Chiapas Indymedia
Regions
All Regions
Birmingham
Cambridge
Liverpool
London
Oxford
Sheffield
South Coast
Wales
World
Other Local IMCs
Bristol/South West
Nottingham
Scotland
Social Media
You can follow @ukindymedia on indy.im and Twitter. We are working on a Twitter policy. We do not use Facebook, and advise you not to either.
Support Us
We need help paying the bills for hosting this site, please consider supporting us financially.
Other Media Projects
Schnews
Dissident Island Radio
Corporate Watch
Media Lens
VisionOnTV
Earth First! Action Update
Earth First! Action Reports
Topics
All Topics
Afghanistan
Analysis
Animal Liberation
Anti-Nuclear
Anti-militarism
Anti-racism
Bio-technology
Climate Chaos
Culture
Ecology
Education
Energy Crisis
Fracking
Free Spaces
Gender
Globalisation
Health
History
Indymedia
Iraq
Migration
Ocean Defence
Other Press
Palestine
Policing
Public sector cuts
Repression
Social Struggles
Technology
Terror War
Workers' Movements
Zapatista
Major Reports
NATO 2014
G8 2013
Workfare
2011 Census Resistance
Occupy Everywhere
August Riots
Dale Farm
J30 Strike
Flotilla to Gaza
Mayday 2010
Tar Sands
G20 London Summit
University Occupations for Gaza
Guantanamo
Indymedia Server Seizure
COP15 Climate Summit 2009
Carmel Agrexco
G8 Japan 2008
SHAC
Stop Sequani
Stop RWB
Climate Camp 2008
Oaxaca Uprising
Rossport Solidarity
Smash EDO
SOCPA
Past Major Reports
Encrypted Page
You are viewing this page using an encrypted connection. If you bookmark this page or send its address in an email you might want to use the un-encrypted address of this page.
If you recieved a warning about an untrusted root certificate please install the CAcert root certificate, for more information see the security page.

Global IMC Network


www.indymedia.org

Projects
print
radio
satellite tv
video

Africa

Europe
antwerpen
armenia
athens
austria
barcelona
belarus
belgium
belgrade
brussels
bulgaria
calabria
croatia
cyprus
emilia-romagna
estrecho / madiaq
galiza
germany
grenoble
hungary
ireland
istanbul
italy
la plana
liege
liguria
lille
linksunten
lombardia
madrid
malta
marseille
nantes
napoli
netherlands
northern england
nottingham imc
paris/île-de-france
patras
piemonte
poland
portugal
roma
romania
russia
sardegna
scotland
sverige
switzerland
torun
toscana
ukraine
united kingdom
valencia

Latin America
argentina
bolivia
chiapas
chile
chile sur
cmi brasil
cmi sucre
colombia
ecuador
mexico
peru
puerto rico
qollasuyu
rosario
santiago
tijuana
uruguay
valparaiso
venezuela

Oceania
aotearoa
brisbane
burma
darwin
jakarta
manila
melbourne
perth
qc
sydney

South Asia
india


United States
arizona
arkansas
asheville
atlanta
Austin
binghamton
boston
buffalo
chicago
cleveland
colorado
columbus
dc
hawaii
houston
hudson mohawk
kansas city
la
madison
maine
miami
michigan
milwaukee
minneapolis/st. paul
new hampshire
new jersey
new mexico
new orleans
north carolina
north texas
nyc
oklahoma
philadelphia
pittsburgh
portland
richmond
rochester
rogue valley
saint louis
san diego
san francisco
san francisco bay area
santa barbara
santa cruz, ca
sarasota
seattle
tampa bay
united states
urbana-champaign
vermont
western mass
worcester

West Asia
Armenia
Beirut
Israel
Palestine

Topics
biotech

Process
fbi/legal updates
mailing lists
process & imc docs
tech