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 rev...
ci.inria.fr/pharo-contribution/
Infrastructure: Misc 
http://files.pharo.org 
! 
http://get.pharo.org 
! 
SmalltalkHub: http://smalltalkhub.com 
1411 user...
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 ...
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 
Fut...
Athens: Demo
Opal Compiler 
Uses RB AST 
! 
IRBuilder: Bytecode backend with high-level builder 
Much easier to change 
Basis for advan...
New ClassBuilder 
Replaces the old ClassBuilder 
! 
Easier to understand and more flexible 
! 
Basis for First Class Varia...
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! 
co...
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 Cle...
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 ex...
Property Slots 
Object 
subclass: #PropertyObject 
layout: PointerLayout 
slots: { 
#ivar. 
#property1 => PropertySlot. 
#...
Property Slots 
Object 
subclass: #PropertyObject 
layout: PointerLayout 
instanceVariables: { 
#ivar. 
#property1 => Prop...
Examples 
• BitSlot 
• BooleanSlot 
• Alias 
• Relationships (e.g. one-one, one-many) 
• …. Your Domain level Slot! ==> Ma...
More in Paper from OOPSLA
Advanced Reflection 
• Partial Behavioral Reflection 
• Associate MetaObject with structural object 
• Slots, Globals 
• A...
The Meta Link
Why? 
• Change behaviour for selected AST Nodes or 
Variables 
• “All variable reads” 
• “this message send” 
But without ...
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 so...
Sources 
• It is 2014: Memory is cheap. 
• Complexity is expensive 
• Why not just put the sources in the image? 
• Extern...
Bootstrap 
• Create an image from a git repository 
• Control what the image contains 
• Easier to make changes 
• Enforce...
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
Questions ?
Pharo Status ESUG 2014
Pharo Status ESUG 2014
Upcoming SlideShare
Loading in …5
×

Pharo Status ESUG 2014

364 views
287 views

Published on

Title Part1: Pharo Status
Speaker: Marcus Denker
Wed, August 20, 11:00am – 11:45am

Video:
Part1: https://www.youtube.com/watch?v=_Mv7SX-8Vlk
Part2: https://www.youtube.com/watch?v=qdZq2IZBm4k

Abstract: In this talk we will present the advances and new features in Pharo 3.0. We will present the current work on Pharo 4.0 and beyond. We will also present our new work around the Pharo consortium.

Bio: Marcus Denker is a permanent researcher (CR1, with tenure) at INRIA Lille - Nord Europe. Before, he was a postdoc at the PLEIAD lab/DCC University of Chile and the Software Composition Group, University of Bern. His research focuses on reflection and meta-programming for dynamic languages. He is an active participant in the Squeak and Pharo open source communities for many years. Marcus Denker received a PhD in Computer Science from the University of Bern/Switzerland in 2008 and a Dipl.-Inform. (MSc) from the University of Karlsruhe/Germany in 2004. He is a member of ACM, GI, and IEEE and a board-member of ESUG.

Published in: Software
1 Comment
0 Likes
Statistics
Notes
  • Video:
    Part1: https://www.youtube.com/watch?v=_Mv7SX-8Vlk
    Part2: https://www.youtube.com/watch?v=qdZq2IZBm4k
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total views
364
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Pharo Status ESUG 2014

  1. 1. Pharo Status Marcus Denker http://www.pharo-project.org
  2. 2. Pharo3: Release April `14 Started March 2013 ! 2390 Issue tracker entries with Pharo3 tag closed ! 854 Updates
  3. 3. Iceberg A lot of Changes! Not everything visible
  4. 4. Lots of Activity
  5. 5. A lot of Change!
  6. 6. Yet easy to adopt Moose switched in two afternoons (two people) ! Others: “I just loaded my packages"
  7. 7. 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
  8. 8. ci.inria.fr/pharo-contribution/
  9. 9. Infrastructure: Misc http://files.pharo.org ! http://get.pharo.org ! SmalltalkHub: http://smalltalkhub.com 1411 users, >1200 repos
  10. 10. Small Stuff Lots of Cleanups ! Lots of tuning (perfomance, memory) ! Lots of small improvements
  11. 11. 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 ….
  12. 12. New Inspector Unify Inspector and Explorer Make specialised inspectors visible
  13. 13. Athens: Vector Graphics New API for Vector Graphics Independent of Backend For now: Cairo Balloon3D for Debugging Future: OpenGL
  14. 14. Athens: Demo
  15. 15. Opal Compiler Uses RB AST ! IRBuilder: Bytecode backend with high-level builder Much easier to change Basis for advanced Reflection
  16. 16. New ClassBuilder Replaces the old ClassBuilder ! Easier to understand and more flexible ! Basis for First Class Variables (Slots)
  17. 17. New Debugger Model now separate from View ! Model is scriptable ! Debugger is extensible with Commands
  18. 18. 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! !
  19. 19. A lot of change…
  20. 20. But just one iteration
  21. 21. Pharo4
  22. 22. Pharo4 Again: To be released Spring 2015 Already 175 updates 480 Issues closed Very stable
  23. 23. For example… Improved Refactorings 6MB Deployment Image ifTrue: on non-Booleans Browser and Tool cleanups Context Cleanup (MethodContext/ContextPart merge)
  24. 24. In Progress…
  25. 25. First Class Variables • First class Instance Variables (Slots) ! • First class globals + class variables
  26. 26. For what? • Allows programmers to define behavior • Easy reflection on variable access • Break on variable read, for example
  27. 27. Property Slots Object subclass: #PropertyObject layout: PointerLayout slots: { #ivar. #property1 => PropertySlot. #property2 => PropertySlot. ... #propertyN => PropertySlot. }
  28. 28. Property Slots Object subclass: #PropertyObject layout: PointerLayout instanceVariables: { #ivar. #property1 => PropertySlot. #property2 => PropertySlot. ... #propertyN => PropertySlot. }
  29. 29. Examples • BitSlot • BooleanSlot • Alias • Relationships (e.g. one-one, one-many) • …. Your Domain level Slot! ==> Magritte
  30. 30. More in Paper from OOPSLA
  31. 31. Advanced Reflection • Partial Behavioral Reflection • Associate MetaObject with structural object • Slots, Globals • AST nodes
  32. 32. The Meta Link
  33. 33. Why? • Change behaviour for selected AST Nodes or Variables • “All variable reads” • “this message send” But without changing the program code!
  34. 34. Uses… • Debugger • BreakPoints, WatchPoints • Profilers • Coverage Analysis • AOP
  35. 35. One File Pharo • .sources, .changes. .image ! • It is time to simplify that!
  36. 36. Epicea • Replace .changes • High level model: • aggregate changes (refactoring) • serialized to disk independent of source model
  37. 37. 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)
  38. 38. Bootstrap • Create an image from a git repository • Control what the image contains • Easier to make changes • Enforces Modularity
  39. 39. Boostrap • Working for Pharo3 as a prototype ! • Can we even use this for Pharo4 on the build server?
  40. 40. And more… • GT Tools • VM related news • Spur, Sista, 64bit… • ……….. there are lots of talks here
  41. 41. Questions ?

×