Xcc700
github.comKey Features
Tech Stack
Key Features
Tech Stack
As a fun of Rust, one thing that saddens me is knowing these things would be difficult to achieve with a Rust compiler, given the language seems to be vastly more complex.
Unless someone created a subset of Rust without (some?) safety checks, I guess.
There is a lively movement for coding in Rust for esp32, that works, just not on the device I think.
What I found troublesome were not really the caching of array count, but when and where should the side effect be represented in AST, for example this one: https://godbolt.org/z/rcT1d8WWe the puts() call is a side effect for automatic variable but completely ignored for static variable.
So in conclusion, I have been contributing by reducing my C, and C++ footprint on the planet.
It is like gardening, slowly taking away all the paths bad weeds are still able to spoil the garden.
We might not remove all of them, however if they are only able to thrive on a little gardner corner surrouned by sand is already an improvement.
I recall for the audience, that enable secure programming, and enable functional safety are two of such goals.
Nonetheless, other than some UB improvements has been business as usual.
If it is insulting to point out what isn't being achieved, then so be it.
As for volunteers, my point regarding WG14 and WG21 is that compiler vendors are the ones that should be part of ISO, and if they don't see any value in that, maybe it is about time to ramp down the whole effort, and finally replace them.
https://github.com/jcmvbkbc/esp32-linux-build
ESP32-S3 N16R8 is <$5 on aliexpress:
- Dual-core Xtensa 240 MHz
- 16 MB NOR flash (eXecute-in-place supported)
- 8 MB (PS)RAM
- Wi-Fi 2.4 GHz 802.11n, Bluetooth
As well as Zephyr, NuttX RTOSes, MicroPython.Losing this when you load ELFs is kind of a bummer. Probably a dumb question but I wonder if it'd be possible to only swap in the parts of the binary that are needed at any given time.
cramfs parses ELF files and marks XIP only a .text segment of it, not the whole file.
https://github.com/npitre/cramfs-tools/commit/2325ed2de8fd17...
Losing this when you load ELFs is kind of a bummer. Probably a dumb question but I wonder if it'd be possible to only swap in the parts of the binary that are needed at any given time.
Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.