News for hackers. Stuff that matters.
Re:WASM Is the New CGI by kaba0 on Thursday October 10, 2024 @11:27AM (#41799865)
You can’t just compare across decades of software and hardware development. Even downloading native binaries would have been sluggish, as the download would have been slow with those download speeds.
Re:WASM Is the New CGI by adamc on Thursday October 10, 2024 @12:02PM (#41800244)
But web pages were not so sluggish, hence people chose them over using applets.
Re:WASM Is the New CGI by kaba0 on Thursday October 10, 2024 @03:28PM (#41802541)
Web pages at the time could at most <blink>, its interactivity was extremely limited compared to what we have know. Meanwhile a java applet could include a full-blown IDE/CAD/what have you
Re:WASM Is the New CGI by adamc on Thursday October 10, 2024 @05:31PM (#41803783)
Well, web pages could submit forms, which was the main thing. I remember working on apps where we went with web pages because applets were too slow, regardless of the features we gave up. Images were generated on the back end instead, for example.
Re:WASM Is the New CGI by fastball on Thursday October 10, 2024 @02:54PM (#41802104)
Isn't the cold-start for the JVM still relatively slow, even in [current year]?

EDIT: seems like yes[1], at least where AWS Lambda is concerned.

[1] https://filia-aleks.medium.com/aws-lambda-battle-2021-perfor...

Re:WASM Is the New CGI by nobleach on Thursday October 10, 2024 @03:33PM (#41802613)
I have a couple Quarkus apps that I've run in Lambdas that start in about a second. This is without using GraalVM too! Good enough for what I was doing (taking a list of file names, finding them in an S3 bucket and zipping them into a single payload)