[Haskell-cafe] Should webassembly be a target for GHC?

Kosyrev Serge _deepfire at feelingofgreen.ru
Sat Apr 23 12:17:00 UTC 2016

Joachim Durchholz <jo at durchholz.org> writes:
>> IMO, this particular thing is not a serious problem, and the web pages can
>> easily handle two orders of magnitude larger web pages, 10MB javascript
>> without problems (example:  Google+).
> Well, that's far too much. You have people on UMTS, you have people in countries
> with low wired network bandwidth, and these are all locked out if every single
> page needs a download of 10 MB.
> BTW the average web page size is about the same as the Doom install image:
> https://mobiforge.com/research-analysis/the-web-is-doom
> That's just ridiculous.

This almost sounds like an attempt to assign morality to program size.

It doesn't seem evident that there is any notion of morality in how we,
collectively, as humanity, seem to reach for tools of expression --
indeed, it trumps morality.

Personal preferences aside, every time that someone finds out a way to
be perceivable more expressive, you can count on that an X% increase in size
will be gladly, indeed gleefully, accepted.

This is outside of our control.

All we can do is offer a tool, among many others.

> The prevalence of reactions like yours is what has been making web slowness part
> of the problem. 10 years ago, I could open dozens of web pages in my browser, and
> things would be snappy; today, with a machine that's ten times as powerful, the
> browser gets bogged down at a mere dozen webpages open in tabs.
> This isn't going to become better, Webassembly or not.


с уважениeм / respectfully,
Косырев Сергей

More information about the Haskell-Cafe mailing list