Earlier quoted context omitted.
On Linux, we use the inotify subsystem to be informed every time you save a source file or switch branches. The hh_server process can then update its data structures immediately, without being explicitly asked.
I don't really get why this is the second paragraph on the page of a language though. It's like touting the jar command in an overview of Java.
Hack: a new programming language for HHVM
51–60 of 422 posts
Re: Hack: a new programming language for HHVM
#52Is this a layer that is superimposed on PHP that falls back to the default interpreter for unimplemented features or is this a fresh implementation. I suppose my question is, how reliable is this. Are the core PHP bugs going to manifest here? If a bug gets fixed on core PHP, will hack be lagging behind?
Re: Hack: a new programming language for HHVM
#53Earlier quoted context omitted.
On Linux, we use the inotify subsystem to be informed every time you save a source file or switch branches. The hh_server process can then update its data structures immediately, without being explicitly asked.
I don't really get why this is the second paragraph on the page of a language though. It's like touting the jar command in an overview of Java.
Re: Hack: a new programming language for HHVM
#54Earlier quoted context omitted.
On Linux, we use the inotify subsystem to be informed every time you save a source file or switch branches. The hh_server process can then update its data structures immediately, without being explicitly asked.
I don't really get why this is the second paragraph on the page of a language though. It's like touting the jar command in an overview of Java.
Re: Hack: a new programming language for HHVM
#55I'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.
Are you planning a Windows build ?
do you think Hack could replace all PHP stacks (PHP cloud stacks , not talking about shared host wordpress toys) in a 5 years time frame ?
What do you think about the current state of PHP?
what would you tell PHP core devs about that?
Does an async frameworks like React runs with Hack?
What can you answer to people that are concerned that it is Facebook who is developping this?
Re: Hack: a new programming language for HHVM
#56Earlier quoted context omitted.
On Linux, we use the inotify subsystem to be informed every time you save a source file or switch branches. The hh_server process can then update its data structures immediately, without being explicitly asked.
I don't really get why this is the second paragraph on the page of a language though. It's like touting the jar command in an overview of Java.
One appeal of dynamic languages is you don't have a long compile time[1].
So I imagine they emphasize this to address the worry that this will get ruined and there will be a horrible workflow.
[1] However Turbo Pascal was a one-pass typed compiler in the early 80s that was blazingly fast with 1 MHz CPUs and 64 KB RAM. :)
Re: Hack: a new programming language for HHVM
#57Very excited to play with this. While I know many poo-poo PHP, it still is a pretty decent gateway language. If these type of innovations introduce hobby programmers into more professional practices and concepts, I'm all for it.
Well, it's been poo-pooed for obvious reasons (like Javascript) but those are the languages that are getting all the love in the end, so maybe I should stop programming in a language that I find beautiful (Ruby) and go with the flow. Yes, I'm slightly bitter :/
Re: Hack: a new programming language for HHVM
#58I'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.
https://raw.github.com/strangeloop/StrangeLoop2013/master/sl...
The idea of bolting a static checker onto a dynamic language and using an unresolved top type to make it work is cool. The presentation refers to your system as SoA gradual typing. Are there any papers or presentations which explain that approach and how it works in more detail? Particularly in how it might differ from gradual typing?
Re: Hack: a new programming language for HHVM
#59I am baffled as to why you'd build your castle atop a crumbling foundation. I have wondered why FB didn't use a proper language with proper typing to begin with. I mean, I "understand" logistically: they already had a giant codebase in PHP, migrating a codebase is expensive, and it's difficult to hire and train 1000s of hackers in e.g., OCaml. (They do have some OCaml people, but they are outliers. OCaml was my favor…