pharo hands-on: 04 image-runtime

7
Runtime & changes S. Ducasse http://www.pharo.org

Upload: pharo

Post on 18-Jul-2015

72 views

Category:

Technology


4 download

TRANSCRIPT

Runtime & changes S. Ducasse http://www.pharo.org

Execution model

Virtual machine

Bytecode -> C-interpreter -> assembleur generated on the fly

Files

VM (platform dependent)

.sources (all the sources of a distribution)

.changes (all your changes - a tape)

.image (all your binary objects)

“Image”

an image is a heap-dump

contains all the objects = all the system at a point in time

nice and handy ***system cache***

Generally not a deployement artefact (advanced users)

Image/Change

Change1/Image1, ChangeX/ImageX

The system keeps them in sync

NB: VM can run without sources and changes (but you will not be able to recognise your code :)

Changes

“changes” is a logging tape and cheap emergency tape

commit your changes to SmalltalkHub or (Git for advanced users)

Development process

Define packages

Define project dependencies (Metacello configuration)

Save packages

Save project configurations

Define a CI job that automatically loads and verifies everything