News for hackers. Stuff that matters.
Re:Thinking in Types by spitfire on Friday May 02, 2014 @01:36PM (#7687011)
Well, JS is used because it's the only way to run code on a client system.

If there were a byte-code available you can bet people would be using other languages. ASM.js exists, and many languages compile to js at the moment.

As for PHP, lots of people still eat at McDonalds. I can't explain why.

Re:Thinking in Types by ephemeralgomi on Friday May 02, 2014 @02:26PM (#7687280)
Partially because McDonalds/PHP lets you eat/deploy by cramming/uploading the food/file directly into your mouth/server. No utensils/tools required.
Re:Thinking in Types by virtualwhys on Friday May 02, 2014 @03:46PM (#7687709)
> No utensils/tools required

I think a more apt analogy would be: no furnace to forge your own cooking utensils (hour long build from source to get latest and greatest [7.8] installed) which you use to prepare the meals (wait for your application to compile) that you then stuff into your mouth (deploy to server).

Re:Thinking in Types by dllthomas on Saturday May 03, 2014 @11:22AM (#7691086)
The 7.6 packaged in Debian is perfectly usable and compatible with everything I've wanted to grab from Hackage. There's a few new bells and whistles in 7.8 (like TypedHoles and -fdefer-type-errors) that I'm looking forward to, but their lack doesn't mean I can't build existing code and when developing new code it just means I lack some new tools. Since these tools are lacking everywhere else, their temporary lack is obviously not keeping people away from Haskell.

Basically, you can get yourself access to a furnace to forge your own melon baller, but you've already got a spoon, and someone else will be shipping you a melon baller next month.

Re:Thinking in Types by cgh on Friday May 02, 2014 @06:11PM (#7688480)
> Well, JS is used because it's the only way to run code on a client system.

Not sure what you mean by this - I guess you're assuming the "client system" is always a web browser?

Currently, I'm writing code for a piece of middleware that is a client to a server that models networking equipment. This client then pushes hundreds of thousands of responses into a fast message queue. None of this is written in JS.