eris
xla
Our great sponsors
eris | xla | |
---|---|---|
3 | 3 | |
1,399 | 2,191 | |
0.0% | 8.5% | |
0.0 | 10.0 | |
about 1 year ago | 4 days ago | |
Go | C++ | |
MIT License | Apache License 2.0 |
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.
eris
-
Will go ever get C/Java style exceptions?
What really sucks IMO is that there's no compiler support for exhaustive error checks, the amount of boilerplate for handling errors, no sum types like Rust, horrible stacktraces unless you use something like eris, the ease with which you can ignore errors, all make for really poor error handling as it remains. It is now the #1 challenge that devs report for Go as per their own survey. We might see some improvements on this front at some point and seeing the new errors.Join stuff is giving me hope
-
Thirteen Years of Go - The Go Programming Language
Attaching stacktraces to errors is one way to make errors more readable. Go has notoriously unreadable errors and when you log the error, the logging function is now at the top of the stack rather than where the error actually originated. There needs to be a simple function that adds some default wrapping when you return an error because as it is, you need packages like Eris to make the errors even halfway readable
-
Zap logging package
Actually just stumbled over eris which seems decent.
xla
-
VSL; Vlang's Scientific Library
Would it make sense to have a backend support for OpenXLA, Apache TVM, Jittor or other similar to get free GPU, TPU and other accelerators for free ?
-
GoMLX -- Accelerated ML for Go
GoMLX (github.com/gomlx/gomlx) is a fast and (relatively) easy-to-use set of ML libraries built on top of OpenXLA, a just-in-time compiler of numeric computations for CPU, TPU and GPUs.
-
Will go ever get C/Java style exceptions?
I'm doing something that uses XLA to quickly execute computation graphs (in CPU, GPU or TPUs). One builds the graph, and later executes it (quickly) on actual values (sometimes large tensors).
What are some alternatives?
tracerr - Golang errors with stack trace and source fragments.
vsl - V library to develop Artificial Intelligence and High-Performance Scientific Computations
emperror - The Emperor takes care of all errors personally
gomlx - GoMLX -- Accelerated ML Libraries for Go
errlog - Reduce debugging time. Use static & stack-trace analysis to identify the error immediately.
jittor - Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
🎚Shift - 🎚Shift is an optioned circuit breaker implementation
gonb - GoNB, a Go Notebook Kernel for Jupyter
Falcon - A Simple Yet Highly Powerful Package For Error Handling
tvm - Open deep learning compiler stack for cpu, gpu and specialized accelerators
go-ez - An experimental Go package that allows you to write less error handling and makes the logic look simpler and clearer.
slog-multi - 🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...