Sungju's Slow Life

Personal journal


  • What happened in my stack?

    If you write a program which requires a big chunk of memory at the time, you will notice the influences of ‘stack size’. I will show you what will happen in this stack limitation with the following simple program. #include <stdio.h> #include <malloc.h> int main() { char *a; unsigned long i, half_gb = 512 *… Continue reading

About Me

A software engineer who loves any technologies that makes life easier. That’s why I love Linux and Mac at the same time.