Repository navigation
runtimec2: 功能完整性批1(string 10 项)+ 批2(struct·new / Ptr 修复) - #547
Merged
Merged
Conversation
- vmkv_native.cpp:string 家族共用 UTF-8/码点工具 + cmp/concat/find 等 10 个 handler,并注册到 native 能力表 - vmkv.cpp:内存别名写参(dst_ptr)转发链取明文 key;写参回写后逐级失效 调用方 fast 缓存(避免 fk 快路径读旧值) 验证:编译通过;tutorial 155→170 PASS;benchmark shm 30/30 valid。 Co-Authored-By: Claude Code <noreply@anthropic.com>
- gen_ops.py / rwir_gen.cpp:struct·new 由 Handoff 归为 Native 并重新生成 - vmkv_native.cpp:h_struct_new(克隆 /lib/Name 原型子树并覆盖字段, 校验字段存在/类型)+ struct/ 家族注册;&x 惰性 ensure_reg_key - vmkv.cpp:Ptr 读参一跳、Copy 槽本体(不穿透)、成员读写 base 缓存、 悬空 Ptr 比较、None 参数、递归 do_call 修复 - vmbin.hpp:FReg base_ptr 缓存字段 验证:编译通过;tutorial 155→170 PASS(12-struct 10/10、11-string 9/9、 13-stdlib/string 8/8);benchmark shm 30/30 valid、无回退。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
两个 commit:
c9cc5e9:string 族 10 项 handler(cmp/concat/find/formatint/formatuint/parsefloat/parseint/parseuint/set/slice)+ native 能力表注册;写参失效 + dst_ptr 转发链修复2e8d644:struct·new从 Handoff 归为 Native(gen_ops.py/rwir_gen.cpp 重新生成 + h_struct_new);Ptr 读参一跳、Copy 槽本体、成员读写 base 缓存、悬空 Ptr 比较、None 参数、递归 do_call 修复;FReg.base_ptr验证:编译通过(批1 单独也在干净树上验证可编译);tutorial 155→170 PASS(+15),12-struct 10/10、11-string 9/9、13-stdlib/string 8/8;benchmark shm 10 case 30/30 valid、无性能回退。
剩余 65 个 tutorial 失败为 vthread/networld 等既有项。
🤖 Generated with Claude Code