dwarf-2-sourcemap VS lang-team

Compare dwarf-2-sourcemap vs lang-team and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
dwarf-2-sourcemap lang-team
1 25
4 190
- 2.6%
10.0 7.8
over 1 year ago about 1 month ago
JavaScript JavaScript
MIT License Apache 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.

dwarf-2-sourcemap

Posts with mentions or reviews of dwarf-2-sourcemap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-26.
  • Isolates, MicroVMs, and WebAssembly (In 2022)
    10 projects | news.ycombinator.com | 26 Sep 2022
    > - A way way better tooling story.

    I think this is a real paint point of WebAssembly but it's getting better. You can now compile C/C++ code to WASM using clang as it became a first class citizen in v8 (or later?). Of course, clang does not provide all the runtime goodies that emscripten does but if you limit yourself to use WASM for some part of your code that require performance then all you need to provide is a few Javascript glue code. For prototyping purposes I've bundle an npm package that bring clang to your frontend project without the need to install it through a package [0].

    Chrome debugger now support WASM [1] but you still need to install an extension. I've started to work on a way to convert the DWARF symbols from the WASM binary into sourcemap on the fly [2][3] but it still rough around the edge and need some work but it can definitely be done. This would allow WASM debugging natively in any browser supporting sourcemaps.

    You also have all the WASM binary tools that you would find for any other kind of executable format in WABT [4].

    [0]: https://www.npmjs.com/package/@jdmichaud/wasm-toolkit

    [1]: https://developer.chrome.com/blog/wasm-debugging-2020/

    [2]: https://github.com/jdmichaud/dwarf-2-sourcemap

    [3]: http://site.novidee.com/blog/blog-entry.html?article=2022082...

    [4]: https://github.com/WebAssembly/wabt

lang-team

Posts with mentions or reviews of lang-team. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-08.
  • Totally_safe_transmute, Line-by-Line
    2 projects | news.ycombinator.com | 8 Jan 2024
    The Rust team did a deep dive on the bug in 2020, which has some more details that might be helpful to understanding what's going on: https://github.com/rust-lang/lang-team/blob/master/design-me....
  • Using enums to represent state in Rust
    6 projects | news.ycombinator.com | 22 Sep 2023
    I haven't been following this closely, so I looked it up and it looks like that's not going to happen for the foreseeable future unfortunately:

    https://github.com/rust-lang/lang-team/issues/122

    Kind of a shame, but wrapper types work well enough that I understand. It does look like if there was someone with enough resources to make it happen that they'd be receptive to it.

  • Should Error enums be `non_exhaustive`?
    4 projects | /r/rust | 23 May 2023
  • What features would you like to see in rust?
    13 projects | /r/rust | 2 Apr 2023
    Did you read the link the original comment posted? I think that explains the idea rather well https://github.com/rust-lang/lang-team/issues/122
  • Pattern matching tuple variant of enum without deconstructing tuple
    2 projects | /r/rust | 29 Mar 2023
    A quick search pulled up this as a likely candidate for most recent discussion of it but it goes back at least to 2016 with this RFC.
  • State Machines III: Type States
    2 projects | /r/rust | 3 Jan 2023
    There have been at least one proposal and RFC in the past that seem to be deferred or closed due to bandwidth issues.
  • The type system is a programmer's best friend
    9 projects | /r/programming | 1 Nov 2022
    That's what Rust does, and it's considered a problem (that the devs are regrettably unable to reasonably solve) rather than a good thing.
  • In-line crates
    1 project | /r/rust | 25 Oct 2022
    Lang had some conversations about this: https://github.com/rust-lang/lang-team/issues/139
  • LKML: Linus Torvalds: Re: [PATCH v9 12/27] rust: add `kernel` crate
    4 projects | /r/rust | 2 Oct 2022
    The design of Rust panics unconditionally aborts the program if you panic while unwinding, and some people even want to abort if you panic in Drop.
  • Isolates, MicroVMs, and WebAssembly (In 2022)
    10 projects | news.ycombinator.com | 26 Sep 2022
    > Better interoperability

    AFAIK, the examples you give all target a basic C ABI [0] or can be made to target the same ABI. In Rust, it means targeting wasm32-unknown-emscripten

    The Rust team is also working on a "WASM ABI"[1] which would be useful in taking advantage of stuff like multi-value returns, and other compilers could just choose to target that. More likely, the C ABI on WASM will be updated to account for missing features, and that'll be the standard for interoperability in the WASM ecosystem.

    [0]: https://github.com/WebAssembly/tool-conventions/blob/main/Ba...

    [1]: https://github.com/rust-lang/lang-team/blob/master/design-me...

What are some alternatives?

When comparing dwarf-2-sourcemap and lang-team you can also consider the following projects:

tool-conventions - Conventions supporting interoperatibility between tools working with WebAssembly.

Idris2 - A purely functional programming language with first class types

krustlet - Kubernetes Rust Kubelet [Moved to: https://github.com/krustlet/krustlet]

rfcs - RFCs for changes to Rust

Cesium - C compiler for the CLI platform

diamond-types - The world's fastest CRDT. WIP.

wabt - The WebAssembly Binary Toolkit

semver-trick - How to avoid complicated coordinated upgrades

runwasi - Facilitates running Wasm / WASI workloads managed by containerd

rustc-dev-guide - A guide to how rustc works and how to contribute to it.

hippo - The WebAssembly Platform

isahc - The practical HTTP client that is fun to use.