w2c2
toit
w2c2 | toit | |
---|---|---|
9 | 15 | |
669 | 1,111 | |
- | 0.6% | |
8.5 | 9.7 | |
23 days ago | 7 days ago | |
C | Toit | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
w2c2
-
Build your own WebAssembly Compiler
For AOT, the simplest approach, that actually produces the fastest native code, is to naively translate WASM opcodes to C.
This is for example what W2C2 does: https://github.com/turbolent/w2c2
-
Show HN: RustPython for FreeDOS with W2c2
This uses [w2c2](https://github.com/turbolent/w2c2) to convert RustPython,
- DeviceScript: TypeScript for Tiny IoT Devices
-
Running Rust code on Plan 9 using webassembly
Using a modified version of the w2c2 wasm->C89 translator, I was able to run Rust code on 9front!
-
Rust on macOS 9
There's not much data in the performance section of the front-page readme of the repo, but the one bullet point there seems promising:
> Coremark 1.0: ~7% slower than native [0]
[0] https://github.com/turbolent/w2c2#performance
- W2c2: Translates WebAssembly Modules to C
- W2c2: Translate WebAssembly Modules to C
- I'm not sure what this is, but I'm sure I want to find out. WASM2C.. Is it for me...
toit
-
Hey all! ESP32 beginner here, looking for a little advice
It uses toit, a high-level language, and is thus quite easy to learn. At the same time it's an order of magnitude faster than micropython.
- DeviceScript: TypeScript for Tiny IoT Devices
-
Open-sourcing a commercial product
We have been faced with the same question and decided to open-source pretty much all of our product (https://github.com/toitlang/toit).
-
Rust on Espressif chips – 2023 Roadmap
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.
-
ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors
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
- Running Advent of Code on a $2 microcontroller
- What languages can I use with the esp32?
- Show HN: Micro-Services on Micro-Controllers
-
Toit – A Language Designed for Microcontrollers
We use it for some of our tools, so it's possible (and works nicely). Our LSP server was initially written in Toit: https://github.com/toitlang/toit/tree/master/tools/lsp/serve...
- QOI – The “Quite OK Image Format” for fast, lossless image compression
What are some alternatives?
raw-wasm - Raw WebAssembly demos
beartype - Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.
react-native-webassembly - ⚛️ 🏎 WebAssembly for React Native powered by JSI.
toit-color-tft
assemblyscript - A TypeScript-like language for WebAssembly.
advent-of-code-2021 - My solutions for the https://adventofcode.com puzzles (2021) 🎄🎅
RustPython - A Python Interpreter written in Rust
adventofcode - My solutions to the Advent of Code challenges
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
qoi - The “Quite OK Image Format” for fast, lossless image compression
hermit - Actually Portable WebAssembly compiler toolchain for self-contained cross-platform binaries
adventofcode - Advent of Code Repo for Zach Attakk