hn.today

Toit v2.0.0

toit.io3 points0 comments
Screenshot of Toit v2.0.0

Toit 2.0.0 marks the first stable major release after more than four years of alpha development, involving over 2,000 commits, 500,000 lines of changes, and more than 200 alpha versions. The software had already been stable in practice, but the team delayed the release while major breaking changes remained planned and sought to add more important features. Toit began as closed-source software from Toitware, later became open source, and continued to be developed by volunteers after the company closed in 2024. The final major compatibility change for 2.0.0 was a refactor allowing peripheral APIs to take pin numbers directly rather than requiring gpio.Pin objects.

The release reflects a decision to stop waiting for development to feel complete: substantial work, including a formatter, compiler-resolution improvements, and support for additional architectures, remains for future versions. Since open-sourcing, Toit has expanded hardware support to the Arm-based EC618 and nearly all ESP32 variants. Other advances include a unified command-line tool and stronger desktop scripting capabilities, a rewritten package manager and growing package ecosystem, mixins for sharing class implementations, and firmware envelopes that let users customize firmware without rebuilding the SDK. Compiler and runtime improvements, more extensive hardware testing, and GitHub syntax highlighting also form part of the project’s progress toward a stable release.

Read on toit.io0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.