Thread: What do we think about Proxygen?

  1. #16
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by MutantJohn View Post
    I think there's a very strong reason why Facebook decided to target Linux specifically, even if it does fail to build on my machine.
    Because they did it for their own personal use, and then published the source code under a BSD license for people to do with it whatever they want. Including porting it to other platforms.

    But you know what, when you face a thinking wall like Elysia, you can either ram through it like in the good old days, or just ignore it and go around. The first will only get me banned in this politically correct internet. So the second option is better. It comes at some cost, because I do have to swallow the anger that comes from realizing I never learn and once again engaged with perhaps one of the most ignorant and stupid person I have ever met in 25 years of online presence. But I am not ready *yet* to be banned from cboard.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    What you think is your prerogative. I don't insult you, and I expect the same out of you.
    Last edited by Elysia; 07-18-2016 at 01:04 PM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Ok, so we've heard from people who don't like it, because they don't see a reason for it to exist, and we've also heard from people who disagree with that opinion.

    What about the library itself. Has anyone actually tried it? Gotten it to work? Likes? Dislikes?
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  4. #19
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    I haven't been able to build it yet but I'm trying again right now. I'm now using matching versions of g++ and gcc.

  5. #20
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Oh Jesus, that failed even worse than last time! This time, during the compilation process, one of the cpp files being generated into an object file basically starting eating infinite memory. Imagine if you ran this code:
    Code:
    while (true) {
      char* c = new char;
    }
    Talk about kernel abuse...

    Basically, if you ever see this: virtual memory exhausted: Cannot allocate memory
    it means that something somewhere went horribly, horribly wrong.

  6. #21
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Are you following the instructions? Did you update folly? Have you tried rebasing the deps?

    Although I wouldn't want to touch anything in C++ coming from a company like Facebook, I seriously doubt they would release something this broken. Either your dependencies are wrong, or your environment has some conflicting properties, like the wrong variable value, or something. Also, since they only tested this on Ubuntu 14.04 (and very likely on the server edition), check if by any chance you are using anything else other than a Debian distribution and those scripts are relying on non-standard shell features or a distro variant specific environment. You may be able to incrementally fix any shell or environment compatibility... I wouldn't care about the building tools versions, though. Unless they are lower than the recommended by the project.
    Last edited by Mario F.; 07-19-2016 at 05:57 AM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #22
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Am I following instructions? AM I FOLLOWING INSTRUCTIONS? YES, MARIO, I AM!

    Lol jk.

    I was finally able to get it to build once I set g++ to g++-5.4.

    I'm gonna chalk that up to #JustC++Things

  8. #23
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by MutantJohn View Post
    I was finally able to get it to build once I set g++ to g++-5.4.
    Maybe there's something broken about earlier versions of GCC, and building Proxygen exposes it.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  9. #24
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by MutantJohn View Post
    I'm gonna chalk that up to #JustC++Things
    Reminds me that time I forgot where I put my shirt and was already running late. It was driving me nuts, since things don't just disappear. I had left it after all inside the fridge. True story.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  10. #25
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Quote Originally Posted by Elkvis View Post
    Maybe there's something broken about earlier versions of GCC, and building Proxygen exposes it.
    I was thinking that too. 4.8.5 couldn't link properly and 6.1 just outright exhausted the virtual memory system. That's still pretty cool though. Maybe it's an honest to goodness real-life compiler bug.

    Quote Originally Posted by Mario F. View Post
    Reminds me that time I forgot where I put my shirt and was already running late. It was driving me nuts, since things don't just disappear. I had left it after all inside the fridge. True story.
    Ha!

    I'm pretty excited though. I didn't try out Proxygen last night but I probably will tonight. It's interesting, I need g++-4.8 for CUDA, g++5.4 for Proxygen and I want g++-6.1 for everything else. I need a new way of managing the g++ symlink because this is getting ridiculous!

  11. #26
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by MutantJohn View Post
    I need a new way of managing the g++ symlink because this is getting ridiculous!
    If you're running ubuntu, this link might help.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Tags for this Thread