News for hackers. Stuff that matters.

DeGuerre

Re:Hack: a new programming language for HHVM on Thursday March 20, 2014 @09:55PM (#7440197)
Yes, someone has indeed tried this. It's called "Hack".
Re:Hack: a new programming language for HHVM on Thursday March 20, 2014 @09:41PM (#7440143)
I assume that "local inference" means, in practice, "no let-polymorphism". That's what causes most of the headaches with extensions to Hindley-Milner (including the undecidability of subtyping).
Re:Hack: a new programming language for HHVM on Thursday March 20, 2014 @09:32PM (#7440104)
PHP's syntax is not what's preventing you from writing large maintainable systems in it. Many of the more successful languages throughout history became successful BECAUSE they used a syntax that's superficially similar to something familiar.

That's not to say that syntax doesn't matter, but semantics and pragmatics tends to matter more, despite Wadler's Law of Language Design stating that most people don't understand this.

Re:Hack: a new programming language for HHVM on Thursday March 20, 2014 @09:21PM (#7440065)
What you say is technically correct, which is the best kind of correct. However, fewer than 1% of Windows programmers ever talk to NTOSKRNL, and probably an order of magnitude fewer do it regularly.

Most of the time, you're talking to Win32/64 or high-level services based on DCOM or .NET, where the "well-conceived" and "theoretically well-founded" stuff doesn't turn up. You can go your whole career without knowing that there's a well-designed kernel under all that cruft.

I'd guess that less than half of Windows developers could say what the object manager does.