Hacker News new | past | comments | ask | show | jobs | submit login

Web code is clearly unsolved:

1. The elephant in the room, Apple, is highly non compliant with web standards (iOS Safari lacks js web workers, webgl 2, WebRTC data channel, and many many others)

2. The roadmap of webassembly is merely the start of glaring unsolved problems

3. GPU compute will play an increasingly important role in the future, given the advent of AI, complex cryptography, video, image,... The web and browser have outdated and insufficient support for the same

4. Access to sensors and peripherals is abysmal. WebUsb is a step in the right direction, but much needs to happen there




> iOS Safari lacks js web workers, webgl 2, WebRTC data channel, and many many others

Are you referring to service workers? I've been using web workers on iOS for years.


Mozilla [1] lists webworker support on iOS to be basic, clearly lagging in compliance.

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...


> clearly lagging in compliance

What is missing is shared workers support (and producing output from console.log in web workers). Of the two, shared workers would be a particularly useful feature, as it would in theory enable different browser tabs to utilize a shared, potentially resource hungry script, as per the Mozilla description at https://developer.mozilla.org/en-US/docs/Web/API/SharedWorke...

The devs at Apple claims that this use case is not relevant and/or better served by Service Workers (which is even less supported). Not sure I understand their reasoning. https://bugs.webkit.org/show_bug.cgi?id=116359


I started to find the compliance tables on MDN outdated. I am not sure how they are being updated but my guess is that it is manual and needs to be revisited.


And iOS + mac safari have service workers now


>4. Access to sensors and peripherals is abysmal. WebUsb is a step in the right direction, but much needs to happen there

FWIW Chrome 67 has just shipped with initial support for the Generic Sensor API spec

https://developers.google.com/web/updates/2018/05/nic67#gene...

https://www.w3.org/TR/generic-sensor/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: