Top Banner
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

Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Jan 20, 2015

Download

Technology

OW2 Consortium

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.
Welcome message from author
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
Page 1: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 2: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Short Bio

15 years of Free and Open Source Software

1998 Piege dans le Cyberespace

1999 DemoLinux

2004 EDOS

2007 Free Software Thematic Grouphttp://www.

systematic-paris-region.

org/fr/logiciel-libre

100 members (SMEs, Labs)30 projects ( 150Me)

2008 Mancoosi projectwww.mancoosi.org

2010 IRILL www.irill.org

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 2 / 28

Page 3: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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 3 / 28

Page 4: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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 4 / 28

Page 5: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Reminder: FOSS

free (as in free beer, or gratuit) software which has not to be payed(today)

free (as in free speech, or libre) software granting 4 freedoms to its users:1

0 freedom to use the software1 freedom to study the source code of the software and to

adapt it to user needs2 freedom to distribute software copies3 freedom to distribute modified software copies

two points of view: the freedom one as outlined above (“free software”),the technical one pivoting around source code availability (“open source”)

1there are of course also obligations, which vary according to the license: GPL, BSD,Mozilla, MIT/X, AGPL, . . .

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 5 / 28

Page 6: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Free software is everywhere

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 6 / 28

Page 7: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Some numbers that say it all

IT Market

FOSS in France: 2.5 billions euros in 2012 (PAC)RedHat: 1 billion dollars in 2012

OS Market

There Are Now 1.3 Million Android Device Activations Per DayEric Schmidt, September 2012

Number of FOSS projects

2,091,753 FOSS projects Antepedia, May 2013

Across all layers

Linux, Apache, OpenStack, Hadoop, Postrgres, Alfresco, Zimbra,LibreOffice, Talend, ...

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

Page 8: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Some numbers that say it all

IT Market

FOSS in France: 2.5 billions euros in 2012 (PAC)RedHat: 1 billion dollars in 2012

OS Market

There Are Now 1.3 Million Android Device Activations Per DayEric Schmidt, September 2012

Number of FOSS projects

2,091,753 FOSS projects Antepedia, May 2013

Across all layers

Linux, Apache, OpenStack, Hadoop, Postrgres, Alfresco, Zimbra,LibreOffice, Talend, ...

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

Page 9: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Some numbers that say it all

IT Market

FOSS in France: 2.5 billions euros in 2012 (PAC)RedHat: 1 billion dollars in 2012

OS Market

There Are Now 1.3 Million Android Device Activations Per DayEric Schmidt, September 2012

Number of FOSS projects

2,091,753 FOSS projects Antepedia, May 2013

Across all layers

Linux, Apache, OpenStack, Hadoop, Postrgres, Alfresco, Zimbra,LibreOffice, Talend, ...

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

Page 10: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Some numbers that say it all

IT Market

FOSS in France: 2.5 billions euros in 2012 (PAC)RedHat: 1 billion dollars in 2012

OS Market

There Are Now 1.3 Million Android Device Activations Per DayEric Schmidt, September 2012

Number of FOSS projects

2,091,753 FOSS projects Antepedia, May 2013

Across all layers

Linux, Apache, OpenStack, Hadoop, Postrgres, Alfresco, Zimbra,LibreOffice, Talend, ...

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

Page 11: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Some numbers that say it all

IT Market

FOSS in France: 2.5 billions euros in 2012 (PAC)RedHat: 1 billion dollars in 2012

OS Market

There Are Now 1.3 Million Android Device Activations Per DayEric Schmidt, September 2012

Number of FOSS projects

2,091,753 FOSS projects Antepedia, May 2013

Across all layers

Linux, Apache, OpenStack, Hadoop, Postrgres, Alfresco, Zimbra,LibreOffice, Talend, ...

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

Page 12: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 13: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 14: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 15: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 16: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 17: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 18: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 19: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 20: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Licence compatibility issues

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 12 / 28

Page 21: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 22: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 23: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 24: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 25: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 26: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 27: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 28: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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 14 / 28

Page 29: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Bringing Tools In, reloaded

Tools are needed to trace software origin, evolution, copies and forks; thisallows to

have a complete view of a full bill of materials (Antelink, Blackduck)

identify code flows, and vulnerability duplications (Antelink, ...)

profile community contributions (Bitergia)

... you name it

This is starting to show the way of the future...

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 15 / 28

Page 30: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Bringing Tools In, reloaded

Tools are needed to trace software origin, evolution, copies and forks; thisallows to

have a complete view of a full bill of materials (Antelink, Blackduck)

identify code flows, and vulnerability duplications (Antelink, ...)

profile community contributions (Bitergia)

... you name it

This is starting to show the way of the future...

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 15 / 28

Page 31: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Bringing Tools In, reloaded

Tools are needed to trace software origin, evolution, copies and forks; thisallows to

have a complete view of a full bill of materials (Antelink, Blackduck)

identify code flows, and vulnerability duplications (Antelink, ...)

profile community contributions (Bitergia)

... you name it

This is starting to show the way of the future...

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 15 / 28

Page 32: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Bringing Tools In, reloaded

Tools are needed to trace software origin, evolution, copies and forks; thisallows to

have a complete view of a full bill of materials (Antelink, Blackduck)

identify code flows, and vulnerability duplications (Antelink, ...)

profile community contributions (Bitergia)

... you name it

This is starting to show the way of the future...

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 15 / 28

Page 33: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Bringing Tools In, reloaded

Tools are needed to trace software origin, evolution, copies and forks; thisallows to

have a complete view of a full bill of materials (Antelink, Blackduck)

identify code flows, and vulnerability duplications (Antelink, ...)

profile community contributions (Bitergia)

... you name it

This is starting to show the way of the future...

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 15 / 28

Page 34: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Who contributes? how much? to what? ...

Answer

Bitergia’s dashboards www.bitergia.org

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 16 / 28

Page 35: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Who contributes? how much? to what? ...

Answer

Bitergia’s dashboards www.bitergia.org

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 16 / 28

Page 36: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Where does this code come from?

Answer

Antepedia Reporter’s dashboards www.antelink.com

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 17 / 28

Page 37: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Where does this code come from?

Answer

Antepedia Reporter’s dashboards www.antelink.com

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 17 / 28

Page 38: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 39: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 40: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 41: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 42: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 43: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 44: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Complex software in industry, ten years from now

Free Software is making software artefacts transparent:

no artificial barriers among architectural layers. . .

theoretical possibility to follow the flow of computation from the moreabstract layers down to the moving bits in the hardware

umprecedented levels of quality assurance and certification can beexpected

this is not easy: we need new theory and new tools

it will take time, effort and good cooperation between industrialpartners, higher education and research actors

Industry need to invest in Free Software fundamental research: the sooner,the better.

This is the kind of research we promote at IRILL: let’s see a concreteexample of what can be done.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 18 / 28

Page 45: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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 19 / 28

Page 46: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Coccinelle: flexible abstractions to master collateralevolutions

Thanks to Gilles Muller and Julia Lawall for the following slides. Seehttp://coccinelle.lip6.fr/ for more information.

The collateral evolution problem:

Library functions change.

Client code must be adapted.

– Change a function name, add an argument, etc.

Linux context:

– Many libraries: usb, net, etc.– Very many clients, including outside the Linux source tree.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 20 / 28

Page 47: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Coccinelle: flexible abstractions to master collateralevolutions

Thanks to Gilles Muller and Julia Lawall for the following slides. Seehttp://coccinelle.lip6.fr/ for more information.

The collateral evolution problem:

Library functions change.

Client code must be adapted.

– Change a function name, add an argument, etc.

Linux context:

– Many libraries: usb, net, etc.– Very many clients, including outside the Linux source tree.

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 20 / 28

Page 48: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

An example

Evolution: A new function: kzalloc=⇒ Collateral evolution: Merge kmalloc and memset into kzalloc

fh = kmalloc(sizeof(struct zoran fh), GFP_KERNEL);

if (!fh) {

dprintk(1,

KERN_ERR

"%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 21 / 28

Page 49: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

An example

Evolution: A new function: kzalloc=⇒ Collateral evolution: Merge kmalloc and memset into kzalloc

fh = kzalloc(sizeof(struct zoran fh), GFP_KERNEL);

if (!fh) {

dprintk(1,

KERN_ERR

"%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

Page 50: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 51: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 52: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 53: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 54: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 55: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 56: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 57: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

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

Page 58: Free Software: Challenges and opportunities for the next decades, Roberto di cosmo

Questions?

Roberto Di Cosmo (Paris Diderot / Irill / INRIA) Free Software Challenges November 2013 / OW2 28 / 28