What are the differences and similarities between ZK Stack and OP Stack introduced by zkSync?

What are the similarities and differences between ZK Stack and OP Stack in zkSync?

Researcher xBlockingra from Four Pillars has written an overview of the zkSync ecosystem, its current development status and architecture, and compared Matter Labs’ ZK Stack used for developing “Hyperchain” with the modular components of OP Stack launched by Optimism.

Common features of OP Stack and ZK Stack: 1) Open source and free: both software are developed under open source licenses and encourage developers to contribute and build on the software; 2) Interoperability: ZK Stack’s concept of hyperchains can easily link to a trustless network with low latency and shared liquidity. The hyperchain concept envisioned by OP Stack can also connect all chains based on OP Stack; 3) Decentralization: Both OP Stack and ZK Stack have clearly outlined decentralization plans in their upcoming roadmaps, which not only increases network resilience but also ensures fair distribution of power and control.

Differences between OP Stack and ZK Stack: 1) From the perspective of Dapp developers, OP Stack’s EVM is slightly modified from Ethereum’s geth, making the system almost fully compatible with EVM. ZK Stack, on the other hand, has made some modifications to EVM opcodes, with some opcodes not being supported. Additionally, unlike ERC-4337, ZK Stack’s architecture includes native account abstraction functionality; 2) From the perspective of core developers, OP Stack is more intuitive in terms of infrastructure operations. In the field of virtual machine replacement solutions and data availability, ZK Stack has more potential to offer various choices; 3) From a business perspective, in terms of cost, Optimistic Rollup requires more deployment costs, while in terms of proving costs, ZK requires proving generation and verification costs.

Reference: https://medium.com/fourpillars/snapshot-on-zksync-and-a-comBlockingrison-with-op-stack-1a89d9836f5b