Skip to content

Instantly share code, notes, and snippets.

View huitseeker's full-sized avatar

François Garillot huitseeker

View GitHub Profile
@huitseeker
huitseeker / pr-3713-reuse-dft-instance.diff
Created August 24, 2026 19:01
PR 3713 experiment: reuse one Radix2DFTSmallBatch instance across dense periodic columns
diff --git i/crates/ace-codegen/src/dag/ir.rs w/crates/ace-codegen/src/dag/ir.rs
index e0b6b08ee4..516b93d0a0 100644
--- i/crates/ace-codegen/src/dag/ir.rs
+++ w/crates/ace-codegen/src/dag/ir.rs
@@ -118,6 +118,7 @@ impl<EF> PeriodicColumnData<EF> {
EF: From<F>,
{
let mut columns = Vec::with_capacity(periodic_columns.len());
+ let mut dft = None;
for col in periodic_columns {
@huitseeker
huitseeker / README.md
Last active July 26, 2026 13:39
Reproduce the miden-vm PackageDebugInfo deserialization benchmark on main, PR #3398, and PR P

Reproduce the PackageDebugInfo deserialization benchmark

These patches install the same Criterion benchmark on:

  • 0xMiden/miden-vm@f7d854900051759d3526efe44f8d927d54e0f3e7 (main, the base of PR #3398)
  • 0xMiden/miden-vm@962d427284f28bd7b9b8b3c6df70024e90b4bdc3 (PR #3398)
  • PR P, based directly on that PR #3398 commit

From a clean checkout of the revision being measured, apply the corresponding patch:

diff --git i/crates/mast-package/src/debug_info/types.rs w/crates/mast-package/src/debug_info/types.rs
index 6f6699c763..d83b39858b 100644
--- i/crates/mast-package/src/debug_info/types.rs
+++ w/crates/mast-package/src/debug_info/types.rs
@@ -888,6 +888,58 @@ mod tests {
);
}
+ #[test]
+ fn test_package_source_debug_merge_remaps_first_input_execution_nodes() {

Cryptography and Blockchain Events in Rome - May 2026

A comprehensive list of cryptography and blockchain events taking place in Rome at the beginning of May 2026.

Event Timeline (Chronological)

Event Dates Focus Link
zkSummit 14 May 7 Industry-focused zero-knowledge summit - research, zk use-cases, cryptographic primitives https://www.zksummit.com/
Zcash Dev Summit May 8 Developer-only technical gathering for Zcash ecosystem contributors https://zfnd.org/zcash-dev-summits/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>0xMiden/miden-vm PR Stats</title>
<style>
:root {
--bg: #f5f1e8;
--panel: rgba(255, 252, 245, 0.94);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PR 2765 Analysis: Fixed-Layout Hashless MAST Serialization</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css"
>
{
"consume single P2ID note": {
"prologue": 3501,
"notes_processing": 1761,
"note_execution": {
"0x62e6fe0d5f649b395b5c3f63736fd7b469fd1e0e867c441696d1a70324d3f9a2": 1721
},
"tx_script_processing": 42,
"epilogue": {
"total": 72351,

Window Access Walkthrough: RowWindow, Matrix Views, RefCast, and Regressions

2026-03-28T22:40:11Z by Showboat 0.6.1

Goal

This walkthrough explains one narrow slice of the AIR API history in Plonky3:

  1. what PR #1357 / commit 808fb9e2 introduced,

UX Walkthrough: Hunting mod_12289 with the Old and New MASM Analyses

This walkthrough studies one bug hunt: the missing u32assert on the advice remainder in miden::core::crypto::dsa::falcon512_poseidon2::mod_12289.

It compares three user experiences:

  • the baseline analysis
  • the current flat diagnostics
  • the current optional grouped mode

The case study is the advice remainder in mod_12289. The quotient is checked with u32assert2, but the remainder loaded at line 57 reaches u32overflowing_sub and u32overflowing_add without a u32assert.

diff --git i/crates/mast-package/src/package/mod.rs w/crates/mast-package/src/package/mod.rs
index 8420ddc8e..0deeb3436 100644
--- i/crates/mast-package/src/package/mod.rs
+++ w/crates/mast-package/src/package/mod.rs
@@ -90,6 +90,110 @@ impl Package {
}
}
+#[cfg(test)]
+mod tests {