Announcement

Collapse
No announcement yet.

All nighters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    no idea. malloc, sounds like some sort of scandinavian fish dish
    Monkey!!!

    Comment


    • #17
      If it ends up summoning Nyarlathotep I'm going to be extremely disappointed with certain posters.
      The genesis of the "evil Finn" concept- Evil, evil Finland

      Comment


      • #18
        Apolyton is the name
        Disappointement is the game
        Monkey!!!

        Comment


        • #19
          Originally posted by Asher View Post
          I'm the idiot, yet you're the one who apparently did not comprehend my statement. malloc (and more importantly, free) implementations were also in my school's curriculum. I'm sure you learned a ton implementing malloc. I didn't. I didn't need to learn it. I already knew it on my own.

          I cracked open libc's malloc/free before I even started university to understand how they worked.
          Sure, learning about malloc is useless to people who already know about malloc, but don't you think that's a bit tautological?

          In any case the assignment here was specifically to do it using the buddy algorithm, which I don't think is the way most actual malloc() implementations work.

          Originally posted by Bugs ****ing Bunny View Post
          What the hell are these people talking about?
          malloc() is the C library function for allocating and deallocating system memory to a program.

          Comment


          • #20
            even with that explination I don't know what you are talking about

            I assume it's some programming thing for computers, but as far as I am concerned this is all due to magic
            Monkey!!!

            Comment


            • #21
              Originally posted by regexcellent View Post

              malloc() is the C library function for allocating and deallocating system memory to a program.

              Fah. Come back when you're dealing with the A library and maybe we'll be impressed.
              The genesis of the "evil Finn" concept- Evil, evil Finland

              Comment


              • #22
                So it all has to do with libraries, which computers are making obsolete... get with the times!
                There's nothing wrong with the dream, my friend, the problem lies with the dreamer.

                Comment


                • #23
                  Good night! [/kidicious-mode]
                  <p style="font-size:1024px">HTML is disabled in signatures </p>

                  Comment


                  • #24
                    Perhaps an analogy would help. Let's say that you want to eat fifty potatoes- this means that you would call the "malloc" function asking for fifty potatoes, and the function gives you fifty potatoes (assuming that it's got fifty potatoes to give to you, otherwise it returns a null potato). Then when you're done eating the potatoes, you would regurgitate them and call the "free" function so that the "malloc" function can give your regurgitated potatoes to somebody else. If you never return the regurgitated potatoes, then this is called a "memory leak" (or a "potato leak" in this case) and eventually malloc may run out of potatoes; if you accidentally return the regurgitated potatoes twice, then this causes a paradox and the universe explodes. Another problem is if you return the regurgitated potatoes but then try to eat them again anyway, which can cause problems because this means that you and somebody else are eating the same potatoes at the same time.
                    Last edited by loinburger; May 20, 2013, 14:51.
                    <p style="font-size:1024px">HTML is disabled in signatures </p>

                    Comment


                    • #25
                      Potatoe? Or potato?
                      DISCLAIMER: the author of the above written texts does not warrant or assume any legal liability or responsibility for any offence and insult; disrespect, arrogance and related forms of demeaning behaviour; discrimination based on race, gender, age, income class, body mass, living area, political voting-record, football fan-ship and musical preference; insensitivity towards material, emotional or spiritual distress; and attempted emotional or financial black-mailing, skirt-chasing or death-threats perceived by the reader of the said written texts.

                      Comment


                      • #26
                        Puh-tah-toe
                        <p style="font-size:1024px">HTML is disabled in signatures </p>

                        Comment


                        • #27
                          Next step is of course to implement your own version of valgrind so you can find the leaks in your malloc implementation
                          With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion.

                          Steven Weinberg

                          Comment


                          • #28
                            don't you think that's a bit tautological?
                            You shouldn't use big words like that. This is asher, remember? He's probably been using them since he was 2.
                            Scouse Git (2) La Fayette Adam Smith Solomwi and Loinburger will not be forgotten.
                            "Remember the night we broke the windows in this old house? This is what I wished for..."
                            2015 APOLYTON FANTASY FOOTBALL CHAMPION!

                            Comment


                            • #29
                              Originally posted by regexcellent View Post
                              Sure, learning about malloc is useless to people who already know about malloc, but don't you think that's a bit tautological?
                              You would think so, but they make you do it anyway.
                              "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                              Ben Kenobi: "That means I'm doing something right. "

                              Comment


                              • #30
                                Originally posted by Ben Kenobi View Post
                                You shouldn't use big words like that. This is asher, remember? He's probably been using them since he was 2.
                                Tautology isn't a big word. It's a concept taught in high school. An extremely simple concept. As it is a logical concept, I have no doubt you cannot comprehend its meaning.
                                "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                                Ben Kenobi: "That means I'm doing something right. "

                                Comment

                                Working...
                                X