Skip to main content

Dave Mason - Zag Smalltalk - 30 November 2022

Dave Mason has been a professor of Computer Science at Toronto Metropolitan University (previously known as Ryerson) for 41 years. He has done research on operating systems, software reliability and programming languages. Current research is mostly around Smalltalk and other dynamic languages. If forced to program very low level projects such as virtual machines, he is willing to use Zig or Rust, but for any other purpose, he insists on using higher productivity languages - primarily Smalltalk.

Zag Smalltalk is a principle-based Smalltalk VM. "Principled" means that the only 3 operations are: message send, assignment, and return.

1) it is designed from the ground up to use multi-processing, to leverage multi-core systems.
2) There is no special-casing of methods like ifTrue:ifFalse or whileTrue:, although of course some methods are implemented by primitive methods. It does aggressive inlining of methods and blocks.
3) “Source” code is maintained as ASTs.
4) Compiled code runs in a dual form of threaded code and JIT’ed machine code that seamlessly interoperate.
5) It has a partially-copying and partially-non-moving garbage collector.
6) It keeps many more values as immediate, including symbols.
7) It uses a single-level dispatch mechanism to implement Smalltalk dispatch semantics

The research question is, "Can this be made fast enough to be competitive?” Preliminary results are encouraging.

This will be an online meeting from home.

If you'd like to join us, please sign up in advance on the meeting's Meetup page to receive the meeting details.

Comments

Popular posts from this blog

A Tour of Architectural Abstraction with Objective-S - Wednesday, November 24th

This month, the UKSTUG will take a look at Objective-S , an architecture-oriented programming language based on Smalltalk and Objective-C, by hosting his creator Marcel Weiher. As per Alan Kay, “Code seems large and complicated for what it does” . Objective-S addresses one source of this accidental complexity: using software architectural abstraction to directly expresses the much wider variety of architectural styles typical of modern software systems, compared to traditional programming languages that still follow the call/return architectural style of scientific programs from the early days of computing. Marcel Weiher started his forays into dynamic object-oriented computing by implementing Objective-C on his Amiga 35 years ago and hasn’t stopped since. Stops on the way have been at Apple, the BBC, Microsoft and various startups, as well as contributing to Squeak. He is currently a principal software engineer at Citymapper and PhD student at HPI, where he is trying to distill some

Kyma - an object oriented sound and music system - Wednesday, May 27th

The next meeting of the UK Smalltalk User Group will be on Wednesday, May 27th. Alan Jackson will talk to us about Kyma , an object- oriented sound design environment built with Smalltalk technology. Given the current COVID-19 restrictions, this will be an online meeting from home. If you'd like to join us, please sign up in advance on the meeting's  Meetup page  to receive the meeting details. Don’t forget to bring your laptop and drinks!

Deploying to the cloud from Pharo - Wednesday, July 29th

The next meeting of the UK Smalltalk User Group will be on Wednesday, July 29th. Peter Svensson will present his work on Cloudsdk-st. Cloudsdk-st is an experiment in ways to work with cloud deployment from a Smalltalk image. Traditionally cloud deployments run 'out of band' in separate build scripts or build/CI/CD systems. This project lets you define Docker images (using Dockerfiles) for Smalltalk, send them to the build system of a cloud provider directly and then choose what kind of service you want your image to be (cloud function or long-running VM). Currently it only supports Google Cloud and has a very rough UI. Future plans include support for AWS and Azure as well as better feedback and a Spec2 UI. Given the current COVID-19 restrictions, this will be an online meeting from home. If you'd like to join us, please sign up in advance on the meeting's Meetup page to receive the meeting details. Don’t forget to bring your laptop and drinks!