Stack size is invisible in C and the effects on “portability”

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
  • virgil

    A fast and lightweight native programming language

  • Yeah, I think there would be some overhead, because it doesn't look like pthread_create allows specifying a stack segment. But I wouldn't be using pthread_create (or any C library for that matter), because Virgil goes all the way down to kernel, and there is no C environment.

    I only experimented briefly[1] with getting Virgil threads to run on Linux. You need to call SYS_clone and specify a stack segment.

    [1] https://github.com/titzer/virgil/blob/master/apps/Multi/Mult...

  • kcachegrind

    GUI to profilers such as Valgrind

  • > Which reminds me: what is a good tool for analyzing / viewing a C++ programs call tree?

    As already mentioned, perf can capture call stacks, but those are statistical samples, so not necessarily complete.

    callgrind (https://www.valgrind.org/docs/manual/cl-manual.html) by contrast can capture all call-stacks.

    kCacheGrind/qCacheGrind (https://kcachegrind.github.io/html/Home.html) can be used to view the output from either perf or callgrind. Sources for kcachegrind, including converters from perf, oprofile, etc., can be found at https://github.com/KDE/kcachegrind

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • 16 years of CVE-2008-0166 – Debian OpenSSL Bug

    1 project | news.ycombinator.com | 12 May 2024
  • Flatcar: OS Innovation with Systemd-Sysext

    3 projects | news.ycombinator.com | 12 May 2024
  • Build and host your own observability solution

    1 project | dev.to | 11 May 2024
  • Show HN: Bash script to autogenerate directory tree into README.md

    1 project | news.ycombinator.com | 11 May 2024
  • Ditch Your Boring Terminal and Make it More Useful

    6 projects | dev.to | 11 May 2024