Skip to content

Shuang's Crypto Notes

Learning new things!

Category: Compiler

Transpiler, Interpreter, Runtime

A transpiler:

  • takes code in one high-level language
  • rewrites it into another high-level language
  • while preserving semantics

Classic examples:

  • TypeScript → JavaScript
  • Modern JS → older JS
  • Wasm → C
  • DSL → Rust

What an interpreter is

An interpreter is a program that executes another program directly, instruction …

Author shuangcrypto.comPosted on February 4, 2026February 4, 2026Categories CompilerLeave a comment on Transpiler, Interpreter, Runtime

Stack and Heap

note from this video

Memory layout

The memory assigned to a program in typical architecture has 4 segments:

  • instruction
    • static/global variables
    • function calls and local variables
    • Heap

Let me show an example of program execution:

Stack

there are memory reserved as stack and memory reserved as static or global variable …

Author shuangcrypto.comPosted on January 2, 2026January 2, 2026Categories CompilerLeave a comment on Stack and Heap

Compiler 1o1, GNU, LLVM

This note covers the following points:

  • What GNU Compiler Collection (GCC) is
  • What LLVM is
  • How they differ philosophically and practically

1️⃣ GNU Compiler Collection (GCC)

What it is

GCC = GNU Compiler Collection

Originally:

  • A single C compiler (gcc)
    Now:
  • A collection of compilers for many languages
…
Author shuangcrypto.comPosted on December 27, 2025December 27, 2025Categories CompilerLeave a comment on Compiler 1o1, GNU, LLVM
 Hi, I am Shuang, a ZK/Cryptography engineer at Powdr. These are my somewhat messy learning notes about cryptography, security in general, and my hobbies. The "finer" notes list is here
  • Architecture
  • blockchain projects
  • Coding
  • coding general
  • Compiler
  • Compiler
  • Cryptographic principles
  • Data Structure
  • DevOps
  • Drafts but I wanna publish
  • ECC
  • Fundamental Protocols
  • GPU
  • Hash functions
  • Mathematical Background
  • optimization
  • Parallel computing
  • Plonky3
  • powdr
  • powdr-openVM
  • Prover Projects
  • Rust
  • stwo
  • Tools
  • Uncategorized
  • Zero Knowledge Proof
  • zk based on Multilinear polynomials
  • zk libraries
  • zkVM and zkEVM

Recent Posts

  • Data Structure –Map
  • Queue related data structure
  • Think as an architect
  • A piece of parallel computing code
  • Parallel Computing in Rust and C++ part 1

List of all posts

  • Publications
  • My CV
  • GitHub
  • LinkedIn
  • X

Hobbies

Handcrafts
  • Jewelry crafts
    • my online shop
  • Wood crafts
  • Sewing
  • Knitting
Sports
  • Rock climbing & bouldering
  • Running
Cooking
  • Recipes
Photography
  • portfolio

Useful links

  • Latex in Wordpress
  • Knowledge links
  • powdr command
  • what you want to know about powdr
  • Coding Tools & Tips
  • Shortcuts
  • Git

Shuang's Crypto Notes Proudly powered by WordPress