News for hackers. Stuff that matters.
Re:Hack: a new programming language for HHVM by copergi on Thursday March 20, 2014 @01:35PM (#7437177)
>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.

Re:Hack: a new programming language for HHVM by bos on Thursday March 20, 2014 @01:56PM (#7437344)
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 by jfischoff on Thursday March 20, 2014 @04:38PM (#7438555)
what makes it a different breed?

Edit: I misread what you wrote. I thought you were saying there was something fundamentally different about the type checker, but more that reload experience is different then what you get with Yesod.

Re:Hack: a new programming language for HHVM by copergi on Thursday March 20, 2014 @02:10PM (#7437448)
"Type checking is faster than other statically typed languages" is quite different from "other statically typed languages don't offer this workflow", which is what was claimed.
Re:Hack: a new programming language for HHVM by maaaats on Thursday March 20, 2014 @07:09PM (#7439513)
How do you do it in java? Compile (takes time) -> hotswap (takes time), or can't hotswap since changes to signature, will need to restart server (takes lot of time).
Re:Hack: a new programming language for HHVM by copergi on Thursday March 20, 2014 @10:20PM (#7440279)
Re:Hack: a new programming language for HHVM by maaaats on Friday March 21, 2014 @07:26AM (#7441630)
Yeah, that's the one we're using. Still takes a couple of seconds, though. And as I said, big changes can't be reloaded, so the whole server will have to be restarted.
Re:Hack: a new programming language for HHVM by copergi on Friday March 21, 2014 @10:06AM (#7442356)
>Still takes a couple of seconds, though

How big is your code base, and is it all in one huge file or something? Our stuff is reloaded and ready before I've alt+tabbed back and hit refresh.