

Whitepaper Reading Pune: PolkaVM / RISC-V for Scaling Blockchains
A session on the Polkadot Virtual Machine (PVM), a new RISC-V based VM-model designed for real-world scale, planned for Polkadot's next major upgrade - Join Accumulate Machine (JAM). We'll read the spec together and discuss whys and hows of its novelty.
What is the PVM?
JAM replaces Polkadot's relay chain with a design where programs (called services) do heavy work in parallel on cores and write their results to shared state. Every service runs on the PVM, a subset of 64-bit instruction set based on RISC-V. You can write for it in Rust, C, or any language that compiles to RISC-V.
It will be used for:
Parachains, running existing Polkadot parachains on JAM
Smart contracts on Polkadot Hub, with Solidity compiled to the PVM through revive
CorePlay, a planned framework for long-running programs that can pause and resume
Ordinary software, such as DOOM, with no blockchain-specific rewrite
What we'll cover
How a program is packaged and decoded
How gas is charged
What happens when a program accesses memory it shouldn't
How a service calls out to the chain
How the PVM differs from the EVM, and why Polkadot moved away from WebAssembly
Chainscore Labs is building Tessera, a JAM client in Python, and tsrkit-pvm, its PVM implementation. We'll share what we learned implementing the spec, run a small program on tsrkit-pvm to show gas being spent, and boot DOOM on PolkaVM.
Format
10 minutes of silent reading, then open discussion (no panels)
QnA with developers implementing the PVM
Live demos
Notes and takeaways shared after
Light food and drinks
Not sponsored
Agenda (60 mins)
7:00 pm Intro
7:05 pm Silent reading
7:15 pm Discussion: gas, memory faults, host calls, PVM vs EVM
7:35 pm Implementer notes and live demos
7:50 pm Q&A and takeaways
Pre-reads (optional)
Graypaper, the JAM spec (Appendix A)
No need to read everything beforehand. If you've written a smart contract or know roughly what a VM does, you'll be able to follow.
Format
Short introduction and context setting to start.
A short walkthrough of the paper and its key ideas.
Questions and discussion grounded in the original source.
Moderator-led discussion with no promotions.
Session Guides:
Prasad, Founder - ChainScore Labs chainscorelabs.com)
About Whitepaper Reading Club
We are a community of founders, researchers, and builders across Singapore, Malaysia, San Francisco, Bangkok, New York, Lagos, Taipei, and Hong Kong. We meet in person every month to read, discuss, and pressure-test the latest blockchain papers, protocols, and technical ideas.
Learn more: Website · Summaries · Calendar
We create detailed, easy-to-understand summaries for each paper and have held 80+ sessions since June 2023, covering Account Abstraction, Parallel Chains, EIPs, the Bitcoin ecosystem, and AI x Crypto. We are ecosystem-agnostic, not for profit, and focused on projects with technical, product, or social innovation.