sentry-native

Sentry SDK for C, C++ and native applications. (by getsentry)

Sentry-native Alternatives

Similar projects and alternatives to sentry-native

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

sentry-native reviews and mentions

Posts with mentions or reviews of sentry-native. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-03.
  • Luau Goes Open-Source
    3 projects | /r/programming | 3 Nov 2021
    I understand what C bindings means - hence my comment about the lowest common denominator. I'm not deeply familiar with the Lua api so I don't feel comfortable commenting on it, but the sentry C api is a prime example. Yes you can use this API from many different languages, including C++, but you end up writing code like this. You almost always lose type safety, RAII, and introduce error prone, verbose code, such as: sentry_value_t debug_crumb = sentry_value_new_breadcrumb("http", "debug crumb"); sentry_value_set_by_key( debug_crumb, "category", sentry_value_new_string("example!")); sentry_value_set_by_key( debug_crumb, "depth", sentry_value_new_int32(11)); sentry_value_set_by_key( debug_crumb, "level", sentry_value_new_string("debug")); sentry_add_breadcrumb(debug_crumb);
  • Goodbye C++, Hello C
    4 projects | news.ycombinator.com | 25 Jun 2021
    > Put another way, I'd rather fix relatively simple C (which also tends to be simpler code in general) than the monsters created by "modern C++" because they thought the "added safety" would mean they could go crazy with the complexity without adding bugs.

    It's completely possible to write C++ code without it being a mess of a template mostrosity and massively overloaded function names. People who write C++ like that would write C filled with macros, void pointers and all the other footguns that C encourages you to use instead.

    I've been working with the sentry-native SDK recently [0] which is a C api. It's full of macros, unclear ownership of pointers (in their callback, _you_ must manually free the random pointer, using the right free method for their type, which isn't type checked), custom functions for working with their types (sentry_free, sentry_free_envelope), opaque data types (everythign is a sentry_value_t created by a custom function - to access the data you have to call the right function not just access the member, and this is a runtime check).

    Compare [1] (their C api example)

    [0] https://github.com/getsentry/sentry-native

Stats

Basic sentry-native repo stats
2
363
7.7
9 days ago

getsentry/sentry-native is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of sentry-native is C.


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