Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm unsure exactly what the above poster is trying to say, I generally find Rust development very pleasant with nothing but vscode and Rust-analyzer.

But... I'll admit there is one major stumbling block so far. Debugging iterator chains can be cumbersome because of the disconnect between the language and the compiled code. I've found myself stepping in and out of assembly more than I'd like. I assume this is the kind of problem that can be overcome with a nicer debugger though.



> I assume this is the kind of problem that can be overcome with a nicer debugger though.

I think this would be something that modern debuggers need to solve somehow in general.

There are more and more languages with high amount of syntax sugar, where the output to be debugged doesn't have much in common anymore with the code written.

Debuggers need to be aware of desugarings somehow.

But it makes no sense to implement this on a case by case basis for every language. We need next generation debuggers! (But I have no clue how "a sugar aware debugger" could be implemented; something in the direction of "source maps" maybe?)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: