Live data from Hacker News

Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

github.com

21–30 of 59 posts

Re: Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

#21
post #9

Noir is a Domain Specific Language for SNARK proving systems. https://noir-lang.org/

I see, I see. And what is a SNARK proving system?

"Succinct Non-interactive Arguments of Knowledge", it's a system for zero-knowledge proofs, which allow proving a fact of some kind without disclosing the inputs

Re: Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

#22
Windows support? What languages? How does it work?

I don’t like that the headline is “designed to support multiple languages” but it only actually supports an obscure language I’ve never heard of. Feels like a bait and switch.

Re: Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

#24
post #19
post #17

The Noir support makes sense given its use in ZK proofs where execution tracing is particularly valuable, but I'm really looking forward to the Python and Ruby implementations. Those languages' dynamic nature makes bugs particularly elusive sometimes. Has anyone here tried using this with Noir yet? I'm curious about the performance overhead of the tracing mechanism, especially for longer-running programs. Also wonder…

The planned RR recordings integration is what I'm most excited about though. Having this capability for systems languages like Rust and C++ would be transformative for complex debugging scenarios where you're often forced to restart debugging sessions from scratch after stepping past a crucial point.

This happens all the time and is super irksome. Being able to step backwards as well as forwards is super cool. Also, being able to do that with a loop using a slider is cool.

Re: Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

#27

How does the implementation compare to RR?

We are building our future support for the system languages for now directly on top of RR recordings: credit to Robert(roca) and Kyle and all other contributors for RR and Pernosco, they're amazing technologies.

We've researched possible alternative approaches/tools as well, especially keeping in mind Windows/Mac support.

The traces for Noir and the scripting languages work in a completely different way, capturing all the relevant data which is later indexed into a db-like structure. With some future optimizations this can be very useful for various shorter programs in scripting languages, and generally for blockchain languages(as the running time there is usually low) and we hope that eventually with flexible record filtering it can be practical even for capturing important segments/aspects of long-running real world projects.

Re: Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust

#28
post #9

Noir is a Domain Specific Language for SNARK proving systems. https://noir-lang.org/

I see, I see. And what is a SNARK proving system?

This paper is a great resource if you're unfamiliar with zk-SNARK and how it works:

Why and How zk-SNARK Works (2019)

https://arxiv.org/abs/1906.07221

Post reply on HN