From b957d6ac43651184dd835aba0e44d98c102ef088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Wed, 10 Jul 2024 15:13:39 +0900 Subject: [PATCH] [obsidian] vault backup: 2024-07-10 15:13:39[ --- content/img/lambdammm_vm_structure.svg | 1731 ++++++++++++++++++++++++ content/private | 2 +- 2 files changed, 1732 insertions(+), 1 deletion(-) create mode 100644 content/img/lambdammm_vm_structure.svg diff --git a/content/img/lambdammm_vm_structure.svg b/content/img/lambdammm_vm_structure.svg new file mode 100644 index 00000000..1652cb8b --- /dev/null +++ b/content/img/lambdammm_vm_structure.svg @@ -0,0 +1,1731 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Virtual Machine + + + Program Counter + + + + State_Ptr + + + + Audio Driver + + + + Call Stack + + + + + + + + ... + + + + State Storage + + + + Closure Storage + + + + + + + + + Base Pointer + + + + + + + State Position + + + + State for self 1 + + Ring Buffer for delay 1 + + State for self 2 + + Ring Buffer for delay 2 + + + + ... + + + + + + + + + + + + Program + + Function Prototype0 + + Static Variables + + + ... + + + + + ... + Function Prototype1 + + + + + + OP + + + + A + + + + B + + + + C + + + + + + + + + Upvalue List + + + Program + State Size + + + N1 + N2 + + + + + + Open Closure + + Function Prototype + + + State Storage + + Upvalues + Negative Offset of Stack: N1 + Negative Offset of Stack: N2 + + + State Position + + + + + ` + + + + + + + + + + + Escaped Closure + + Function Prototype + + + State Storage + + Upvalues + + State Position + + + + Closed Upvalue 1 + Closed Upvalue 2 + + + + + + Somewhere on the Heap Memory (Maybe Shared with other closures) + + + + diff --git a/content/private b/content/private index e7ac7581..355dd264 160000 --- a/content/private +++ b/content/private @@ -1 +1 @@ -Subproject commit e7ac758155225aaed05dfabc02b859696bc9f45a +Subproject commit 355dd2641c30c75552997d5564aa6ef51557d248