News for hackers. Stuff that matters.
Re:Announcing WCGI: WebAsseAmbly and CGI by moonchrome on Thursday April 06, 2023 @01:01PM (#35471228)
Java still doesn't have value types AFAIK. Meanwhile WASM started out as no-gc continuous memory VM.

Comparing WASM and JVM is like comparing a truck and a bus because they are relatively the same size, move at the same speed etc.

I mean sure you can load people in trucks and cargo into buses - and both have been done with JVM (eg. people built C compilers) and WASM (people are building GCed runtimes on top of it despite lack of GC support from platform).

Almost 30 years later nobody sane is running C on JVM and there were many attempts posted here over the years.

Re:Announcing WCGI: WebAsseAmbly and CGI by pjmlp on Thursday April 06, 2023 @01:27PM (#35471584)
Nobody sane should be running C, regardless of the target platform.
Re:Announcing WCGI: WebAsseAmbly and CGI by throwaway12245 on Thursday April 06, 2023 @01:30PM (#35471624)
You'd have to delete your operating system and most of your libraries.
Re:Announcing WCGI: WebAsseAmbly and CGI by pjmlp on Thursday April 06, 2023 @01:47PM (#35471837)
Thankfully not all OS are written in C, and many are making efforts to fix that mistake created by UNIX release into the industry.

Similarly, many managed compiled languages don't depend on C.

Finally, cybersecurity legislation will speed those efforts.

Re:Announcing WCGI: WebAsseAmbly and CGI by kllrnohj on Thursday April 06, 2023 @06:26PM (#35475368)
Outside of the kernel it's a lot more C++ than C