micropython-ulab
TinyGo
micropython-ulab | TinyGo | |
---|---|---|
6 | 95 | |
388 | 14,479 | |
- | 1.0% | |
6.6 | 9.3 | |
about 1 month ago | 7 days ago | |
C | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
micropython-ulab
-
Installing ulab with PyCharm
Hi guys, So I'm trying to program a Mikrobus rp2040 with PyCharm and I can run some basic code with it. What I need help with is installing the ulab for the numpy-like array operations that I need for my project. I tried all the instructions there, I'm not very experienced with manual installation of these libraries.
-
When wouldn’t you use Python?
https://freertos.org/ for example is a popular OS, that has realtime capabilities and fits in 9KB of RAM. https://micropython.org is basically a µC OS too, understands Python 3 Syntax and works with 16KB of RAM already. It might appear more convoluted at first, but you can get it to be real-time too by following the same principles as in any RTOS (react to stuff by means of ISR, allocate memory only initially and then work in place to prevent fragmentation, switch of GC and so on). Image processing is just linear algebra for the most part, and there's even an Numpy equivalent available to crunch that. There are also two decorators in Micropython that allow for compilation for most of the Python syntax, which would work for stuff that can not be written down in a vectorized way.
- MicroPython – Python for Microcontrollers
-
Micropython with Ulab for esp32
Has anyone of you managed to install a micropython version with ulab for your esp32? I tried the procedure on the ulab github but without any succes. When I try it stops at sth like: "no submodule. stop."
-
Guide to performing FFT on ESP32 to get both frequency and amplitude
or if you want simpler, faster to implement and faster to compute, try micropython-ulab
-
High-level language for embedded systems that is faster than Micropython?
Or maybe youre doing data science?
TinyGo
- Gokrazy – Go Appliances
-
A "Tiny" APISIX Plugin
Reading through the documentation, you will understand why this plugin is called "tiny," i.e., the SDK uses the TinyGo compiler instead of the official Go compiler. You can read more about why this is the case on the SDK\'s overview page, but the TLDR version is that the Go compiler can only produce Wasm binaries that run in the browser.
-
What's Zig got that C, Rust and Go don't have? [video]
Not only you can fit Go into a kernel, there is at least two products that do so.
TamaGo, used to write the firmware used in USB armory.
https://www.withsecure.com/en/solutions/innovative-security-...
TinyGo, which even has official Arduino and ARM support, and is sponsored by Google
https://tinygo.org/
Ah but that isn't proper Go! Well neither is the C code that is allowed to be used in typical kernel code, almost nothing from ISO C standard library is available, and usually plenty of compiler specific language extensions are used instead.
-
Show HN: A new stdlib for Golang focusing on platform native support
Reminds me of https://tinygo.org/ - a project that brings Golang to embedded devices, browser (wasm) contexts. Do you converge or diverge from that project?
- TinyGo release 0.29 is out
-
Pico with C
You should also consider TinyGo. It can compile Go for the Pico, and is starting to get good device support.
-
Rust 1.71.0
Thankfully some folks completly ignored whatever the rest of the world thinks system programming is all about and created:
- TinyGo (https://tinygo.org/), which is acknowledged by people in the industry[0][1]
- TamaGo unikernel on USB Armory secure key (https://www.withsecure.com/de/solutions/innovative-security-...)
And then there is the question if writing compilers, assemblers, linkers is systems programming or not.
[0]-https://www.cnx-software.com/2019/08/28/tinygo-go-compiler-f...
[1]-https://twitter.com/ArmSoftwareDev/status/131680481331796787...
-
When would you (not) recommend Go over Rust?
Have you seen TinyGo? In the case of embedded system I would probably still chose C over Rust if the system didn't support dynamic memory allocation, and most embedded systems do not.
-
“C is quirky, flawed, and an enormous success” – Dennis Ritchie
>I really hate how for microcontrollers the only two choices are either C++ or Micropython
There's TinyGo as well. https://tinygo.org/
-
WebAssembly System Interface (WASI) with sockets for Go
Gist link fixed, thanks. Compared to TinyGo, Go with GOOS=wasip1 will probably generate larger artifacts (at least, for now). This is because it bundles the entire Go runtime. The benefit is that it fully supports goroutine scheduling and non-blocking I/O. TinyGo (I believe) still uses a custom asyncify pass and does not support non-blocking I/O nor basic WASI networking (e.g. https://github.com/tinygo-org/tinygo/pull/2748 never landed, but GOOS=wasip1 supports it).
What are some alternatives?
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
kmk_firmware - Clackety Keyboards Powered by Python
go - The Go programming language
MaixPy - Easily create AI projects with Python on edge device
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
gcc_termux - Gcc for termux with fortran scipy etc... Use apt for newest updates instructions in README.txt
awesome-micropython - A curated list of awesome MicroPython libraries, frameworks, software and resources.
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
picozero - A beginner-friendly library for using common electronics components with the Raspberry Pi Pico.
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.