Hacker News new | ask | show | jobs
by Jweb_Guru 4353 days ago
C only supports pass-by-value (unless I missed something recent) and it's generally not considered a pure functional language.
2 comments

C lets you make pointers to arbitrary things, so even if you somehow had a value containing your 1GB buffer, you could pass a pointer to it instead of copying it around.
sorry ... it's 340 am ... i'm screwing up my english. alright ... i'm going to stop replying.