Pharo Status 
Marcus Denker, Stéphane Ducasse 
http://www.pharo-project.org 
presented by 
Jannik Laval
Pharo 
MIT license 
Pure object language 
Great community of active doers 
Powerful 
Elegant and fun to program 
Living system under your fingers 
Mac, Linux, Android, iOS, Windows
Some projects 
Web frameworks - Seaside, iliad, HTTP2, Tide, Aida, Mustache, Oauth, 
WebSocket CSS styling Format parsers - XML, HTML, NeoJSON, NeoCSV. 
Application Security, Graphics frameworks - Roassal, Mondrian, EyeSee, GraphET, 
Tool builders - Glamour, Spec, XUL, MacNative, Databases - DBXTalk, Mongo, 
Riak, CouchDB, MySql, PunQLite. Object-Oriented databases - Magma, Goods. 
Database abstraction - Voyage, ROE MetaCompiler - Petit Parser, SmaCC - Proxy, 
Logging - SystemLogger, Toothpick, SimpleLogger Units: Aconcagua, Units Time - 
Chronos Calendars, Timezones Productivity Tools - Codecritics, Refactorings, 
Cherry picking merge tools: merge tool, Komitter Versionner, Mock frameworks 
(baby mock), PDFgeneration - Artefact, Testing frameworks - PhExample, SUnit 
Assembly generation: ASMJIT, Integration Tools: Hudson, Alternate window 
manager, Games: Tetris, Sokoban, Miner, Chess, CrossWords MetaModeling 
Frameworks - Magritte, Platypus, Cloud deployement - cloudfork cloudPharo, 3D: 
Roassal3d, NBOpenGL, JVM connection Bio informatics, ODE solvers, Interactive 
Geometry - DrGeo…
Pharo in numbers 
282 000 downloads on the Inria gforge 
40-60 active commiters 
> 600 mailing-list members 
200 license agreements 
60 association members 
11 industrial consortium members 
around 400 external projects or more
We are a cool and growing 
community
Tweets, blogs, buzz 
Pharo 3,065 tweets / 1018 followers 
S. Ducasse tweets 513/ 735 followers 
S. Stinckwich 8712 / 1006 followers 
Moose 502 tweets/ 255 followers 
Youtube Pharo smalltalk: about 1540 
videos!
Blogs 
http://pharo.org/blogs 
http://astares.blogspot.co.uk 
http://clementbera.wordpress.com 
http://pharoweekly.wordpress.com 
• Guille Polito, Playing with Objects 
• Mariano Martinez Peck, Sending messages 
• Igor Stasenko, Computer Adventures 
• Laurent Laffont, MaGaLoMa 
• Esteban Lorenzano, The Martian Chronicles 
• Tudor Girba, Humane assessment 
• Philippe Back, The Philippe Back Report 
• Yuriy Tymchuk, Uko on Code and Sleepy Coders
where business/innovation 
can bloom
A powerful engine 
to invent (y)our future
Since may 2008 
Very High 
Activity 
Pharo 3.0 - Apr 2014 ( around 2600 closed cases) 
Pharo 2.0 - Apr 2013 (1657 closed cases) 
Pharo 1.4 - Apr 2012 (988 closed cases) 
Pharo 1.3 (736 closed cases) 
Pharo 1.2 - mar 2011 (691 closed cases) 
Pharo 1.1 - jul 2010 (918 closed cases) 
Pharo 1.0 - oct 2009 (307 closed cases)
Pharo's Teachers 
• Uni. of Buenos Aires • Uni. of Bern • Uni. of 
Maroua • Uni. of Brussels • Ecole des Mines de 
Douai • Uni. de Savoie • Ivan Franko Nat. Uni. of 
Lviv • Czech Technical Uni. • CULS Prague 
• Uni. of Quilmes • Uni. of La Plata 
• Northern Michigan Uni. 
• Uni. Technologica Nacional (UTN) • Uni. 
Catholic of Argentina • Uni. of Santiago 
• Uni. Policnica de Catalunya • Uni. of Saarland 
• Uni. de Bretagne Occidentale • Uni. of Tomsk
Research Groups 
Lafhis (AR) 
Software Composition Group (CH) 
CAR (FR) 
RMOD (FR) 
Ummisco (IRD) 
Reveal (CH) 
Lysic (FR) 
Pleiad (CL) 
CEA-List (FR) 
Uqbar (AR)
Design ideas 
Object-centric debugging 
First-class slots 
Bootstrapping a Smalltalk 
Vector graphic core 
New modules 
New frameworks 
STON, Tide, Voyage, Babymock, Mocketry…
Example: OpenCL in Pharo 
http://youtu.be/-2ida5Q1mbg
Proven Innovation!
Proven Innovation!
all MIT! 
GraphET, EyeSee 
Tide (Amber/Pharo) 
Voyage (NoSQL) 
Zinc 
WebSocket, Oauth, Riak, MongoDB, couchDB, 
mustache, PunQlite 
…
Be with the buzz 
Market it 
New frameworks 
New books! 
Activity
International books 
Pharo by example 
translated to french, merci! 
translated to spanish, gracias! 
translated to japanese, ありがとう!
Pharo for the Entreprise 
Pharo web stack 
Fun with Pharo 
If you want to contribute...
They understand their 
benefits 
GemTalk 
LAMRC 
Back-End Wafer-Level Packaging 
Systems 
HRWorks 
! 
MadEnvironment 
!
Pharo Consortium 
@@ Web site @@
Consortium Members 
Managed by Inria for now 
Who: companies, institutions, user groups 
Privileged access to the core development team 
Influence priorities of the next development 
Engineering support time 
Job posts 
Training/Conferences special prices
Fees 
Gold 4000 
4 days of engineering time + multiple job descriptions for job 
dashboard + diamond sponsor. 
Silver 2000 
two days of engineering time + one job description + 
diamond sponsor. 
Bronze 1000 
one day of engineering time + diamond sponsor.
25 * 2K = 50 * 1K 
= 1 full engineer for Pharo
Pharo User Association 
Managed by the Pharo Association 
Individuals 
Premium (99 Euros) 
Normal (40 Euros) 
Join and participate what we do!
Join Us 
Creating good energy, ! 
software quality,! 
learning and having fun! 
! 
http://pharo.org
where business/innovation 
can bloom
Pharo Status 
Marcus Denker 
http://www.pharo-project.org
Pharo3: Release April `14 
Started March 2013 
! 
2390 Issue tracker entries with Pharo3 tag closed 
! 
854 Updates
Iceberg 
A lot of Changes! 
Not everything 
visible
Lots of Activity
A lot of Change!
Yet easy to adopt 
Moose switched in two afternoons (two people) 
! 
Others: “I just loaded my packages"
Infrastructure: CI 
https://ci.inria.fr is stable and used a lot 
! 
Every fix is validated automatically before human review 
Every update triggers test run on 3 Architectures 
over 80 projects in pharo-contribution
ci.inria.fr/pharo-contribution/
Infrastructure: Misc 
http://files.pharo.org 
! 
http://get.pharo.org 
! 
SmalltalkHub: http://smalltalkhub.com 
1411 users, >1200 repos
Small Stuff 
Lots of Cleanups 
! 
Lots of tuning (perfomance, memory) 
! 
Lots of small improvements
Lots of larger things 
Closure class now standard in Pharo3 
Terminal output for stderr 
Cleanup Source file related code 
AST Interpreter 
AST based Navigation in Browser 
Komitter 
Launcher 
Font 
Speedup 
….
New Inspector 
Unify Inspector and Explorer 
Make specialised inspectors visible
Athens: Vector Graphics 
New API for Vector Graphics 
Independent of Backend 
For now: Cairo 
Balloon3D for Debugging 
Future: OpenGL
Athens: Demo
Opal Compiler 
Uses RB AST 
! 
IRBuilder: Bytecode backend with high-level builder 
Much easier to change 
Basis for advanced Reflection
New ClassBuilder 
Replaces the old ClassBuilder 
! 
Easier to understand and more flexible 
! 
Basis for First Class Variables (Slots)
New Debugger 
Model now separate from View 
! 
Model is scriptable 
! 
Debugger is extensible with Commands
Command Line 
denker$ ./pharo Pharo.image --list! 
Currently installed Command Line Handlers:! 
Fuel Loads fuel files! 
config Install Configurations! 
save Rename the image and changes file! 
update Load updates! 
printVersion Print image version! 
st Loads and executes .st source files! 
test A command line test runner! 
clean Run image cleanup! 
eval Directly evaluates one line scripts! 
!
A lot of change…
But just one iteration
Pharo4
Pharo4 
Again: To be released Spring 2015 
Already 175 updates 
480 Issues closed 
Very stable
For example… 
Improved Refactorings 
6MB Deployment Image 
ifTrue: on non-Booleans 
Browser and Tool cleanups 
Context Cleanup (MethodContext/ContextPart merge)
In Progress…
First Class Variables 
• First class Instance Variables (Slots) 
! 
• First class globals + class variables
For what? 
• Allows programmers to define behavior 
• Easy reflection on variable access 
• Break on variable read, for example
Property Slots 
Object 
subclass: #PropertyObject 
layout: PointerLayout 
slots: { 
#ivar. 
#property1 => PropertySlot. 
#property2 => PropertySlot. 
... 
#propertyN => PropertySlot. 
}
Property Slots 
Object 
subclass: #PropertyObject 
layout: PointerLayout 
instanceVariables: { 
#ivar. 
#property1 => PropertySlot. 
#property2 => PropertySlot. 
... 
#propertyN => PropertySlot. 
}
Examples 
• BitSlot 
• BooleanSlot 
• Alias 
• Relationships (e.g. one-one, one-many) 
• …. Your Domain level Slot! ==> Magritte
More in Paper from OOPSLA
Advanced Reflection 
• Partial Behavioral Reflection 
• Associate MetaObject with structural object 
• Slots, Globals 
• AST nodes
The Meta Link
Why? 
• Change behaviour for selected AST Nodes or 
Variables 
• “All variable reads” 
• “this message send” 
But without changing the program code!
Uses… 
• Debugger 
• BreakPoints, WatchPoints 
• Profilers 
• Coverage Analysis 
• AOP
One File Pharo 
• .sources, .changes. .image 
! 
• It is time to simplify that!
Epicea 
• Replace .changes 
• High level model: 
• aggregate changes (refactoring) 
• serialized to disk independent of source model
Sources 
• It is 2014: Memory is cheap. 
• Complexity is expensive 
• Why not just put the sources in the image? 
• Externalize when needed (small devices) 
• Code history is in Monticello (or Git)
Bootstrap 
• Create an image from a git repository 
• Control what the image contains 
• Easier to make changes 
• Enforces Modularity
Boostrap 
• Working for Pharo3 as a prototype 
! 
• Can we even use this for Pharo4 on the build 
server?
And more… 
• GT Tools 
• VM related news 
• Spur, Sista, 64bit… 
• ……….. there are lots of talks here
Pharo Status 
Marcus Denker, Stéphane Ducasse 
http://www.pharo-project.org 
presented by 
Jannik Laval

Pharo Status

  • 1.
    Pharo Status MarcusDenker, Stéphane Ducasse http://www.pharo-project.org presented by Jannik Laval
  • 3.
    Pharo MIT license Pure object language Great community of active doers Powerful Elegant and fun to program Living system under your fingers Mac, Linux, Android, iOS, Windows
  • 4.
    Some projects Webframeworks - Seaside, iliad, HTTP2, Tide, Aida, Mustache, Oauth, WebSocket CSS styling Format parsers - XML, HTML, NeoJSON, NeoCSV. Application Security, Graphics frameworks - Roassal, Mondrian, EyeSee, GraphET, Tool builders - Glamour, Spec, XUL, MacNative, Databases - DBXTalk, Mongo, Riak, CouchDB, MySql, PunQLite. Object-Oriented databases - Magma, Goods. Database abstraction - Voyage, ROE MetaCompiler - Petit Parser, SmaCC - Proxy, Logging - SystemLogger, Toothpick, SimpleLogger Units: Aconcagua, Units Time - Chronos Calendars, Timezones Productivity Tools - Codecritics, Refactorings, Cherry picking merge tools: merge tool, Komitter Versionner, Mock frameworks (baby mock), PDFgeneration - Artefact, Testing frameworks - PhExample, SUnit Assembly generation: ASMJIT, Integration Tools: Hudson, Alternate window manager, Games: Tetris, Sokoban, Miner, Chess, CrossWords MetaModeling Frameworks - Magritte, Platypus, Cloud deployement - cloudfork cloudPharo, 3D: Roassal3d, NBOpenGL, JVM connection Bio informatics, ODE solvers, Interactive Geometry - DrGeo…
  • 5.
    Pharo in numbers 282 000 downloads on the Inria gforge 40-60 active commiters > 600 mailing-list members 200 license agreements 60 association members 11 industrial consortium members around 400 external projects or more
  • 7.
    We are acool and growing community
  • 8.
    Tweets, blogs, buzz Pharo 3,065 tweets / 1018 followers S. Ducasse tweets 513/ 735 followers S. Stinckwich 8712 / 1006 followers Moose 502 tweets/ 255 followers Youtube Pharo smalltalk: about 1540 videos!
  • 9.
    Blogs http://pharo.org/blogs http://astares.blogspot.co.uk http://clementbera.wordpress.com http://pharoweekly.wordpress.com • Guille Polito, Playing with Objects • Mariano Martinez Peck, Sending messages • Igor Stasenko, Computer Adventures • Laurent Laffont, MaGaLoMa • Esteban Lorenzano, The Martian Chronicles • Tudor Girba, Humane assessment • Philippe Back, The Philippe Back Report • Yuriy Tymchuk, Uko on Code and Sleepy Coders
  • 10.
  • 11.
    A powerful engine to invent (y)our future
  • 12.
    Since may 2008 Very High Activity Pharo 3.0 - Apr 2014 ( around 2600 closed cases) Pharo 2.0 - Apr 2013 (1657 closed cases) Pharo 1.4 - Apr 2012 (988 closed cases) Pharo 1.3 (736 closed cases) Pharo 1.2 - mar 2011 (691 closed cases) Pharo 1.1 - jul 2010 (918 closed cases) Pharo 1.0 - oct 2009 (307 closed cases)
  • 13.
    Pharo's Teachers •Uni. of Buenos Aires • Uni. of Bern • Uni. of Maroua • Uni. of Brussels • Ecole des Mines de Douai • Uni. de Savoie • Ivan Franko Nat. Uni. of Lviv • Czech Technical Uni. • CULS Prague • Uni. of Quilmes • Uni. of La Plata • Northern Michigan Uni. • Uni. Technologica Nacional (UTN) • Uni. Catholic of Argentina • Uni. of Santiago • Uni. Policnica de Catalunya • Uni. of Saarland • Uni. de Bretagne Occidentale • Uni. of Tomsk
  • 14.
    Research Groups Lafhis(AR) Software Composition Group (CH) CAR (FR) RMOD (FR) Ummisco (IRD) Reveal (CH) Lysic (FR) Pleiad (CL) CEA-List (FR) Uqbar (AR)
  • 15.
    Design ideas Object-centricdebugging First-class slots Bootstrapping a Smalltalk Vector graphic core New modules New frameworks STON, Tide, Voyage, Babymock, Mocketry…
  • 16.
    Example: OpenCL inPharo http://youtu.be/-2ida5Q1mbg
  • 17.
  • 18.
  • 19.
    all MIT! GraphET,EyeSee Tide (Amber/Pharo) Voyage (NoSQL) Zinc WebSocket, Oauth, Riak, MongoDB, couchDB, mustache, PunQlite …
  • 20.
    Be with thebuzz Market it New frameworks New books! Activity
  • 21.
    International books Pharoby example translated to french, merci! translated to spanish, gracias! translated to japanese, ありがとう!
  • 22.
    Pharo for theEntreprise Pharo web stack Fun with Pharo If you want to contribute...
  • 23.
    They understand their benefits GemTalk LAMRC Back-End Wafer-Level Packaging Systems HRWorks ! MadEnvironment !
  • 24.
  • 25.
    Consortium Members Managedby Inria for now Who: companies, institutions, user groups Privileged access to the core development team Influence priorities of the next development Engineering support time Job posts Training/Conferences special prices
  • 26.
    Fees Gold 4000 4 days of engineering time + multiple job descriptions for job dashboard + diamond sponsor. Silver 2000 two days of engineering time + one job description + diamond sponsor. Bronze 1000 one day of engineering time + diamond sponsor.
  • 27.
    25 * 2K= 50 * 1K = 1 full engineer for Pharo
  • 28.
    Pharo User Association Managed by the Pharo Association Individuals Premium (99 Euros) Normal (40 Euros) Join and participate what we do!
  • 29.
    Join Us Creatinggood energy, ! software quality,! learning and having fun! ! http://pharo.org
  • 30.
  • 31.
    Pharo Status MarcusDenker http://www.pharo-project.org
  • 32.
    Pharo3: Release April`14 Started March 2013 ! 2390 Issue tracker entries with Pharo3 tag closed ! 854 Updates
  • 33.
    Iceberg A lotof Changes! Not everything visible
  • 34.
  • 35.
    A lot ofChange!
  • 36.
    Yet easy toadopt Moose switched in two afternoons (two people) ! Others: “I just loaded my packages"
  • 37.
    Infrastructure: CI https://ci.inria.fris stable and used a lot ! Every fix is validated automatically before human review Every update triggers test run on 3 Architectures over 80 projects in pharo-contribution
  • 38.
  • 39.
    Infrastructure: Misc http://files.pharo.org ! http://get.pharo.org ! SmalltalkHub: http://smalltalkhub.com 1411 users, >1200 repos
  • 40.
    Small Stuff Lotsof Cleanups ! Lots of tuning (perfomance, memory) ! Lots of small improvements
  • 41.
    Lots of largerthings Closure class now standard in Pharo3 Terminal output for stderr Cleanup Source file related code AST Interpreter AST based Navigation in Browser Komitter Launcher Font Speedup ….
  • 42.
    New Inspector UnifyInspector and Explorer Make specialised inspectors visible
  • 43.
    Athens: Vector Graphics New API for Vector Graphics Independent of Backend For now: Cairo Balloon3D for Debugging Future: OpenGL
  • 44.
  • 45.
    Opal Compiler UsesRB AST ! IRBuilder: Bytecode backend with high-level builder Much easier to change Basis for advanced Reflection
  • 46.
    New ClassBuilder Replacesthe old ClassBuilder ! Easier to understand and more flexible ! Basis for First Class Variables (Slots)
  • 47.
    New Debugger Modelnow separate from View ! Model is scriptable ! Debugger is extensible with Commands
  • 48.
    Command Line denker$./pharo Pharo.image --list! Currently installed Command Line Handlers:! Fuel Loads fuel files! config Install Configurations! save Rename the image and changes file! update Load updates! printVersion Print image version! st Loads and executes .st source files! test A command line test runner! clean Run image cleanup! eval Directly evaluates one line scripts! !
  • 49.
    A lot ofchange…
  • 50.
    But just oneiteration
  • 51.
  • 52.
    Pharo4 Again: Tobe released Spring 2015 Already 175 updates 480 Issues closed Very stable
  • 53.
    For example… ImprovedRefactorings 6MB Deployment Image ifTrue: on non-Booleans Browser and Tool cleanups Context Cleanup (MethodContext/ContextPart merge)
  • 55.
  • 56.
    First Class Variables • First class Instance Variables (Slots) ! • First class globals + class variables
  • 57.
    For what? •Allows programmers to define behavior • Easy reflection on variable access • Break on variable read, for example
  • 58.
    Property Slots Object subclass: #PropertyObject layout: PointerLayout slots: { #ivar. #property1 => PropertySlot. #property2 => PropertySlot. ... #propertyN => PropertySlot. }
  • 59.
    Property Slots Object subclass: #PropertyObject layout: PointerLayout instanceVariables: { #ivar. #property1 => PropertySlot. #property2 => PropertySlot. ... #propertyN => PropertySlot. }
  • 60.
    Examples • BitSlot • BooleanSlot • Alias • Relationships (e.g. one-one, one-many) • …. Your Domain level Slot! ==> Magritte
  • 61.
    More in Paperfrom OOPSLA
  • 62.
    Advanced Reflection •Partial Behavioral Reflection • Associate MetaObject with structural object • Slots, Globals • AST nodes
  • 63.
  • 64.
    Why? • Changebehaviour for selected AST Nodes or Variables • “All variable reads” • “this message send” But without changing the program code!
  • 65.
    Uses… • Debugger • BreakPoints, WatchPoints • Profilers • Coverage Analysis • AOP
  • 66.
    One File Pharo • .sources, .changes. .image ! • It is time to simplify that!
  • 67.
    Epicea • Replace.changes • High level model: • aggregate changes (refactoring) • serialized to disk independent of source model
  • 69.
    Sources • Itis 2014: Memory is cheap. • Complexity is expensive • Why not just put the sources in the image? • Externalize when needed (small devices) • Code history is in Monticello (or Git)
  • 70.
    Bootstrap • Createan image from a git repository • Control what the image contains • Easier to make changes • Enforces Modularity
  • 71.
    Boostrap • Workingfor Pharo3 as a prototype ! • Can we even use this for Pharo4 on the build server?
  • 72.
    And more… •GT Tools • VM related news • Spur, Sista, 64bit… • ……….. there are lots of talks here
  • 73.
    Pharo Status MarcusDenker, Stéphane Ducasse http://www.pharo-project.org presented by Jannik Laval