The Toit language is now open source

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • toit-color-tft

    As an example, here's the driver for small TFT screens of the type that is built into the M5Stack. This is an SPI-attached device: https://github.com/toitware/toit-color-tft/blob/main/src/col...

    If you just have an M5Stack Core2 and want to play with it, then you don't need to write a new driver though. Probably you want the examples from this package: https://pkg.toit.io/package/github.com%2Ftoitware%2Ftoit-m5s...

    (The implementation of that package in the src directory is an example of using an I2C peripheral.)

  • toit-lsm303dlhc

    Driver for the LSM303DLHC

    Toit is optionally typed, and supports type annotations.

    Type annotations for locals, fields, and globals are written with a trailing `/Type`. Return types are written with `-> ReturnType`.

    See https://github.com/toitware/toit-lsm303dlhc/blob/main/src/ac... for a file I recently edited.

    When a type annotation is written, the compiler enforces it. It uses it for static optimizations, and dynamically checks that the type is correct.

    When a type can be null, it has to be suffixed by `?`.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • toit

    Program your microcontrollers in a fast and robust high-level language.

    Is it possible to compile the code at https://github.com/toitlang/toit to run on a desktop? Are there instructions on how to make such a build?

  • beartype

    Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.

    > dynamically checks that the type is correct

    How thorough is this? Beartype is also on the front page now, and its README contains an example of dynamic type checking that takes over an hour to run [0]. How does Toit avoid being that slow?

    [0] https://github.com/beartype/beartype#why-should-i-use-bearty...

  • badger

    Keyboard firmware written from scratch using Nim (by PMunch)

    Nothing about the entire ecosystem I was talking about. But my initial work on the keyboard firmware can be found here: https://github.com/PMunch/badger/tree/final. There are many different projects in Nim running on microcontrollers though, but not something on a common ecosystem.

    HHL?

  • ulisp

    A version of the Lisp programming language for ATmega-based Arduino boards.

    I agree, but I saw the defense that Toit wasn't just for ESP32. I have been playing with ESP chips since first tinkering with them over 8 years ago. C is fine when you're that small, Lua or even ulisp [1], forth, etc. Why Toit? Bowery Farming uses Elixir Nerves for their network of small interconnected devices to run their vertical, indoor farming operations, and I think others are looking to shrink it.

    [1] http://www.ulisp.com/

  • skybison

    Discontinued Instagram's experimental performance oriented greenfield implementation of Python.

    The codebases have very similar naming patterns and structures that mean that once you've read one, the others are much easier to understand. Check out, for example, Dart's VM. Or https://github.com/facebookexperimental/skybison

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts