This website requires JavaScript.
Explore
Help
Register
Sign In
tomoaki
/
hakorune
Watch
1
Star
0
Fork
0
You've already forked hakorune
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
92b3c2afb51e63226d99e5ff97f7a4366dbf7ead
hakorune
/
examples
/
jit_arith.hako
2 lines
13 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: Phase 10_b JIT implementation progress + academic paper ideas Phase 10_b JIT Lower implementation: - IRBuilder abstraction with NoopBuilder (emit counting) ✅ - CraneliftBuilder skeleton (feature `cranelift-jit`) ✅ - LowerCore implementation (Const/Copy/BinOp/Cmp/Branch/Ret) ✅ - Engine.compile with builder selection and JIT handle generation ✅ - JIT function table with stub functions ✅ - Basic i64 const/binop/ret emission for Cranelift - VM execution path with NYASH_JIT_EXEC=1 support Academic ideas and analysis: - "Everything is Thread-Safe Box" concept - "GC as debug tool" paradigm analysis - GC switchable semantic equivalence documentation - Gemini & Codex evaluation on academic paper potential - Nyash academic papers potential themes Current limitations: - Return values limited to i64 (VMValue::Integer) - Arguments not yet supported - Compare/Branch emit not implemented - Trap→VM fallback not implemented 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 03:16:57 +09:00
print(1 + 2)
Reference in New Issue
Copy Permalink