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

I'm surprised you didn't pile on by making a printf which switches to the main stack, does the actual printf, and switches back.


printf was just an obvious example. Any function had this problem. You run, things work, and then under some condition the function you called called something else and crash. Or you try to add some functionality to a function in the system and suddenly the tasks crash because your edit used more stack.

The point isn't to dis this method. It's just to say it was frustrating with tiny stacks.


I see, that does sound tough.




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

Search: