sentry-native VS tl

Compare sentry-native vs tl and see what are their differences.

tl

The compiler for Teal, a typed dialect of Lua (by teal-language)
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
sentry-native tl
2 54
367 1,944
1.9% 1.9%
7.8 7.7
2 days ago 3 months ago
C Lua
MIT License MIT License
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.

sentry-native

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

tl

Posts with mentions or reviews of tl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Ravi is a dialect of Lua, with JIT and AOT compilers
    7 projects | news.ycombinator.com | 18 Mar 2024
    it's based off MIR, does it have something to do with https://mlir.llvm.org/ ?

    for typed lua, there is another effort https://github.com/teal-language/tl in addition to the mentioned typescript approach: https://github.com/andremm/typedlua

  • Lua Criticism Is Unwarranted
    4 projects | news.ycombinator.com | 26 Oct 2023
    I had the pleasure of working with Lua 5.1 back in the late noughties. For me it's replaced Tcl whenever I want something I can configure above a C library. At the time I used it I found it quite nice but I'll also not forget the hours I wasted tracking down nil table corruptions which could have easily been caught by a type checker.

    I had some hope that Luau https://luau-lang.org or Teal https://github.com/teal-language/tl would make things better but with the following example

        function foo(x: number): string
  • Why Fennel?
    12 projects | news.ycombinator.com | 13 Sep 2023
  • Algebraic data types in Lua (Almost) post
    2 projects | news.ycombinator.com | 18 Aug 2023
    I wonder why the author doesn't use Teal [0] - a typed dialect of lua.

    [O] https://github.com/teal-language/tl

  • Lua: The Little Language That Could
    19 projects | /r/programming | 28 May 2023
    Check out Teal
  • What's the deal with Fennel in Neovim?
    3 projects | /r/neovim | 10 Mar 2023
    There is already https://github.com/teal-language/tl, which is typed Lua. I think fennel exists to serve a different niche-- personally I use it not for any type features; I just like the syntax better, and others may find certain features like the macro system useful.
  • Using Lua with C++
    9 projects | news.ycombinator.com | 14 Feb 2023
  • Teal – Type Hints for Lua
    1 project | news.ycombinator.com | 11 Feb 2023
  • Using other languages
    6 projects | /r/ComputerCraft | 8 Feb 2023
    There's also some languages made to compile straight to Lua: - MoonScript is the most popular Lua wrapper - it's built to be more Python-like, featuring indentation-based scopes, function calls without parentheses, lambda syntax, list comprehension, and much more. - Yuescript is a modern update to MoonScript that adds more features (I haven't used it myself, so I'm not entirely sure exactly how it differs from MS). - Teal is a version of Lua that adds static typing for better code standards.
  • Bog – small, strongly typed, embeddable language
    13 projects | news.ycombinator.com | 29 Jan 2023
    Terra and Nelua are both very different in goals than Teal. Teal is literally gradual types integrated into Lua keeping as many of Lua's idioms as possible (to a fault[1]). Terra and Nelua are both very metaprogrammable systems programming languages. Nelua's goals are primarily to soften C's rough edges, comparable to something like Nim.

    There's another one you missed in Pallene[2]. But again, it's goal was to optimize the stack sharing involved in using the C API. It also adds types though and maintains Lua idioms as much as possible.

    [1]: https://github.com/teal-language/tl/discussions/339

    [2]: https://github.com/pallene-lang/pallene

What are some alternatives?

When comparing sentry-native and tl you can also consider the following projects:

breakpad - Mirror of Google Breakpad project

luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua

GSL - Guidelines Support Library

OpenBBTerminal - Investment Research for Everyone, Everywhere.

cJSON - Ultralightweight JSON parser in ANSI C

packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config

score-simple-api-2

rpi-open-firmware - Open source VPU side bootloader for Raspberry Pi.

CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++

luaforwindows - Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. NOTICE: Looking for maintainer.

sentry-dart - Sentry SDK for Dart and Flutter

pallene - Pallene Compiler