Manual memory management is for bootlicking fascists.
Name:
Anonymous2016-01-15 22:05
>>5 "The world would be better place without trash, so I pick it up and maybe others will too" Nobody forces you to manage memory but the system will suffer if you don't.
Name:
Anonymous2016-01-15 22:25
It's really easy when compiling to CPS to see when you need to allocate and deallocate something. In fact, it could be compile-time GC.
Name:
Anonymous2016-01-15 22:38
I wrote Hello World! in lambda calculus when I was 12 (it still hasn't halted).
Name:
Anonymous2016-01-16 11:22
>>7 Chicken Scheme and, I'm sure, some other compilers for functional languages do this. No one has seen any real opportunity to make it into compile-time GC. You're saying you're smarter than those compiler writers?
>>7 One word: User input. Static analysis of memory requirements go out the window. Example: Take an input string and make a sorted list of all the vowels. Compile-time GC that!
Name:
Anonymous2016-01-16 12:46
Being paranoid about your girlfriend wouldn't be necessary
>>17 Are you saying that to decide if you will put free in your C program after you have put malloc you need to solve the halting problem? Please do not claim things you have no idea about.
>>24 Thanks for explaining yourself. Everyone else is now enlightened by how clever you are.
Name:
Anonymous2016-01-17 0:37
>>25 why are you arguing with a retard? He either doesn't know this problem is undecidable and will never understand that -- in which case arguing is pointless. Or he has figured that out and is too embrassed to admit he was wring -- in which case arguing is pointless. do something better that let idiots enjoy arguing on here! If we keep responding to them about haskell or the turing machine section of cs 101 the board will be taken over by them and we wont be able to talk about anything else.
A complementary form of automatic memory management
you still need a runtime GC along with this. It just means the runtime GC does less.
Name:
Anonymous2016-01-17 2:15
>>28 also if you're pointing me at this because you're actually interested in compile time GC (and aren't just just some shitter wasting peoples time trying to prove that a thing you said is "right") you should read matt mights thesis - it has a chapter on abstract GC.