Improving SDK for Linux/Windows/MacOS

Last week I shipped the Polygon SDK with C bindings, which allows you to create your own nodes or add your own logic without the Jai language. It also allows you to ship native apps from Polygon Canvas (the easier-to-use edition that has no SDK).

The current state

As predicted, it was rough around the edges. So there was a few releases between 2.0.67 and 2.0.74 where I double checked it all runs fine on Linux, Windows and MacOS. I had to run tests that can’t really be handled in a test suite, so that had to be manual.

Now it’s nice and smooth. The first time you run it, Polygon downloads any tool it needs, such as the C compiler, or wasm-opt to optimisize the .wasm file for web. The first export/build is therefore a bit slow, but any other export after is very fast.

What’s next?

The C bindings are still only a starting point. There most likely are several functions that are not imported yet, so that’s next on my list to work through. And it will be the kind of feature that will evolve organically anyway. It will also be designed so you don’t have to read a ton of docs, you can just point your agent at it, and it will figure out how to best use it.

As always, tell me what you build, and what is missing. Reply to this email, or say hello in the Discord, Bluesky or Twitter.

Gui

All issues