Hacker News logo

Task engine VM – for tasks with executable instructions (progress update)

3 points
by tracyspacy
21 hours ago
3 comments
The core idea is Minimal task model + programmable behaviour — a small core that enables unlimited features, since each task can carry executable scripts.

Recent updates:

- VM now uses NaN-boxing technique.

- All stack values are 64-bit (u64) but encode 5 distinct types: Boolean, String, CallData, U32, and MemSlice (25-bit offset + 25-bit size).

- Added InlineVec — a vector-like structure backed by a fixed-size array. The VM stack, control stack, call stack, and jump stack now use it with defined limits. - VM has memory now (heap). Memory is simple Vec<u64>, grows dynamically, but technically length is restricted by mem_slice_val format: 25 bits payload for offset and size

Project is still in absolutely early stage.

Repo is here: https://github.com/tracyspacy/spacydo


3 comments

Loading...

Almost there! We're setting everything up for you.

Built by Troy Ciesco
Hacker News API