call me traditional but if it's got a malloc it needs a free
-
-
Replying to @sigfig
my favorite thing is a GC scripting language that implements native arrays but doesn't implement an array_push()
1 reply 0 retweets 0 likes -
Replying to @chaosprime @sigfig
so the convention for adding to an array becomes vec += ({ item }) which means allocate a 1 element array, add it, then leave it for GC
1 reply 0 retweets 1 like
Replying to @chaosprime @sigfig
i feel like there has to be a middle ground between artisanal malloc/free and teaching people that malloc and free are noops
9:31 AM - 11 Apr 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.