Is cantonese prefer to use stack?

> ulimit -a

stack size              (kbytes, -s) 8192

系统设置了栈大小为8M。如果程序里开了超过8M的数组,编译可以通过,但是在运行时却会core。这个问题困扰了我一个上午。

至于为什么我喜欢用数组(栈内存)而不用new的buffer呢?剑剑解释说:“因为广东人喜欢用栈。” 经典的回答。

Advertisements

About chill

不再执意欢喜反倒让人欢喜
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s