cargo-call-stack

Whole program static stack analysis (by japaric)

Cargo-call-stack Alternatives

Similar projects and alternatives to cargo-call-stack

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cargo-call-stack alternative or higher similarity.

cargo-call-stack discussion

Log in or Post with

cargo-call-stack reviews and mentions

Posts with mentions or reviews of cargo-call-stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • Why choose async/await over threads?
    11 projects | news.ycombinator.com | 25 Mar 2024
    Yes, it's what I wrote about in the last paragraph. If you can compute maximum stack size of a function, then you can avoid dynamic allocation with fibers as well. You are right that such implementations do not exist in right now, but I think it's technically possible as demonstrated by tools such as https://github.com/japaric/cargo-call-stack The main stumbling block here is FFI, historically shared libraries do not have any annotations about stack usage, so functions with bounded stack usage would not be able to use even libc.
  • Ask not what the compiler can do for you
    5 projects | news.ycombinator.com | 5 May 2023
    For rust code, I have found https://github.com/japaric/cargo-call-stack to be the best available option, as it does take advantage of how Rust types are implemented in LLVM-IR to handle function pointers / dynamic dispatch a little better. An even better solution would try to use MIR type information as well to further narrow down targets of dynamic calls in a Rust-specific way, but no such tool exists that I know of.
  • Debugging and profiling embedded applications.
    8 projects | /r/rust | 30 Mar 2023
    cargo-call-stack Static stack analysis!
  • In defense of complicated programming languages
    3 projects | /r/rust | 25 Jan 2022
    Generators can just dump stuff on the stack. They have additional their own stack for storing their state. If you can prove an upper amount of creation of generators in the call graph, that would however work. There is for example this nice tool for Rust doing the overapproximation.
  • Understanding thread stack sizes and how alpine is different
    3 projects | news.ycombinator.com | 26 Jun 2021
    Not easy at all.

    I know that in the small-embedded world, people do work on such things.

    Eg https://github.com/japaric/cargo-call-stack

  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic cargo-call-stack repo stats
5
564
0.0
7 months ago

japaric/cargo-call-stack is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of cargo-call-stack is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com