logoalt Hacker News

matrix12yesterday at 9:27 PM1 replyview on HN

will this mean opencode is finally portable?


Replies

jauntywundrkindyesterday at 11:30 PM

There is some really cool work to port opencode's underlying opentui to Node.js, including some new FFI work in node itself that got merged (called... drum roll please... node:Ffi! Really cool stuff. https://github.com/anomalyco/opentui/pull/939 https://github.com/nodejs/node/pull/62762

Also worth noting that opentui is... Zig!

Very unclear what it's going to take to get this reviewed and shipped, but some very high potential. I've seen some other changes going by in opencode for node.js compatibility; I'm not sure what besides the tui has Ffi needs that might be gating; maybe nothing!