Free/Open Source Software: some challenges and opportunities for the next 10 years Roberto Di Cosmo IRILL Director www.dicosmo.org - www.irill.org Universit´ e Paris Diderot - IRILL - INRIA France November 14th, 2013 OW2Con Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 1 / 28
58
Embed
Free Software: Challenges and opportunities for the next decades, Roberto di cosmo
Free software is pervasive, and is being used in some form in practically all software developments. We now face the challenge, and have the opportunity, of creating and using tools that will allow us to accompany the growth of Free Software over the next years.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Free/Open Source Software: some challenges andopportunities for the next 10 years
Roberto Di CosmoIRILL Director
www.dicosmo.org - www.irill.org
Universite Paris Diderot - IRILL - INRIAFrance
November 14th, 2013OW2Con
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 1 / 28
FOSS is or will be part of your software project: get ready!Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 7 / 28
Outline
1 Free Software basic facts
2 Free Software challenges and opportunities
3 Free Software Licensing Complexity
4 Free Software Technical Complexity
5 Coccinelle
6 IRILL
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 8 / 28
Challenges and opportunities
FOSS is radically changing the way software is conceived, developed,maintained, deployed, tested, proven, marketed and sold.
This is a tidal change with disruptive power:
challenges build transparent software (re)using a multitude ofcomponents available with their source code
opportunities huge new market opening up for new tools and expertise
Let’s see a few aspects of this revolution.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 9 / 28
Challenges and opportunities
FOSS is radically changing the way software is conceived, developed,maintained, deployed, tested, proven, marketed and sold.
This is a tidal change with disruptive power:
challenges build transparent software (re)using a multitude ofcomponents available with their source code
opportunities huge new market opening up for new tools and expertise
Let’s see a few aspects of this revolution.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 9 / 28
Challenges and opportunities
FOSS is radically changing the way software is conceived, developed,maintained, deployed, tested, proven, marketed and sold.
This is a tidal change with disruptive power:
challenges build transparent software (re)using a multitude ofcomponents available with their source code
opportunities huge new market opening up for new tools and expertise
Let’s see a few aspects of this revolution.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 9 / 28
Challenges and opportunities
FOSS is radically changing the way software is conceived, developed,maintained, deployed, tested, proven, marketed and sold.
This is a tidal change with disruptive power:
challenges build transparent software (re)using a multitude ofcomponents available with their source code
opportunities huge new market opening up for new tools and expertise
Let’s see a few aspects of this revolution.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 9 / 28
Outline
1 Free Software basic facts
2 Free Software challenges and opportunities
3 Free Software Licensing Complexity
4 Free Software Technical Complexity
5 Coccinelle
6 IRILL
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 10 / 28
FOSS as Lawyer’s nightmare
Proprietary software
There are as many licences as products, but the lawyer’s life is easy: thebasic answer to the question
May I copy/modify/adapt/distribute/etc. software X?
is almost always a very simple NO.
Free software
Lawyer’s life is more complex: there are only a few dozens licenses formillions of FOSS components, but the basic answer to the question
May I do X with software Y?
is almost always It depends....
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 11 / 28
FOSS as Lawyer’s nightmare
Proprietary software
There are as many licences as products, but the lawyer’s life is easy: thebasic answer to the question
May I copy/modify/adapt/distribute/etc. software X?
is almost always a very simple NO.
Free software
Lawyer’s life is more complex: there are only a few dozens licenses formillions of FOSS components, but the basic answer to the question
May I do X with software Y?
is almost always It depends....
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 11 / 28
Licence compatibility issues
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 12 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.
This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
Bringing Tools InYou can do much more with FOSS than proprietary software, but noteverything: famous lawsuits concerning Busybox have shown that FOSSlicence obligations are real.The gpl-violations.org project actively pursues violators.This created a business opportunity for companies that sell tools to spotlegal bugs (sic!) in your software:
Blackduck (30% annual growth recently!)
Palamida
There are also FOSS players:
FOSSology (HP, free software)
Ninka (Daniel German, free software)
But...
This is just the tip of the iceberg...and the least useful and/or interesting one!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 13 / 28
"%s: zoran open(): allocation of zoran fh failed\n",
ZR_DEVNAME(zr));
return -ENOMEM;
}
memset(fh, 0, sizeof(struct zoran fh));
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 22 / 28
A simple semantic patch
Abstract away the details of a patch
@@
expression x;expression E1,E2;@@
- x = kmalloc(E1,E2);+ x = kzalloc(E1,E2);...
- memset(x, 0, E1);
A single snippet ... updates 355/564 files!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 23 / 28
Practical results
Collateral evolutions
Semantic patches for over 60 collateral evolutions.
Applied to over 5800 Linux files from various versions, with a successrate of 100% on 93% of the files.
Bug finding
Generic bug types:
– Null dereference, initialization of unused variables, etc.
Bugs in the use of Linux APIs:
– Incoherent error checking, memory leaks, etc.
Over 450 patches created using Coccinelle accepted into Linux
Starting to be used by other Linux developers
Probable bugs found in gcc, postgresql, vim, amsn, pidgin, mplayer
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 24 / 28
Outline
1 Free Software basic facts
2 Free Software challenges and opportunities
3 Free Software Licensing Complexity
4 Free Software Technical Complexity
5 Coccinelle
6 IRILL
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 25 / 28
IRILL in the big picture
IRILL (Innovation et Recherche en Informatique sur le LogicielLibre):a center to host researchers, teachers, engineers, and freesoftware developers to work together on the new scientific,technological and educational challenges of Free Software
See more info on http://www.irill.org.
IRILL has an industry partnership program: join today!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 26 / 28
IRILL (Innovation et Recherche en Informatique sur le LogicielLibre):a center to host researchers, teachers, engineers, and freesoftware developers to work together on the new scientific,technological and educational challenges of Free Software
See more info on http://www.irill.org.
IRILL has an industry partnership program: join today!
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 26 / 28
Free Software is here to stay, and is disrupting the traditional organizationof the software industry.
Developing, maintaining, marketing, integrating, and qualifying softwarebuilt with or in the FOSS world is the source of new challenges that arenew opportunities for disruptive innovation.
The time has come to stop asking whether FOSS is relevant... and startgetting ready to use it properly.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 27 / 28
Conclusions
Free Software is here to stay, and is disrupting the traditional organizationof the software industry.
Developing, maintaining, marketing, integrating, and qualifying softwarebuilt with or in the FOSS world is the source of new challenges that arenew opportunities for disruptive innovation.
The time has come to stop asking whether FOSS is relevant... and startgetting ready to use it properly.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 27 / 28
Conclusions
Free Software is here to stay, and is disrupting the traditional organizationof the software industry.
Developing, maintaining, marketing, integrating, and qualifying softwarebuilt with or in the FOSS world is the source of new challenges that arenew opportunities for disruptive innovation.
The time has come to stop asking whether FOSS is relevant... and startgetting ready to use it properly.
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 27 / 28
Questions?
Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 28 / 28