NoFOMO
Search 中EN Sign in Sign up

Peaked at #3 Off the board

scriptc/threads Released

Chris Tate launches scriptc/threads, adding zero-copy object sharing for scriptc-compiled TypeScript with Node-compatible Workers and reference-shared immutable graphs.

Rank over time

Key points

  • @ctatedev introduced @scriptc/threads, offering zero-copy object sharing for regular TypeScript compiled with scriptc.
  • publish() shares immutable graphs by reference, and senders and workers read the same graph, per the announcement.
  • It provides a Node.js-compatible Worker + postMessage and runs in Node.js with cloning.
  • @cramforce said the goal with scriptc is to make compiled TS competitive with go and rust, requiring robust multi-threading primitives, and that these programs run with the same semantics in node but get zero-copy immutable data structures into the worker.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Chris Tate @ctatedev 68.2K followers

Introducing @𝚜𝚌𝚛𝚒𝚙𝚝𝚌/𝚝𝚑𝚛𝚎𝚊𝚍𝚜 Zero-copy object sharing for regular TypeScript compiled with scriptc → Node.js-compatible Worker + postMessage → publish() shares immutable graphs by reference → Sender and workers read the same graph → Runs in Node.js w/ cloning https://t.co/ol0lCmNlJ6
Post image
289likes 18reposts 10replies 16.7Kviews

View on X Save

Top replies on X

Sign in to see 1 top replies from X

From @ctatedev and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link