News for hackers. Stuff that matters.

ricattierger

Re:The problem with C on Thursday September 03, 2020 @03:18AM (#24361553)
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.
Re:Ask HN: What interesting problems are you working on? on Wednesday January 29, 2020 @02:22AM (#22178260)
Same. Focusing on wellness this year and it is great. Have read so much more after forcing less screen time
Re:Why Const Doesn't Make C Code Faster on Tuesday August 20, 2019 @10:39AM (#20747498)
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.
Re:Why Const Doesn't Make C Code Faster on Tuesday August 20, 2019 @02:31AM (#20744312)
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.