frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Zym, embeddable script lang with continuations, preemption, mem control

1•anatolidp•1h ago
Ive been working on zym, its a dynamic scripting language meant to be embedded in a host application or in smaller systems.

I built Zym because i wanted a touch more control in a scripting language. Most languages ask for a tradeoff: you get flexibility, expressiveness, and fast iteration, but you give up control over how your data moves, how your stack behaves, and how your runtime executes code. If you want that control back, the conventional answer is to drop down into a compiled, statically-typed language.

This is my attempt to sort of harness both sides together in a way without making them fight each other. It's a scripting language that stays out of your way when you want to move fast, and gets precise when you need it to. Its pretty standard syntax for what a dynamic language would expect, functions, looping, variables, other stuffs on the surface but with a touch of manual control flow.

Zym's control surface is where it splits: Explicit memory semantics — ref, slot, and val modifiers let you declare exactly how values move across function boundaries. Delimited one shot continuations as a primitive — Zym provides the building blocks to build out control flow as needed/wanted instead of relying on a set model, allows for construction of coroutines, fibers, generators, async, unconventional control flow, whatever it is thats needed. Script-directed TCO — Zym provides scope aware tco compiler directives, basically u tell compiler this return function i wanna jump, it does it no questions asked. Instruction-count preemption — the VM supports time-slicing by instruction count via a host pump and script callback, not just cooperative yields. Really handy for fair scheduling. Simple(ish) 2 way FFI - Zym was designed to be embedded. Its ffi is fairly simple to work with and provides the ergonomics of writing natives more directly like you would write a function normally rather than a lot of manual stack juggling. Allows reentry so one can move in and out of c land fairly simply.

Still early days and I am constantly working on it — would love feedback on the design, especially the memory semantics model and the continuation useage.

Playground (WASM): https://zym-lang.org/playground Docs/Site: https://zym-lang.org/docs Github: https://github.com/zym-lang/zym

Comments

anatolidp•1h ago
happy to answer technical questions or explain design choices, get feedback, understand peoples thoughts from their end

My lobster lost $450k this weekend

https://pashpashpash.substack.com/p/my-lobster-lost-450000-this-weekend
1•__cayenne__•1m ago•0 comments

The Longest Line of Sight

https://tombh.co.uk/longest-line-of-sight
1•giraffe_lady•1m ago•0 comments

Ductape – One SDK for any backend integration

https://www.ductape.app/?hnlaunch=1
1•snifideezy•1m ago•1 comments

You Can't Optimize What You Can't See. AI Cost Observability

https://www.edgee.ai/blog/posts/2026-02-23-ai-cost-observability-missing-layer
1•Gillesray•1m ago•0 comments

Show HN: Fastdedup – Rust dataset deduplication (2:55 vs. 7:55 688MB vs. 22GB)

https://wapplewhite4.github.io/fastdedup/
1•wapplewhite4•2m ago•0 comments

Hegseth gives Anthropic until Friday to back down on AI safeguards

https://www.axios.com/2026/02/24/anthropic-pentagon-claude-hegseth-dario
4•rurp•4m ago•0 comments

Training my dog to vibe code B2B SaaS apps

https://dogomation.darefail.com/
2•jimhi•6m ago•1 comments

Can agentic coding raise the quality bar?

https://lpalmieri.com/posts/agentic-coding-raises-quality/
1•SatvikBeri•7m ago•0 comments

Show HN: MakLock – Free macOS App Locker with Touch ID and Apple Watch

https://github.com/dutkiewiczmaciej/MakLock
1•makmakapps•7m ago•0 comments

"SaaS is Dead" – they say

https://kudmitry.com/articles/saas-is-dead-they-say/
1•skwee357•7m ago•0 comments

Show HN: YouAM – An address, contact card, and encrypted inbox for AI agents

1•midlifedad•7m ago•0 comments

Show HN: Shelfctl – PDF/ePub library manager backed by GitHub Release

https://github.com/blackwell-systems/shelfctl
1•daynablackwell•9m ago•0 comments

Intel Formally Ends Four of Their Go Language Open-Source Projects

https://www.phoronix.com/news/Intel-Stops-Go-Projects
1•LorenDB•9m ago•0 comments

Spacydo: State machine example with own calldata for state transition rules

1•tracyspacy•10m ago•0 comments

Data vs. Hype: How Orgs Win with AI – The Pragmatic Summit [video]

https://www.youtube.com/watch?v=LOHgRw43fFk
1•cyndunlop•10m ago•0 comments

Implementing a Clear Room Z80 / ZX Spectrum Emulator with Claude Code

https://antirez.com/news/160
1•cyndunlop•10m ago•0 comments

Coding Agent, Good?

https://teetracker.medium.com/coding-agent-its-a-good-idea-1d34966c44ab
1•hasszhao•11m ago•1 comments

Steel Bank Common Lisp

https://www.sbcl.org/
2•tosh•11m ago•0 comments

Forests don't just store carbon. They keep people alive, scientists say

https://news.mongabay.com/2026/02/forests-dont-just-store-carbon-they-keep-people-alive-scientist...
1•PaulHoule•11m ago•0 comments

The Deceptively Simple Act of Writing to Disk

https://www.scylladb.com/2026/02/18/the-deceptively-simple-act-of-writing-to-disk/
1•cyndunlop•11m ago•0 comments

Inception Launches Mercury 2, the Fastest Reasoning LLM

https://www.businesswire.com/news/home/20260224034496/en/Inception-Launches-Mercury-2-the-Fastest...
1•tinco•12m ago•0 comments

OpenAI, the US government and Persona built an identity surveillance machine

https://vmfunc.re/blog/persona/
3•rzk•12m ago•0 comments

OpenAI resets spending expectations, from $1.4T to $600B

https://www.cnbc.com/2026/02/20/openai-resets-spend-expectations-targets-around-600-billion-by-20...
3•randycupertino•12m ago•0 comments

I think WebRTC is better than SSH-ing for connecting to Mac terminal from iPhone

https://macky.dev
2•Sayuj01•13m ago•1 comments

China May Grab a Lead in the Race for Military Fusion

https://www.wsj.com/opinion/china-may-grab-a-lead-in-the-race-for-military-fusion-c5ab6d2b
1•JumpCrisscross•13m ago•0 comments

An AI agent bought from our WooCommerce store. Here's what we learned

https://zologic.nl/the-next-evolution-of-conversion-why-your-store-needs-to-be-agent-ready/
1•Zologic•14m ago•1 comments

Ask HN: Share a random link from your bookmarks

1•TechSquidTV•14m ago•0 comments

Ask HN: Demand for a compliance-first deterministic context compiler?

1•PensaerWales•14m ago•1 comments

Ask HN: How to exhaustively search the scientific literature?

1•cossatot•16m ago•0 comments

Gas Town, OpenClaw and the rise of open source AI agents

https://www.axios.com/2026/02/24/agents-openclaw-moltbook-gastown
2•msolujic•16m ago•0 comments