2 ms·
Which functional language prevents you from passing buffers by reference? Edit: I see there are quite a few. Please tell me about one :)
by anonymoushn 12y ago
Which functional language prevents you from passing buffers by reference?
Edit: I see there are quite a few. Please tell me about one :)
- kristopolous 12y agoAlright ... I didn't mean this to be confusing ... here I'll remove that --- I was referring the whole class of languages which are more driven by purist theory than by practical need. There's quite a few that only support pass-by-value intentionally
- Jweb_Guru 12y agoC only supports pass-by-value (unless I missed something recent) and it's generally not considered a pure functional language.
- anonymoushn 12y agoC 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.
- kristopolous 12y agosorry ... it's 340 am ... i'm screwing up my english. alright ... i'm going to stop replying.
- deleted 12y ago[deleted]