Pretty Rust backtraces in raw terminal mode
1–10 of 16 posts
Re: Pretty Rust backtraces in raw terminal mode
#2Re: Pretty Rust backtraces in raw terminal mode
#3Re: Pretty Rust backtraces in raw terminal mode
#4Re: Pretty Rust backtraces in raw terminal mode
#5I’m not a rust expert, but perhaps this usecase is particularly hard because you’re holding it wrong? It seems to me that the strength of rust is in preventing panics as much as possible by moving the error checking to the compiler; so sure, fixing the terminal is an interesting challenge, but probably not going to make development any easier.
Re: Pretty Rust backtraces in raw terminal mode
#6I’m not a rust expert, but perhaps this usecase is particularly hard because you’re holding it wrong? It seems to me that the strength of rust is in preventing panics as much as possible by moving the error checking to the compiler; so sure, fixing the terminal is an interesting challenge, but probably not going to make development any easier.
I like Rust, but the panic mechanism is a bit of a weak point in the language. It's not like I have a better solution -- you really do need a way to handle exceptional cases that shouldn't ever happen but aren't statically checkable. But it's unfortunate that it interacts with so many other parts of the language, rather than being orthogonal. Every single API needs to answer "but how does this interact with panics". Rust is a very good language because panics are one of just a couple of things that work this way.
Re: Pretty Rust backtraces in raw terminal mode
#7Re: Pretty Rust backtraces in raw terminal mode
#8Re: Pretty Rust backtraces in raw terminal mode
#9Hmm just adding some ASCII art doesn't really make it pretty. Colorizing the output and making it easier to analyze as well as read, would.
Re: Pretty Rust backtraces in raw terminal mode
#10Hmm just adding some ASCII art doesn't really make it pretty. Colorizing the output and making it easier to analyze as well as read, would.
There is no ASCII art.