1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not Planned Making sure it's running well under HipHop

Discussion in 'Closed Suggestions' started by mlx, Aug 13, 2010.

  1. mlx

    mlx Well-Known Member

    Kyle likes this.
  2. matthewalan

    matthewalan Active Member

    I'll admit I haven't read more than the first couple of lines myself, but I'm all for making software faster :)
     
  3. Enigma

    Enigma Well-Known Member

    Scott already said he'd test XenForo on HipHop, once it's released.

    Exact quote:
     
  4. Tigratrus

    Tigratrus Well-Known Member

    Heh. It pays to have connections... ;)
     
  5. SneakyDave

    SneakyDave Well-Known Member

    One of the comments from the Facebook Engineering said: "The end result is a binary with all your PHP code and a built in web server."

    I didn't realize it included a web server. I'm more interested in how that works with static files, or if it just handles PHP (compiled or not). It would be nice to be able to replace Apache, and let something like nginx handle the static content, and Hip Hop PHP serve the PHP and/or compiled code.

    I was curious about how it handled PHP evals, and found this:
    
    So it just doesn't/can't compile eval'd statements?
     
  6. Cezz

    Cezz Well-Known Member

    So this should indicate as Kier has said evil() is minimal it is used, that xenForo will not work properly.. :(
     
  7. Enigma

    Enigma Well-Known Member

    Right. HipHop works with a subset of PHP.
     
  8. Erik

    Erik Well-Known Member

    If you think about it, it makes sense... There is simply no way for HipHop to transform eval'd statements into C++ code. It doesn't understand this, for example:
    PHP:
    // get hook code from database
    eval($myhook);
    One other downside is that you would have to recompile every single time an update is released or you make changes to the PHP source code (not really sure how mods/hooks would work with HipHop - it's scary to think about).

    Nevertheless, I would love to see XenForo running under HipHop even though I would probably never use it by myself.
     
  9. Kyle

    Kyle Member

    As a big board, I'd love to see this happen. I've been following HipHop since it was announced, but knew it would never be in the cards as long as I was running vBulletin. It would be cool to see Xenforo (or portions of it) running under HipHop for sure.
     
  10. mlx

    mlx Well-Known Member

    From that other thread:
    :)
     
  11. Salty

    Salty Active Member

    eval() is a massive issue for HipHop.

    Who is this Scott guy and how did he obtain XF?
     
  12. Floris

    Floris Guest

    Scott is an ex-developer for vBulletin under Jelsoft.
    He is a good friend of both Mike and Kier.
     
  13. mlx

    mlx Well-Known Member

    He's one of the HipHop devs as well :)
     
  14. Erik

    Erik Well-Known Member

    Good to know, although I would like to know how eval() is handled. For most board owners this won't be a realistic (or necessary) solution. You would need to recompile every time you change a template or CSS or something. :)
     
  15. ---MAD---

    ---MAD--- Well-Known Member

    Can someone explain in simple terms what HipHop is?
     
  16. Salty

    Salty Active Member

    It's like this
    hiphop1-BRISSON_t_w480.jpg
     
    Vodkaholic likes this.
  17. ---MAD---

    ---MAD--- Well-Known Member

    I know its a joke but I don't appreciate it.. too many threads are being spammed with annoying, immature posts like yours, no offense but it's starting to get to me.
     
  18. Salty

    Salty Active Member

  19. ---MAD---

    ---MAD--- Well-Known Member

    I'm sorry, its just I was after a serious answer :).
     
    Salty likes this.
  20. Onimua

    Onimua Well-Known Member

    ---MAD--- likes this.

Share This Page