Pharos Docs
  • Introduction
    • About Pharos Network
    • Vision & Mision
    • Why Pharos Network
    • Concepts
      • Degree of Parallelism (DP)
  • Architecture
    • Pharos Modular Stack
    • Node Architecture
      • About Pharos Nodes
  • Core Technologies
    • Pharos Consensus
    • Pharos Execution
      • Why A New Blockchain Compute Model
      • Pharos VM
    • Pharos Pipelining
    • Pharos Store
      • Why We Need a Blockchain-Native Store
    • Pharos SPNs
  • Network Overview
    • Pharos Networks
      • Pharos Testnet Information
    • Pharos Gas Model
    • FAQ
  • Node & Validator Guide
    • Validator Requirements
    • Validator Node Deployment
      • Using Docker (Devnet)
      • Using Docker (Testnet)
    • Node Management
    • Rapid Node Initialization
      • Rapid Node Initialization(Testnet)
      • Rapid Node Initialization(Devnet)
    • Pharos Network Snapshots
    • Node Debugging & Configuration
  • Pharos Node Monitoring
  • Developer Guide
    • Foundry
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Hardhat
      • Write Your First dApp
      • Write Your First Token
      • Write Your First NFT
      • Write Your First Uniswap Contract
    • Rust
    • Interoperability
      • Call EVM From WASM
  • API & SDK
    • JSON-RPC API Methods
  • Resources
    • EVM
    • Solidity
Powered by GitBook
On this page
  • What is Pharos VM?
  • Highlights of Pharos VM
  • How Pharos VM Stands Out
  • Why Pharos VM Matters
Export as PDF
  1. Core Technologies
  2. Pharos Execution

Pharos VM

A Next-Generation Virtual Machine for Blockchains

The Pharos VM also known, is a cutting-edge virtual machine designed to bring exceptional performance, stability, and interoperability to the blockchain space.CommentGive feedback on the editor

What is Pharos VM?

CommentGive feedback on the editorPharos VM is essentially a high-performance environment where smart contracts are executed on the blockchain. The virtual machine not only processes transactions but also compiles and optimizes smart contract code to run more efficiently. Its design goal is to serve as a robust Ethereum-compatible virtual machine that operates seamlessly within Layer 1 and Layer 2 solutions. This allows it to execute Ethereum-compatible (EVM) smart contracts while also supporting WebAssembly (WASM), thus accommodating a wide range of programming languages and tools.CommentGive feedback on the editor

Highlights of Pharos VM

  1. Super-fast and Cost-efficiency

  2. Dual VM Spec Support

  3. Dev-Friendly Toolings and Languages

  4. Native Interoperability

  5. Extensibility and Flexibility with co-prosoccers

  6. Built-In Security and Verification

How Pharos VM Stands Out

High-Level Optimizations: Pharos VM’s compilation process includes powerful optimizations such as SIMD, data caching, opcode fusion, register promotion. By optimizing both CPU-bound and I/O-bound contract operations, Pharos VM reduces resource use and enhances speed, making it ideal for high-performance blockchain applications.

Dual VM Specifications: Pharos VM supports both EVM and WASM smart contracts under a single runtime environment, eliminating the need for separate virtual machines for each type. This unified approach simplifies execution and allows efficient cross-contract interoperability without performance sacrifices.

Advanced Parallel Execution: Designed for peak performance, Pharos VM can execute multiple tasks in parallel, identifying dependencies and minimizing resource contention. It even includes speculative execution capabilities to predict and preload frequently accessed data, further enhancing speed.

Performance

Pharos VM has shown excellent performance in foundational benchmarking tests. The following graps serves as a reference for understanding its performance, with all tests conducted on a personal Mac Pro without additional optimizations. We will continue optimizing its performance and regularly update performance data.

Why Pharos VM Matters

For developers, Pharos VM offers a highly compatible and efficient environment that can execute Ethereum smart contracts with greater speed and lower costs. By supporting both EVM and WASM with native interoperability, Pharos VM enables a broader array of applications and allows the blockchain ecosystem to move beyond traditional constraints.

For blockchain users and organizations, Pharos VM promises a more secure and reliable environment for transactions. With built-in verification and safety mechanisms, it reduces the risk of bugs and vulnerabilities, adding a layer of trust to smart contract interactions.

In conclusion, Pharos VM represents a new era of blockchain virtual machines, combining compatibility with existing platforms and the flexibility to evolve alongside the fast-changing blockchain ecosystem. It offers the blockchain community a fast, secure, and interoperable environment to execute and optimize smart contracts, making it a promising choice for both current and future decentralized applications.

PreviousWhy A New Blockchain Compute ModelNextPharos Pipelining

Last updated 21 days ago