the visualworks environment

18
S.Ducasse 1 QuickTime™ TIFF (Uncompr are needed t Stéphane Ducasse [email protected] http://www.listic.univ-savoie.f r/~ducasse/ The VisualWorks Environment

Upload: daniel-sampson

Post on 03-Jan-2016

24 views

Category:

Documents


0 download

DESCRIPTION

The VisualWorks Environment. Smalltalk Run-Time Architecture. Virtual Machine + Image + Changes and Sources Image = bytecodes Sources and changes = code (text). Runtime Architecture. The byte-code is in fact translated into native code by a just-in-time compiler. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: The VisualWorks Environment

S.Ducasse 1

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Stéphane [email protected]://www.listic.univ-savoie.fr/~ducasse/

The VisualWorks Environment

Page 2: The VisualWorks Environment

S.Ducasse 2

License: CC-Attribution-ShareAlike 2.0http://creativecommons.org/licenses/by-sa/2.0/

Page 3: The VisualWorks Environment

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+

Page 4: The VisualWorks Environment

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.

Page 5: The VisualWorks Environment

S.Ducasse 5

Mouse Semantics

SelectOperateWindowRed BlueYellow

Page 6: The VisualWorks Environment

S.Ducasse 6

Launcher

Page 7: The VisualWorks Environment

S.Ducasse 7

Browsing a class

Page 8: The VisualWorks Environment

S.Ducasse 8

Browsing methods

Page 9: The VisualWorks Environment

S.Ducasse 9

Inspector• To look inside objects• anObject inspect

Page 10: The VisualWorks Environment

S.Ducasse 10

Debugger!!!

Page 11: The VisualWorks Environment

S.Ducasse 11

ChangeList To recover from power failure!!

Page 12: The VisualWorks Environment

S.Ducasse 12

SUnit: TestRunner open

Page 13: The VisualWorks Environment

S.Ducasse 13

Tests...

Page 14: The VisualWorks Environment

S.Ducasse 14

Workspace: to edit code snippet

Page 15: The VisualWorks Environment

S.Ducasse 15

Integrated version management Check in / outBack end postgres/oracleBased on packages and bundles

no scope only deployment/source management concepts

Store

Page 16: The VisualWorks Environment

S.Ducasse 16

Published Items

Page 17: The VisualWorks Environment

S.Ducasse 17

Package: Versioning Code

Page 18: The VisualWorks Environment

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