HNHacker News
TopNewBestAskShowJobs

ricattierger

3 karma · joined May 30, 2019

submissionscomments
ricattierger··on The problem with C
Why do you say that? Certain things in a language may increase binary size or something else but at the end of the day these languages all go through most likely the same compiler and should produce a roughly equivalent binary.
ricattierger··on Ask HN: What interesting problems are you working on?
Same. Focusing on wellness this year and it is great. Have read so much more after forcing less screen time
ricattierger··on Why Const Doesn't Make C Code Faster
I think that is a good point at the end. Pure may be defined in regards to the language. So allocating memory in C may make a function unpure but something other languages may still be pure.
ricattierger··on Why Const Doesn't Make C Code Faster
So it seems that you are sort of talking about a function that is memoizable but not pure. Pure has no mutation of any global state. So hypothetically touching the heap means not pure - if somehow others can see it.