Skip to content

Documentation

StéphaneDucasse edited this page Jan 29, 2020 · 3 revisions

Virtual Machine documentation

We are starting to document the Virtual Machine as a form of a Pharo book.

There are other sources of documentation

How to use the SDL support

Pharo offered SDL support for windowing systems since years but it was not the main one. The consortium is doing an effort in removing event and windowing handling from the VM and to use external libraries such as SDL2.0. New versions of Pharo are moving to full SDL support in the context of the headless VM.

Pharo is using SDL already, the headless VM already uses it from the image to unify world UI in the different platforms. The world with SDL (if you run the image with the headless VM, where the VM is headless but the image handles the UI) has smooth scrolling and better handling of events.

There are two things in plan:

  • (1) a backward compatibility plugin to execute Pharo 7 images (and maybe older) in the headless VM,
  • and (2) some little improvements in the SDL support (VM + image) to make it run smoothly in the idle VM (now it requires a loop pooling the events, we want a push model).

How to try

wget -O - get.pharo.org/64/80+vmHeadlessLatest | bash

and then if you run the

./pharo-ui Pharo.image

it will be using SDL

Also you can download the VM separated.