News for hackers. Stuff that matters.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (... by MobiusHorizons on Friday December 26, 2025 @02:54PM (#46395538)
Yeah, very cool. I was thinking about possibly porting it to risc-v and using it on my fpga based core. I was trying to build a monitor style shell, but C like environment would be very cool.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (... by isitcontent on Friday December 26, 2025 @03:05PM (#46395666)
Porting to different CPU/bytecodes should be doable. Just keep in mind that in ESP-IDF we also get the dynamic linker and the libc for free (and any other C functions exposed in the firmware). On the other platforms, that may be some extra work for the compiler.
Re:Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (... by MobiusHorizons on Friday December 26, 2025 @09:32PM (#46398539)
Yea I was understanding that hurdle, but thanks for the reminder.