kassane
Re:MicroZig: Unified abstraction layer and HAL for Zig on several micr...
on Friday March 01, 2024 @05:29PM (#39567567)
So don't wait. Tarballs already available for testing[1] and an example using esp-idf.[2]
[1]: https://github.com/kassane/zig-espressif-bootstrap/releases
Re:MicroZig: Unified abstraction layer and HAL for Zig on several micr...
on Wednesday February 28, 2024 @07:18PM (#39545195)
Unfortunately, the upstream zig toolchain (LLVM codegen) does not support the Xtensa architecture (opaque CPU features), but it is possible to use riscv32 for esp32 from the C2/C3/C6, H2 and the new P4 release.
I'm currently working on a fork of the zig toolchain with espressif-LLVM to support Xtensa.[1] It is now possible to test with esp-idf instead of microzig for baremetal (Blink) yet.
[1] https://gist.github.com/kassane/7bdb782a1984d0c6581ae7b44e1f...
Re:Zig-style generics are not well-suited for most languages
on Monday October 10, 2022 @09:02AM (#33150820)
There are some projects trying to bring this experience.
https://github.com/ibokuri/concepts
https://github.com/mov-rax/zig-validate
https://github.com/yrashk/zig-ctc