2008 11 14 Google Oss Stanford

21
Google and Open Source Chris DiBona Friday, November 14, 2008

description

 

Transcript of 2008 11 14 Google Oss Stanford

Page 1: 2008 11 14 Google Oss Stanford

Google and Open SourceChris DiBonaFriday, November 14, 2008

Page 2: 2008 11 14 Google Oss Stanford

2

Who am I?

Open Source Programs Manager, Google Inc.

• License Compliance

• Code Release

• The Summer of Code

• Protocol and API Licensing

Formerly:

• Slashdot

• Co-Editor Open Sources & Open Source 2.0

• Floss Weekly Podcast

Page 3: 2008 11 14 Google Oss Stanford

3

Open Source Software Use at Google.

But first, one thing….

Page 4: 2008 11 14 Google Oss Stanford

4

Why do people release code at all?

A BCG/OSDN Study found that open source developers are motivated by:

• Intellectual Curiosity/Stimulation (44.9%)

• Skills Improvement (41.3%)

• Work needs (33.8 %)

• Open Source Idealism (33.1%)

• Non-Work Functionality (29.7%)

• Professional Status (17.5%)

• Reputation building within Open Source (11%)

• Dislike/distrust of proprietary software (11.1%)

http://osdn.com/bcg

Page 5: 2008 11 14 Google Oss Stanford

5

How does Google use Open Source?

As Infrastructure• Linux kernel

• Apache Tomcat and many other Apache tools

• SSH, and other system management tools

• The Languages and compilers that we use.

• Engineers and others running Linux (Goobuntu)

As building blocks

• Our repositories have hundreds of libraries used in Google software

Page 6: 2008 11 14 Google Oss Stanford

6

For our Platforms

Google Web Toolkit (Ajax toolkit for Java developers)

Android (Cell Phone operating system)

Google Gears (offline web)

Google Applications

• Chrome

Page 7: 2008 11 14 Google Oss Stanford

7

But Why does Google use Open Source

Control and Ownership

• Maintain our independence from external software companies

Adaptability and Flexibility

• We can drill down to repair and enhance our services

• If we want to do something out of the ordinary, we can do so without showing our hand

• No one is incentivized to hurt us

Roots

• Appeals to the Google ethic

Page 8: 2008 11 14 Google Oss Stanford

8

How does Google take part?

Page 9: 2008 11 14 Google Oss Stanford

9

Google’s Open Source Programs

Patching and Code ReleaseDonations

Internal License Discipline

API/Protocol License Discipline

Industry Trade Group Participation

Open Source Infrastructure & Leadership

Summer of Code

OLPC Engineering

Page 10: 2008 11 14 Google Oss Stanford

10

Code Release

Over 3 million lines of code released to date

Examples:• Airbag Crash Reporting

• MySQL Replication Tools

• MacFuse (userspace filesystems under OS X)

• Google Web Toolkit

• Approaching 200 released packages: Search for label:Google on http://code.google.com/hosting/

• Updates for older releases like gflags, sparcehash, tcmalloc, etc..

Page 11: 2008 11 14 Google Oss Stanford

11

Open Source Infrastructure

Hosting on Google Code which provides:

• Reliable, scalable, clean project Hosting

• Version Control

• Issue/Bug Tracking

• Wikis

Over 160k projects online

Page 12: 2008 11 14 Google Oss Stanford

12

PatchingHundreds of Googlers patching into projects such as…

The Linux Kernel Apache Tomcat and Axis The Gnu Compiler Collection SubversionPythonPerl MySQL SSH/OpenSSL EclipseEmacsVimGaim Adium

ICU Wine Derby Aspell DSpace GlibAutoconf/automakeMakeGlibcBinutilsJavaSambaVarious Emulators

And Many More…

Page 13: 2008 11 14 Google Oss Stanford

13

Open Source Developers…

Andrew Morton

• 2.6 Kernel Maintainer

Guido Van Rossum

• Python BDFL

Bram Molenaar

• Vim creator and maintainer

Jeremy Allison

• Samba Lead Developer

And more.......

Page 14: 2008 11 14 Google Oss Stanford

14

Big Projects

Android

• Fully Open Source Cell phone OS.

• Now on Shipping Devices, More to Come

• Incredibly fast to develop for

Chrome

• Webkit + v8 for speed.

• Fully Open Source as the Chromium project

Page 15: 2008 11 14 Google Oss Stanford

15

The Summer Of Code, 2008

1130 students

175 Organizations

Over 2000 Mentors

6000+ applications

98 Countries

81% pass rate!

Over 3 million lines of code

Page 16: 2008 11 14 Google Oss Stanford

16

How it Works

1) Student applies to work on a project for, say, the ASF

2) ASF mentors review the application and accept the student

3) Google pays student $500 for being accepted

4) Student works with an ASF mentor to create project

5) Mid-Term, good students are paid $2000 by Google

6) Student continues work with mentor to create project

7) Final: If the student has completed the goals set forth in the application and student is paid $2000 by Google

8) Successful student gets t-shirt, certificate and valuable experience along with the money.

Page 17: 2008 11 14 Google Oss Stanford

17

The Applicants

United States

Germany Canada United Kingdom

India Brazil France Poland Spain China0

20

40

60

80

100

120

140

160

180

13

GSoc 2006 Geographic Distribution: Accepted Students (Top 10 Countries

Country of Residence

# S

tude

nts

Students Per CountryMin: 1Max: 178Sum: 630Mean: 10.68Median: 3

24.26Stdev:

Page 18: 2008 11 14 Google Oss Stanford

Student Educational Distribution

undergrad masters phd0

50100150200250300350400450

GSoc 2006 Student Level Distribution

Degree Level

# St

uden

ts

2006 2007 2008 2009 2010 2011 2012 20130

255075

100125150175200225250GSoc 2006 Expected Graduation Year

Year

# S

tude

nts

Average graduation year: 2007 Undergraduates most common participants

Page 19: 2008 11 14 Google Oss Stanford

Not Just Computer Scientists

Mechanical Engineering

English Literature

Interior Design

Urban Planning

Astronomy

Cartography

Genetics

Developmental Psychology

Page 20: 2008 11 14 Google Oss Stanford

20

Why do we do all this funding?

Keep students coding

• Flip Bits, not Burgers

Ensure a healthy open source ecosystem

• Good for the Internet

• Good for Google

A great way to meet students all over the world

A great way for open source organizations to grow and thrive.

A lot of Googlers come from the Open Source World

Giving Back

Page 21: 2008 11 14 Google Oss Stanford

21

The End

Questions?

[email protected]

http://code.google.com/opensource