News for hackers. Stuff that matters.
Re:The Future of HHVM by smsm42 on Monday September 18, 2017 @10:15PM (#15281287)
I get why they want to get rid of references. If I would be designing PHP from scratch, that's probably the first thing I'd do - most hard to fix bugs in the engine and most security woes of features such as unserialize() stem from references. Unfortunately, TONS of code uses them, and there are some data structure things that would not work without it unless alternative solution is provided. So it could not happen in PHP. But it'd be interesting to see how it works for Hack.
Re:The Future of HHVM by fredemmott on Tuesday September 19, 2017 @12:19PM (#15285981)
we're currently leaning towards out/inout parameters, with copy semantics, not byref (and in most cases, we'll probably be able to optimize away the copy); not certain yet though.
Re:The Future of HHVM by smsm42 on Saturday September 23, 2017 @09:03PM (#15322672)
Would be nice to hear what comes out of it and how it works!