smalltalk xxl

of 21 /21
Smalltalk XXL Annick Fron AFC Europe [email protected]

Upload: esug

Post on 05-Dec-2014




4 download

Embed Size (px)


Title: 160 Inches Screen Speaker: Annick Fron Tue, August 19, 11:30am – 12:00pm Video Part1: Video Part2: Description I will present an application for fencing sport competition using very large screens. Discussion of architecture choices and stories from the battlefield : distributed architecture, top graphics rendering using Java. Bio: One of the founders of ESUG, Annick Fron has been involved in Smalltalk for 20 years, but has also written a book on Distributed Java and done extensive programming in Java.


Page 1: Smalltalk XXL

Smalltalk XXL

Annick FronAFC Europe

[email protected]

Page 2: Smalltalk XXL

Fencing software

Action is very fast : 3 minutes for a match with up to ten hitsUp to 30 pistes in parallel for an event with different competitions(foil, sabre, men, women …)Who goes where and when ?Competition mishaps, online results, international regulations

Page 3: Smalltalk XXL

Fencing devices

Page 4: Smalltalk XXL




Page 5: Smalltalk XXL


Page 6: Smalltalk XXL

Led displays with names

Page 7: Smalltalk XXL

Technology hurdles• Networking with apparatus• XML parsing and persistence• Real time networked display without

flickering• Print documents in PDF• Web services for results• Packaging and licence management

Page 8: Smalltalk XXL

Will you take some Java ?

• Started project … in Java since the Lantronix provided Applet samples

• Long time to develop an Applet fit to 64 k (hosted in the ROM) with character antialiasing and double buffering (generate images in memory by hand)

• Ready to go in Sept 2013

In October Oracle changed its Applet policy

Page 9: Smalltalk XXL

Fast track: Reimplement in Smalltalk…

Singapore Stadium metro station

Page 10: Smalltalk XXL

Networking design issues

• Define a protocol compatible with the device state; the device should not know about the competition; should be able to handle several competitions

• Discovery protocol to identify all devices on the network

• Ability to access both the local machines on Ethernet network and web services through wifi : an ip address is linked to the network interface, not to the computer

• Broadcast or multicast ? No routers, trafic low enough, no partition– Broadcast imposes internet address on the same subnetwork :

requires manual configuration– Multicast address could be used

Page 11: Smalltalk XXL

Ethernet all over

Page 12: Smalltalk XXL

XML files

• Use Sixx for persistence• Use XMLObjectBinding for

International Federation (FIE) compliance

Page 13: Smalltalk XXL

Real time display

• Large screens (160 inches) as extended screens.

Page 14: Smalltalk XXL

Real time display

• Use DoubleBuffering to avoid flickeringpostOpenWith: aBuilder

builder window damageRepairPolicy: DoubleBufferingWindowDisplayPolicy new.

• Yes it works with cairo !

• Map librsvg2 to provide scalable high quality graphics using DLLCC

Page 15: Smalltalk XXL


Page 16: Smalltalk XXL


Page 17: Smalltalk XXL

Pdf documents

• Cairo again !• Demo

Page 18: Smalltalk XXL

PDF Reports

Page 19: Smalltalk XXL

Web service results

Page 20: Smalltalk XXL


• Commercially available in autumn• Server side events for real time web

monitoring• Test test test …•

o.html• With id 1003

Page 21: Smalltalk XXL