News for hackers. Stuff that matters.

kasperl

Re:Toit v2.0.0 on Tuesday November 03, 2026 @08:43AM (#50351892)
:)
Re:Toit v2.0.0 on Tuesday November 03, 2026 @07:18AM (#50351078)
I just started working on a compile-to-native approach you might appreciate :)
Re:Toit v2.0.0 on Tuesday November 03, 2026 @05:31AM (#50350236)
Arguments like --greeting are the named arguments:

https://docs.toit.io/language/beginner/lists-and-functions/#...

The name argument is positional here.

Re:Rust on Espressif chips – 2023 Roadmap on Friday February 24, 2023 @03:45PM (#34929883)
There are ways and we've seen successful integration of C++ libraries and functionality - but it is not what I would call easy yet.

Toit is evolving rapidly and we find that being fully open source helps our users tweak things where necessary. It's been a fun ride so far and we've got some pretty awesome and sophisticated use cases that involve custom C++ code.

Re:Rust on Espressif chips – 2023 Roadmap on Friday February 24, 2023 @01:53PM (#34928328)
That's a fair and valid point. I firmly believe that live reloading of individual apps on your ESP32 during development is a big win for productivity, but clearly so is an established and mature ecosystem.
Re:Rust on Espressif chips – 2023 Roadmap on Friday February 24, 2023 @10:27AM (#34925407)
I also really like MicroPython! Having said that, I have been working on an alternative to it for a number of years now -- primarily to provide a more robust and performant high-level alternative to C and Rust on the ESP32-family of chips:

https://github.com/toitlang/toit

I'd love to pick your brain and fully understand your experience with MicroPython. I've been doing programming languages for a number of years now, and I find that it is incredibly useful to understand what developers appreciate (and dislike) about the available stacks.

Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors on Saturday February 04, 2023 @03:17PM (#34657795)
Thank you! I'll try to get that updated.
Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors on Saturday February 04, 2023 @09:37AM (#34654797)
Thank you for the mention!

I have been working on the Toit language for the ESP32 for a number of years now -- and it has been an enjoyable challenge to build an open source stack capable of supporting live reloading on a micro-controller that can run for years on batteries.

https://github.com/toitlang/toit

Re:Sorting Algorithms that don’t Hate You on Saturday January 14, 2023 @07:05AM (#34379614)
I find it strangely mesmerizing to watch sorting algorithms do their thing. Thanks for having fun!
Re:Running Advent of Code on a $2 microcontroller on Tuesday January 03, 2023 @12:24PM (#34234526)
Fix for the UTF-8 issue on Windows is in the works: https://github.com/toitlang/toit/pull/1318.

Thanks for bringing this to our attention :)

When we wrote the initial version of V8, it was reasonably small :)
No V8? The website explicitly says that Blueboat combines Google's state-of-the-art V8 JavaScript engine, process-level snapshots, and Rust to speed up everything from cold start to runtime performance.
Re:Show HN: Micro-Services on Micro-Controllers on Monday July 18, 2022 @03:58PM (#32142877)
Author here. We have been working on enabling modern, high-level software architectures on micro-controllers for some time now and we're at a point where we feel like the bits we've built could use some scrutiny and feedback from the wider community. It is all open-source and it is ready for you to try out.

If you're interested in building software for embedded devices, but turned off by having to do everything in low-level C code running in a kernel context, we're definitely interested in working with you to build an alternative. A high-level, robust alternative that makes it easier to build quality services for the internet of things powered by micro-controllers like the ESP32.

Re:The Toit language is now open source on Monday November 22, 2021 @07:33AM (#29305664)
It is worth noticing that you enable and disable the serviceability for individual devices when you want to. Your unserviced devices are free and keep running your code.

https://toit.io/pricing

Re:The Toit language is now open source on Monday November 22, 2021 @05:43AM (#29304986)
Oh, and full disclosure: I'm the author of the blog post.
Re:The Toit language is now open source on Monday November 22, 2021 @05:41AM (#29304973)
Among other things, Toit uses the selector-based row displacement technique for building a compact method dispatch table that can be queried in constant time.

If you're into fast virtual method calls - also for dynamic languages - you might want to take a look at Karel Driesen's excellent PhD dissertation on the subject:

https://cs.ucsb.edu/sites/default/files/documents/1999-24.ps

Re:The Toit Programming Language on Saturday March 06, 2021 @08:25AM (#26367175)
[Co-author of 'Revolutionizing Embedded Software' -- the linked thesis with the ... not so understated title -- and co-founder of Toit here.]

Yeah, there certainly is overlap in some of the core ideas, but the scene has really changed with the development of general-purpose microcontrollers like the ESP32 that can run for years on standard batteries and still pack a punch (it's a dual core 240MHz CPU). Also, the global connectivity options like NB-IoT and LTE-M allow devices to connect directly to the internet, which enables us to make them fully serviceable through a cloud-hosted API.

Re:Fun vs. Computer Science (2016) on Saturday August 26, 2017 @05:10PM (#15107469)
Don't worry; strong mode will be the only mode going forward and it already is the only mode for Flutter. Not merely optional.
Re:Fun vs. Computer Science (2016) on Saturday August 26, 2017 @05:25AM (#15104764)
Flutter (http://flutter.io) strikes an interesting balance here by (1) allowing just-in-time compiled, state-preserving "hot-reloading" during interactive development and (2) supporting optimized deployment using classical ahead-of-time compilation to native code.

Disclaimer: I work on the team at Google that builds the underlying language platform for Flutter.

Re:Google's Go is TIOBE's programming language of 2016 on Sunday January 08, 2017 @10:35AM (#13350087)
... and Dart is the runner up in terms of gaining popularity in 2016 according to TIOBE.
There's a short interview with the author of StageXL, Bernhard Pichler, here: http://news.dartlang.org/2016/12/stagexl-10-chat-with-bernha....
Very active development; see https://www.youtube.com/playlist?list=PLOU2XLYxmsILKY-A1kq4e... for a few recent presentations about the progress.

(disclaimer: I work on the Dart team at Google)