(comments)
原始链接: https://news.ycombinator.com/item?id=43991091
MicroPython v1.25.0 brings ROMFS, a feature allowing bytecode to be stored and executed directly from flash memory, addressing the previous RAM bottleneck for larger embedded projects. This makes MicroPython a more practical choice for substantial projects on microcontrollers (MCUs) like RP2040 and ESP32. Developers praise MicroPython for enabling rapid development, platform portability, and efficient hardware abstraction, exemplified by quick prototyping of embedded widgets. It's compared to BASIC for microcontrollers but with a modern syntax. One area for future improvements is its `re` module, which currently uses a backtracking regular expression engine which could be made more secure. While MicroPython might not fully replace C/C++/Rust for performance-critical tasks like MP3 decoding, it offers a safer and simpler alternative for many applications and excels in tasks where resource management and rapid iteration are priorities. There's even exploration of using MicroPython on servers to reduce memory footprint.
reply