News for hackers. Stuff that matters.
Re:Announcing WCGI: WebAsseAmbly and CGI by 0xbadcafebee on Thursday April 06, 2023 @03:35PM (#35473301)
* * *
Re:Announcing WCGI: WebAsseAmbly and CGI by reginaldo on Thursday April 06, 2023 @04:12PM (#35473713)
The browser "won" on seamless distribution. The browser is all the things you said and worse. It conflates the developer API (which could be as complex as the collective human comprehension will allow) with the execution environment (which must be as simple as possible and understandable to mostly anyone). I have a dream that the browser will turn inside out and start losing APIs that will be reimplemented on WebAssembly. But WebAssembly is moving too slowly e.g. with regards to tail calls and parallelism. So it's probably just a dream from now[1].

[1] https://www.youtube.com/watch?v=zlQEQQSqZ9g -> it's an old dream that others have had before.

Re:Announcing WCGI: WebAsseAmbly and CGI by MR4D on Thursday April 06, 2023 @04:23PM (#35473871)
Unfortunately, the world is scheduled to end (or reboot if you prefer) at 03:14:07 UTC on January 19th, 2038. [0]

So, that means that the remake of an OS that we call a browser is likely to be the pinnacle of computing for our lifetimes.

Hopefully after the Great Reboot of 2038, the next generation will learn from our computing mistakes, but since we've never learned from those that came before us, it's highly unlikely. But at least they will have to start from scratch, so there's a chance!

[0] - https://en.wikipedia.org/wiki/Year_2038_problem

Re:Announcing WCGI: WebAsseAmbly and CGI by mch82 on Thursday April 06, 2023 @04:29PM (#35473954)
> Like a world that never got past the horse and buggy

At lunch one day a colleague explained that the size of the space shuttle could be linked to the width of two horses walking on a Roman road :-)

One of my favorite lunch breaks of all time.

Re:Announcing WCGI: WebAsseAmbly and CGI by qup on Thursday April 06, 2023 @04:37PM (#35474051)
Give us the recap
Re:Announcing WCGI: WebAsseAmbly and CGI by mrec on Thursday April 06, 2023 @05:20PM (#35474640)
http://www.astrodigital.org/space/stshorse.html

I'd be very leery of trusting the specifics too much. E.g. the reference to "Roman war chariots", which are not a thing the Romans ever used.

Snopes entry: https://www.snopes.com/fact-check/railroad-gauge-chariots/

Re:Announcing WCGI: WebAsseAmbly and CGI by qup on Thursday April 06, 2023 @06:02PM (#35475147)
Nice, so dude was actually just reciting an email FWD he studied to sound interesting.

God, I had forgotten about those email FWDs. The old people I know totally abandoned email.

Re:Announcing WCGI: WebAsseAmbly and CGI by KyeRussell on Friday April 07, 2023 @05:20AM (#35479781)
That’s a bit cynical and dickish. Maybe he just read it, found it enjoyable, and remembered it? God.
Re:Announcing WCGI: WebAsseAmbly and CGI by DuckFeathers on Thursday April 06, 2023 @07:30PM (#35475963)
Apple's close ecosystem nonsense and blind worship of vendor-lock-in by the tech community is partly to blame for it.
Re:Announcing WCGI: WebAsseAmbly and CGI by adam_arthur on Thursday April 06, 2023 @08:47PM (#35476640)
Well, that's partly why WASM exists.

It can be run outside a browser, and is much more performant than using the whole browser. The future is very likely going to consolidate around WASM and WebGPU, regardless of what hardware you're targeting. If you want more performant specs, it will be driven through a public and consensus driven way... there are far too many economies of scale to standardization for it not to be.

The days of building an ecosystem around a closed, proprietary language/protocol/spec are over. The browser was just the first to bridge the gap... now we move on to WASM, and maybe 10 years from now something newer

https://wasmer.io/

https://wasi.dev/

Re:Announcing WCGI: WebAsseAmbly and CGI by KyeRussell on Friday April 07, 2023 @05:18AM (#35479770)
Yeah. You’re right. THIS will be the time that open wins. When most peoples primary computing is running an OS developed by one of two companies that have a strong incentive to maintain walled gardens.

Largest /s imaginable.

Your comment is pretty far into LARPing territory.

Re:Announcing WCGI: WebAsseAmbly and CGI by lukevp on Friday April 07, 2023 @10:31AM (#35481941)
Heard of Kubernetes, Docker/OCI, and CNCF? A crapload of computing now is running within Linux (open) in containers (open). Sure, end users use MacOS and Windows as the base OS, but a lot of programs they interact with now are running in a browser or Electron (all open standards-driven things). WASM’s future is as a much more performant and lightweight alternative to containers, to the point where it could be run and used by anyone. containers require a shitload of configuration to be able to run them, but a wasm module can be packaged up in a native assembly that requires zero runtime setup for the end user. Just install and go.
Re:Announcing WCGI: WebAsseAmbly and CGI by 0xbadcafebee on Friday April 07, 2023 @06:12PM (#35487693)
You could say the same thing of Go apps, but they certainly haven't taken over computing. They got a lot of attention from certain corners, but I think everyone acknowledges now that it's just another compiled language. That doesn't solve all your problems, it just solves one. Maybe WASM solves two problems by not needing to be cross-compiled. But there's still a thousand problems left, many of which are addressed by containerization, but not addressed by WASM.

The innovation of "docker containers" as a total solution is more akin to a POSIX standard than the Go language. Containers only became popular because of Docker, not because of containers themselves. Docker is a solution to a dozen different problems. "A container" is really just a chroot in a unique namespace. Again, that's basically just one problem solved. The functional combination of all the features of container orchestration software and interoperability is where the actual value of containers lies. Not in the container, but in the 12 different problems that are now all solved in a universal way by all the different solutions that deal with containers in the same way.

If WASM can evolve an entire ecosystem and standard around all the problems needed to be solved to run software easier, then sure, it could be revolutionary. We'll see if that happens in a way that is easy to use. My bet is it won't happen.

Re:Announcing WCGI: WebAsseAmbly and CGI by adam_arthur on Friday April 07, 2023 @11:38AM (#35482782)
The browser/web is already open. People are writing cross platform apps in browser containers. Open is already the standard.

WASM simply closes the performance gap between “widely accepted open standards” and native.

You seem confused… fewer and fewer people are writing software in OS locked apis/contexts. Back in the day it was much closer to 100%