Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Try that on IAR EWARM on a Cortex-M0 target.

It will absolutely fail (first because size_t is only 32b).

What's behind malloc() is what matters.

That being said, I never would have expected that code to ever succeed! Shows how much I take memory allocation for granted on more sophisticated systems. I can't remember the last time I malloc'd more than a few megabytes.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: