News for hackers. Stuff that matters.
Re:Announcing WCGI: WebAsseAmbly and CGI by throwaway50609 on Thursday April 06, 2023 @01:41PM (#35471758)
Funny that you forgot about all the security issues of JVM applets that Wasm finally solved
Re:Announcing WCGI: WebAsseAmbly and CGI by baq on Thursday April 06, 2023 @01:45PM (#35471811)
And now you can run a wasm jvm: https://leaningtech.com/cheerpj/ (there are others, too)
Re:Announcing WCGI: WebAsseAmbly and CGI by eyberg on Thursday April 06, 2023 @01:48PM (#35471857)
Like this one?

  #include <stdio.h>
  #include <stdlib.h>

  int main() {
    char *s = "world";

    s[0] = 'o';
    s[1] = 'w';
    s[2] = 'n';
    s[3] = 'e';
    s[4] = 'd';

    printf("Hello, %s\n", s);
  }
Re:Announcing WCGI: WebAsseAmbly and CGI by throwaway50609 on Thursday April 06, 2023 @02:18PM (#35472254)
Just compiled and ran it on my system within Wasm, my computer is still fine. Your point?

The point of Wasm is - programs can and will malfunction (and some will be malicious), so we have to protect the environment that runs it.

Re:Announcing WCGI: WebAsseAmbly and CGI by inconceivable on Thursday April 06, 2023 @04:32PM (#35473993)
try running it in your operating system. it points to memory in the stack.