exception-handling VS standards-positions

Compare exception-handling vs standards-positions and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
exception-handling standards-positions
7 180
145 598
2.8% 1.0%
6.8 7.6
10 days ago 3 months ago
WebAssembly Python
GNU General Public License v3.0 or later Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

exception-handling

Posts with mentions or reviews of exception-handling. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Bring garbage collected programming languages efficiently to WebAssembly
    16 projects | news.ycombinator.com | 3 Nov 2023
    Interesting article, thanks!

    Notes on the issues mentioned there:

    * The need for a manual shadow stack: This is fixed in WasmGC (in the same way it works in JS, as the link mentions).

    * Lack of try-catch: This is fixed by the Wasm exception handling proposal, which has already shipped in browsers, https://github.com/WebAssembly/exception-handling/blob/main/...

    * Null checks: Mostly fixed by WasmGC. The spec defines non-nullable local types, and VMs can use the techniques the article mentions to optimize them using signals (Wizard does, for example).

    * Class initialization: This is a difficult problem, as the article says. J2Wasm and Binaryen are working to optimize it through static analysis at the toolchain level. Here is a recent PR I wrote that makes progress there: https://github.com/WebAssembly/binaryen/pull/6061

    * The vtable overhead issue the article mentions may be a problem. I'm not aware of good measurements on it, through. There are some ideas on post-MVP solutions for method dispatch that might help, but nothing concrete yet.

    * Checks for null and trapping: There has been discussion of variants on the GC instructions that throw instead of trap. Measurements, however, have not shown it to be a big problem atm, so it is low priority.

    The author is right that stack walking, signals, and memory control are important areas that could help here.

    Overall with WasmGC and exceptions we are in a pretty good place for Java as emitted by J2Wasm today: it is usually faster than J2CL which compiles Java to JavaScript. But there is definitely room for improvement.

  • In the latest demo with Dart, WebAssembly and GC in Chrome how was the Exception Handling solved?
    1 project | /r/dartlang | 1 Feb 2023
    It uses https://github.com/WebAssembly/exception-handling/blob/master/proposals/exception-handling/Exceptions.md which is actually supported by all major browsers already.
  • 'The best thing we can do today to JavaScript is to retire it,' says JSON creator Douglas Crockford
    6 projects | /r/javascript | 5 Aug 2022
    Yep, you're right. It's also more than just the DOM, it's web APIs in general, such as fetch, audio, webgl/webgpu, etc. WASM still needs GC, exceptions, and WASI to be able to fully interop with any host without any of the current limitations. This'll take a few years. I'm looking forward to the future in which I will be shipping WASM-only web apps to my users.
  • WebAssembly Everywhere
    4 projects | /r/programming | 25 Jun 2022
    Its a part of the wasm plan to support gc https://github.com/WebAssembly/gc exceptions https://github.com/WebAssembly/exception-handling
  • What's New in Node.js 17
    3 projects | dev.to | 17 Nov 2021
    As of Node.js 17, the v8 JavaScript engine has been updated to v9.5. The changes in this release are primarily aimed at expanding internationalization for dates and calendars as well as for the output of time zones. It also implements the WebAssembly Exception Handling proposal, designed to reduce overhead compared to current JavaScript-based workarounds.
  • WebContainers: Run Node.js natively in the browser
    11 projects | news.ycombinator.com | 20 May 2021
  • Google admits Kubernetes container tech is too complex
    8 projects | news.ycombinator.com | 25 Feb 2021
    Agreed, although at some point in a not very far feature most of those missing features will resolved. So in my mind is just a matter of time. The Wasm Community group is doing an awesome work on that :)

    Here are a few examples of what needs move forward in Wasm:

    * [1] Wasm Exceptions Handling: Right now Wasm is missing a way to handle exceptions natively (C++ programs can only compile to Wasm using the asyncify or longjmp/setjmp tricks via Js try/catch)

    * [2] Wasm GC: Wasm Binary files are quite big (specially in interpreted languages). This is partially caused by the GC being included in the Binary itself. The GC proposal will solve this while also providing faster execution.

    * [3] Wasm 64-bit Memory: currently Wasm can only operate with 32-bit data. In some contexts you may want you operate with more than 4GB of memory (for example, when operating over terabytes of data). The 64-bit memory proposal will solve that.

    [1]: https://github.com/WebAssembly/exception-handling

standards-positions

Posts with mentions or reviews of standards-positions. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • Firefox Webserial Addon
    3 projects | news.ycombinator.com | 3 May 2024
    You can read through the conversations to understand more of the context

    https://github.com/mozilla/standards-positions/issues/100#is...

    https://github.com/mozilla/standards-positions/issues/95#iss...

    https://github.com/mozilla/standards-positions/issues/336

    The main struggle is around giving informed consent that explains the risks. Understandably, browsers don't want to ship a "Set my printer on fire" button.

  • iOS404
    2 projects | news.ycombinator.com | 16 Apr 2024
    You can check why Mozilla and Apple have opted to not support this.

    https://github.com/mozilla/standards-positions/issues/154

    https://github.com/WebKit/standards-positions/issues/28

    Neither Mozilla or Webkit are satisfied that the proposal is safe by default, and contains footguns for the user that can be pretty destructive.

  • Show HN: DualShock calibration in the browser using WebHID
    3 projects | news.ycombinator.com | 9 Apr 2024
    FWIW Mozilla updated their position on Web Serial API to "neutral" and clarified that they might be okay with enabling the API with an add-on.

    https://mozilla.github.io/standards-positions/#webserial

    Allowing serial but not HID would be really strange. With HID you get standard identifiers that let you filter out devices that are too dangerous for the web. With serial you get nothing. Even if you know a device is dangerous, there's no way to protect users from it.

  • Tailwind CSS v4.0.0 Alpha
    7 projects | news.ycombinator.com | 6 Mar 2024
    Hasn't FireFox been dragging their asses on @scope? https://github.com/mozilla/standards-positions/issues/472

    It took years to just convince them of the need for it. And I'm not sure anyone got convinced vs Chrome had already shipped it and Safari has it planned so they caved in.

    Hard to believe FireFox used to be a leader of the modern web.

  • An HTML Switch Control
    4 projects | news.ycombinator.com | 28 Feb 2024
    As mentioned by others, OK idea, but not a fan that this isn't standardized. After a quick search+peruse, these seem to indicate that it's not around the corner either. Happy (/hope) to be corrected.

    https://github.com/whatwg/html/issues/4180

    https://github.com/mozilla/standards-positions/issues/990

  • Platform issues which disadvantage Firefox compared to first-party browsers
    5 projects | news.ycombinator.com | 19 Jan 2024
    Mozilla's position on these specs is nicely outlined publicly and transparently as part of their standards-positions project: https://github.com/mozilla/standards-positions/issues/100

    I'm kinda glad it's not implemented in my browser, to be honest, because the whole thing seems like a security nightmare.

    It's a shame it impacts some hobby usecases, but I don't think this outweighs the reasoning set out on the GitHub issue.

  • What Progressive Web App (PWA) Can Do Today
    5 projects | news.ycombinator.com | 8 Jan 2024
    This should have big warnings on it. Some of these are not web standards; they are features implemented unilaterally by Google in Blink that have been explicitly rejected by both Mozilla and Apple on privacy and security grounds.

    Take Web Bluetooth, for example:

    Mozilla:

    > This model is unsustainable and presents a significant risk to users and their devices.

    — https://mozilla.github.io/standards-positions/#web-bluetooth

    Apple:

    > Here are some examples of features we have decided to not yet implement due to fingerprinting, security, and other concerns, and where we do not yet see a path to resolving those concerns

    — https://webkit.org/tracking-prevention/

    This is Microsoft’s Embrace, Extend, and Extinguish bullshit applied to the web platform by Google. Google keeps implementing these things despite all other major rendering engines rejecting them, convinces people that they are part of the web, resulting in sites like this, then people start asking why Firefox and Safari are “missing functionality”. These are not part of the web platform, they are Google APIs that have been explicitly rejected.

  • Why Are Tech Reporters Sleeping on the Biggest App Store Story?
    6 projects | news.ycombinator.com | 2 Jan 2024
    Is BLE a PWA requirement? I think they explained their position pretty well here, regardless of whether I agree:

    https://github.com/mozilla/standards-positions/issues/95#iss...

  • Reason to Use Firefox Is Sync That Works
    5 projects | news.ycombinator.com | 28 Dec 2023
    I took a glance at Can I Use what the difference between the last public release of Firefox and Chrome is [1] and they don't really have that big of a difference in the eyes of normal use-cases? Some of these aren't implemented purely because of privacy reasons, the proposals aren't finished yet or complexity [2].

    Why would Firefox need to change to Chromium engine? The only websites I notice that don't work with Firefox is because of user-agent targetting or just putting 5-second time-outs in Youtube code on non-chrome webbrowsers [3].

    Can you give some examples of websites not working on Firefox?

    [1] https://caniuse.com/?compare=chrome+120%2Cfirefox+121&compar...

    [2] https://mozilla.github.io/standards-positions/

    [3] https://www.neowin.net/news/youtube-seemingly-intentionally-...

  • Mozilla's Position on CSS Scope
    1 project | news.ycombinator.com | 27 Dec 2023

What are some alternatives?

When comparing exception-handling and standards-positions you can also consider the following projects:

Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.

webcontainer-core - Dev environments. In your web app.

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

WHATWG HTML Standard - HTML Standard

simd - Branch of the spec repo scoped to discussion of SIMD in WebAssembly

wpt - Test suites for Web platform specs — including WHATWG, W3C, and others

schism - A self-hosting Scheme to WebAssembly compiler

firefox-ios - Firefox for iOS

Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications

WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

Fakeflix - Not the usual clone that you can find on the web.