jobs

OrigoZero


Date: 6 hours ago
City: Remote
Contract type: Full time
Remote
The jobs namespace — 4 functions.

globals/jobs/find

jobs.find(name: string) -> JobHandle?

Look up a registered job by name. Returns a JobHandle or nil for anonymous / unknown names. Single FFI crossing — returns the id directly, no registry snapshot.

Parameters

  • name string — Job name supplied to jobs.register.

Returns JobHandle? — JobHandle or nil.

local job = jobs.find("animation_blend_main")

globals/jobs/inspect

jobs.inspect(target: JobHandle | string) -> JobInfo?

Return a snapshot row by job handle or by name without retrieving a full handle. Single FFI crossing — pulls only the matching row.

Parameters

  • target JobHandle | string — JobHandle, or job name string.

Returns JobInfo? — Snapshot row or nil.

local info = jobs.inspect("animation_blend_main")

globals/jobs/list

jobs.list(phase: string?) -> { JobInfo }

List registered job summaries. Pass a phase name to filter to a single phase. Single FFI crossing — only the requested rows cross the bridge.

Parameters

  • phase string (optional) — Optional phase filter — nil returns every job.

Returns { JobInfo } — Array of JobInfo rows.

local rows = jobs.list("main")

globals/jobs/register

jobs.register(descriptor: table) -> JobHandle?

Register a substrate job. Returns a JobHandle on success, nil on validation failure. Dispatches by executor.kind: - "kernel" / "stub" → standard __jobs.register (JSON-only descriptor). - "luau" → __jobs.register_luau(descriptor, executor.run) so the Luau function survives the JSON crossing as a stable registry ref. The dispatcher invokes the run closure once per frame; the closure captures any bindings/buffers it needs. - "compute" → the shader reference resolves to its registration key, and the job queues one dispatch per frame. origin is auto-filled with the VFS path of the calling script unless the descriptor already supplies one — surfaced under /zero/runtime/jobs///origin.txt for agent traceability. Single FFI crossing — auto-origin runs Rust-side via lua_getinfo, no separate stack-inspection trip.

Parameters

  • descriptor table — Job declaration with the JobDescriptor shape — name?, phase, reads?, writes?, executor, ordering?, pure?, origin?, metadata?. Param is typed as table rather than JobDescriptor because the LSP doesn't yet narrow string literals to their literal types in record fields, so a JobDescriptor annotation rejects the tagged-union executor discriminator on every call site (literal kind = "kernel" infers as kind: string, doesn't subtype KernelExecutor.kind: "kernel"). Runtime validation in __jobs.register enforces the actual structure; see the JobDescriptor type alias above for the canonical shape.

Returns JobHandle? — JobHandle or nil.

local job = jobs.register({ phase = "main", executor = { kind = "kernel", kernel = "copy_buffer" }, reads = {{resource={kind="buffer",id=src.id},mode="r"}}, writes = {{resource={kind="buffer",id=dst.id},mode="w"}} }) local job = jobs.register({ phase = "main", executor = { kind = "luau", run = function() print("tick") end } }) local job = jobs.register({ phase = "main", executor = { kind = "compute", shader = asset.resolve("carve", "computeShader"), buffers = { "heights" }, workgroups = { 64 } } })

How to apply

To apply for this job you need to authorize on our website. If you don't have an account yet, please register.

Post a resume

Similar jobs

Site Engineer (Kuching, Sarawak)

UEM Edgenta Berhad, Remote
4 hours ago
Responsibilities JOB DESCRIPTION Assist the Construction Manager (CM) in preparing, reviewing, and submitting the JKRS Dashboard, MPR, and other monthly progress reports.Support the CM in coordinating and managing stakeholder engagement with clients, authorities, and local communities.Assist in reviewing contractual matters with the Contract Department, including preparing documentation and recommendations for the Superintending Officer (S.O.) and JKR Sarawak's approval.Participate in site...

辞めるか残るか、1年迷い続けた私が「決められた」たった一つの問い

結代かずみ|ミドルエイジクライシスからの人生次章設計『NEXT CHAPTER』プログラム, Remote
6 hours ago
「辞めたい。でも、怖い」——この二つの間で、私は1年以上も揺れ続けました。安定した立場を手放す。周りには理解されないかもしれない。家族はどう思うか。決められない自分が嫌いで、でも動けない。そんな夜を、何度も過ごしました。最終的に私を動かしたのは、大それた覚悟ではなく、たった一つの“問い”でした。今日は、その1年間と、決断のきっかけになった問いの話をします。「辞めたい」と「怖い」の間で止まっていた1年警察官という仕事を辞めようか——そう考え始めてから、実際に動くまで、一年以上かかりました。安定した収入、社会的な信用、周囲の期待。それらを手放すことが、とにかく怖かった。かといって、このまま定年まで働く自分の姿を思い描くと、胸の奥がざわつく。辞めたいのに辞められない。進むことも留まることもできず、ただ時間だけが過ぎていく。あの停滞感は、今思い出しても苦しいものでした。決断を鈍らせていた、3つの正体なぜ決められなかったのか。後から振り返ると、私を縛っていたのは3つの不安でした。①お金の不安(安定収入を失うこと)②他人の目(「せっかく安定した仕事なのに」という声)③失敗への恐れ(辞めて上手くいかなかったら、という想像)。厄介なのは、これらが漠然と“ひとかたまり”になって、私を押しつぶしていたことです。正体がぼやけたままの不安は、実際の大きさ以上に人を動けなくさせます。この“かたまり”をほどくことが、後に突破口になりました。一枚の紙に、不安を全部書き出した夜ある夜、眠れないまま、私は一枚の紙に不安を全部書き出しました。「収入が減ったら、いくらまでなら耐えられるか」「反対しそうな人は具体的に誰か」「最悪、上手くいかなかったら何ができるか」。頭の中でぐるぐるしていた不安を、一つずつ文字にしていく。すると不思議なことに、書き出した不安の多くは、“対処できるもの”だと気づきました。漠然と怖かったものが、具体的な“課題”に変わった瞬間、恐怖はぐっと小さくなりました。私を動かした、たった一つの問いそして最後に、紙の一番下にこう書きました。「このまま10年後も同じ場所にいて、私は後悔しないか?」。この問いに、私は“YES”とは言えませんでした。お金の不安も、他人の目も怖い。それでも、“変わらないまま10年”のほうが、失敗よりずっと怖い。そう心が答えた瞬間、迷いに区切りがつきました。決断とは、不安がゼロになることではない。不安を抱えたまま、それでも進む理由を一つ見つけることなのだと知りました。決めた後に訪れた、意外な感情辞めると決めた後、押し寄せてきたのは高揚感ではなく、静かな安心でした。1年以上、心のどこかで戦い続けていたものが、ようやく止まった。もちろん、その先には現実的な苦労が山ほど待っていました。それでも「自分で決めた」という事実が、私に芯を通してくれました。人は、他人や状況に流されて動くと後悔しますが、自分で選んだ道は、たとえ茨でも歩き続けられる。決断の価値は、結果よりも“自分で選んだ”という一点にあると、今は思います。迷っているあなたへ伝えたいこともし今あなたが、「辞めたいけど怖い」の間で止まっているなら。まず、不安を一枚の紙に全部書き出してみてください。漠然としたかたまりを、一つずつ具体的な課題にほどくだけで、恐怖は驚くほど小さくなります。そして最後に、自分にこう問いかけてください。「このまま10年後も同じ場所にいて、後悔しないか?」。人生は一度その答えは、誰でもない、あなたの中にあります。急がなくていい。でも、目を逸らさないでほしい。決断は、あなたの人生をあなたに取り戻す行為だから。

Executive - Business Channels (Operations & Customer Service)

Hong Leong Bank Berhad, Remote
2 days ago
If you are looking to excel and make a difference, take a closer look at us…Engage with walk in customers for transaction processing followed by need based discussion with customers for cross selling. Recommend Bank’s products and services to customers and responsible for high levels of Customer service and seamless transactions.Key Responsibilities And AccountabilitiesSales & ServiceProvide superior customer service to...