Earlier quoted context omitted.
Which mainstream language would you have chosen in 2003 that you think would have had similar success?
Any. Really, any. Facebook is throwing a lot of engineering effort into fixing things that now matter to them, but didn't when they started (and were small). They could have picked Perl CGI's and it'd still have happened (perhaps Perl 6 would be a success these days). I don't think PHP has played any role in bringing FB to the size it is today (programming language does not translate to number of users signing up). S…
Hack: a new programming language for HHVM
141–150 of 422 posts
Re: Hack: a new programming language for HHVM
#142Earlier quoted context omitted.
Is there any interest in adding named parameters to Hack?
That's coming in PHP 5.7 anyhow. It's been implemented and works, but Nikita Popov hasn't had the time to change the function definitions of the standard library to work with it, hence PHP 5.6 won't have it, sadly.
Re: Hack: a new programming language for HHVM
#143Search: "Hack Anonymous Function" Search: "Hack Background Process"
Re: Hack: a new programming language for HHVM
#144I'm the manager of the team that developed Hack, and I'm sitting here with some of the language designers. Happy to answer your questions.
Is this just syntax sugar or there are performance improvements upon php?
I program in php every day and miss static typing (as opt-in mechanism). Sadly i'm on windows and use oracle, so hhvm is not applicable.
Re: Hack: a new programming language for HHVM
#145Earlier quoted context omitted.
a) You don't have a development server/VM? b) Not everyone has programmers. That was his point
Oh, for b) i know a bonmot. Sorry for the image. http://fettemama.org:6502/ed2499a7aa73df6dcefe95fbb649ece3
I was to defend myself in small claims court
I want to learn some first aid
I want to build a shed behind my house
Re: Hack: a new programming language for HHVM
#146Earlier quoted context omitted.
>The fast development cycle -- edit php script, refresh -- is something amazing that you don't get in a lot of statically typed languages You seriously think that? That's how we do haskell web development. Both yesod and snap do this out of the box. That's how every java developer I know works.
I have a little bit by way of Haskell chops, and I'll venture that the performance of the Hack typechecker is a very big deal, and it is in a different breed than the turnaround time you get from snap or yesod (or Java).
Re: Hack: a new programming language for HHVM
#147Re: Hack: a new programming language for HHVM
#148Man, it's going to be really hard to search the Internet to troubleshoot this. Search: "Hack Anonymous Function" Search: "Hack Background Process"