An unofficial, read-only Hacker News reader.

2035 came early (opens external site)

1037 points by setheron 4 days ago | fzakaria.com | 382 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. There is no use case and it is only "because of reasons".

    In fact, as another commenter correctly said in a thread to me recently, WebAssembly is not the solution to "sandboxing" for various reasons, [0] [1] [2] especially when you are still dealing with browser engines that are written in C (QuickJS) and C++ (V8, Gecko) which are regularly targeted for memory corruption vulnerabilities with a kernel written in C (Linux) even when it is compiled to WASM.

    They still bring over the very same C style vulnerabilities with them.

    [0] https://soft.vub.ac.be/Publications/2022/vub-tr-soft-22-02.p...

    [1] https://files.usenix.org/s3fs-public/cdn/sec20-lehmann.pdf

    [2] https://bugzilla.mozilla.org/show_bug.cgi?id=2013741

    Replies (2)
    1. Not everything has to be about security. Convenience is also pretty desirable. The ease and speed of trying out programs with trynix.dev has instantly catapulted it to the top of my list of things to show people who're curious about Linux but not ready to muck about installing a bunch of stuff to satisfy that curiosity.
      Replies (1)
      1. > Not everything has to be about security.

        As long as it is in a web browser with the existence of web apps, it absolutely does.

        I don't think anyone other than techies here cares about Linux or any other distro. It is more convenient to end users to use macOS or Windows than to bother with trying or installing Linux at all.

        They do not care whatsoever, and the only thing they care about with computers is that they don't get their passwords, data or internet banking accounts hacked when they use their browser.

    2. What is this FUD? The papers you cited have next to nothing do with sandboxing. They are mainly about guest WASM security (e.g. "how vulnerable is an already vulnerable C program against things like arbitrary memory reads in the guest program"), and have nothing to do with sandbox escape. There are also plenty WASM runtimes that exist outside of browser engines with proper safeguards.