From Runtime Efficiency to Carbon Efficiency

Goldman Sachs’s proprietary language, Slang, is a core technology responsible for booking trades, quoting prices and analysing risk, among many other use cases.

Therefore, Slang requires a lot of computing power to support GS’s Global Markets Business.

The current implementation of Slang is significantly less efficient than it could be compared to other peer languages such as Python or Ruby.

SlangVM is a modern bytecode runtime that is significantly faster than existing runtime, reducing the amount of computing used and resulting in lower energy consumption.

This talk will explore how Bytecode VM runs inherently faster on modern CPUs, with specific optimisation techniques such as constant pools that allow the new VM to be more energy efficient, therefore, carbon efficient.

Interview:

What's the focus of your work these days?

I'm working in a SECDB architecture team that looks after our internal proprietary language Slang. I'm currently working on the product we'll be presenting at the conference. It's called SlangVM, and is a virtual machine that basically runs our language.

Previously, the language has been implemented as a tree walker interpreter, and now we are basically migrating to an internally implemented virtual machine.

What's the motivation for your talk at QCon London 2023?

Our company is part of the Green Software Foundation, and we are very enthusiastic about bringing more focus to sustainability in software engineering. We thought of this as an opportunity to present a different side of the work we are doing from the perspective of sustainability and green software. We’d like to show how the work we are doing also has a positive impact on the environment, and how we can reduce our carbon footprint through the work we're doing.

How would you describe your main persona and target audience for this session?

Since we will be talking about our internal language, I would say we would like to invite language enthusiasts, and engineers who are experts in the programming language design space - they would definitely be interested in this talk.

We will be talking about how we are redesigning our language, but it’s also for people who are interested and enthusiastic about green software and sustainability. This will give them a different perspective of how they can look at any improvements, any sort of changes they are doing during their daily job. How can they reflect and ask themselves: Am I having a positive impact on sustainability? Am I having a negative or positive carbon footprint? Are my changes efficient enough? Am I wasting compute cycles, and contributing to the growing problem that we have right now with greenhouse gases?

Is there anything specific that you'd like people to walk away with after watching your session?

Absolutely. This topic is of great interest to IT professionals who are interested in language design, whether they work on internal offerings within their companies or open-source languages, it's important to consider how our programming languages or domain-specific languages affect the environment, especially since there's a significant amount of energy required to run software in public or private data centers.

As software engineers, we have a responsibility to ensure that the software we write is sustainable. Therefore, at the end of this talk, I encourage you to think about this different aspect of software engineering and be more conscious of the impact our code has on the environment.


Speaker

Michal Dorko

Software Engineer @GoldmanSachs

Michal is a software engineer at Goldman Sachs working on the in-house proprietary programming language and runtime.

His focus is on improving the maintainability and performance of the language.

Michal is very passionate about driving innovation in software engineering with sustainability playing an important role.

Read more

Date

Wednesday Mar 29 / 04:10PM BST ( 50 minutes )

Location

Churchill (Ground Fl.)

Topics

language virtual machine sustainability carbon footprint

Share

From the same track

Session cloud

Cloud Provider Sustainability, Current Status and Future Directions

Wednesday Mar 29 / 01:40PM BST

Cloud providers are large, growing rapidly, and leading sustainable development of datacenters, although their total capacity is still a small proportion of the global datacenter footprint.

Speaker image - Adrian Cockcroft

Adrian Cockcroft

Former VP Amazon Sustainability Architecture @Amazon

Session climate

Can Green Software Engineering Solve the Climate Crisis?

Wednesday Mar 29 / 10:35AM BST

Software has a large carbon footprint and impacts our global commitment to keep global warming to no more than 1.5°C – as called for in the Paris Agreement. To reach this goal, emissions need to be reduced by 45% by 2030 and reach net zero by 2050.

Speaker image - Sara Bergman

Sara Bergman

Senior Software Engineer @Microsoft

Session climate

Why Cloud Zombies Are Destroying the Planet and How You Can Stop Them

Wednesday Mar 29 / 11:50AM BST

Wait, zombies? Really? Zombies are servers which aren’t doing useful work. They’re everywhere, costing money, eating electricity, and belching carbon. And they’re useless! So how do we get rid of them?

Speaker image - Holly Cummins

Holly Cummins

Full Stack Engineer, Building Quarkus @Red Hat, Former Lead Consultant

Session

Panel: What’s next? Net-Zero Commitments?

Wednesday Mar 29 / 02:55PM BST

Sustainability has been deemed the greatest challenge of all time for many generations, yet, we have reached any substantial progress to defeat it. This is true across many industries, including the software sector.

Speaker image - Holly Cummins

Holly Cummins

Full Stack Engineer, Building Quarkus @Red Hat, Former Lead Consultant

Speaker image - Sara Bergman

Sara Bergman

Senior Software Engineer @Microsoft

Speaker image - Adrian Cockcroft

Adrian Cockcroft

Former VP Amazon Sustainability Architecture @Amazon

Speaker image - Sarah Hsu

Sarah Hsu

SRE @Goldman Sachs & Training Project Chair @Green Software Foundation

Speaker image - Asim  Hussain

Asim Hussain

Director of Green Software and Ecosystems @ Intel, Chairperson @ Green Software Foundation