the visualworks environment
Post on 03-Jan-2016
24 Views
Preview:
DESCRIPTION
TRANSCRIPT
S.Ducasse 1
QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.
Stéphane DucasseStephane.Ducasse@univ-savoie.frhttp://www.listic.univ-savoie.fr/~ducasse/
The VisualWorks Environment
S.Ducasse 2
License: CC-Attribution-ShareAlike 2.0http://creativecommons.org/licenses/by-sa/2.0/
S.Ducasse 3
Smalltalk Run-Time Architecture• Virtual Machine + Image + Changes and Sources
• Image = bytecodes• Sources and changes = code (text)
A byte-code interpreter:the virtual machine interpretes the imageIMAGE2.IMIMAGE2.CHAStandard SOURCESShared by everybody
IMAGE1.IMIMAGE1.CHAAll the objects of the systemat a moment in time
One per user+
S.Ducasse 4
Runtime Architecture• The byte-code is in fact translated into
native code by a just-in-time compiler. • The source and the changes are not
necessary for interpreting the byte-code, this is just for the development. Normally they are removed for deployment.
•An application can be delivered as some byte-code files that will be executed with a VM. The development image is stripped to remove the unnecessary development components.
S.Ducasse 5
Mouse Semantics
SelectOperateWindowRed BlueYellow
S.Ducasse 6
Launcher
S.Ducasse 7
Browsing a class
S.Ducasse 8
Browsing methods
S.Ducasse 9
Inspector• To look inside objects• anObject inspect
S.Ducasse 10
Debugger!!!
S.Ducasse 11
ChangeList To recover from power failure!!
S.Ducasse 12
SUnit: TestRunner open
S.Ducasse 13
Tests...
S.Ducasse 14
Workspace: to edit code snippet
S.Ducasse 15
Integrated version management Check in / outBack end postgres/oracleBased on packages and bundles
no scope only deployment/source management concepts
Store
S.Ducasse 16
Published Items
S.Ducasse 17
Package: Versioning Code
S.Ducasse 18
Change your Mind• Everything you do is recorded !!• So try and learn how to recover your code
• You are smart so – experiment, – learn for you, browse, – all the code is there
top related