Ary Borenszweig

Results 414 comments of Ary Borenszweig

@bcardiff I think for that one we just need to change the current approach to use a thread local variable. ~And now that I think about it, maybe we can...

It seems `write` might write less than what we pass it and we don't take that into account. Am I seeing that right? It also seems `writev` might write less...?

> crystal's IO#write will always loop until it writes the whole buffer Oooh... it's actually in `evented_write`, I couldn't find it in `unbuffered_write`. So I guess that even if we...

The thing is, I don't understand how we can use writev in puts to fix this issue.

The problem is that an arbitrary object like an array is streamed to an IO in piecesb first the bracket, then the value, then comma, etc. And there's no way...

It seems this compiles fine: ```noir trait Foo { let N: u32; fn return_empty_array() -> [u32; Self::N] { [0; Self::N] } } struct Bar; impl Foo for Bar { let...

Right... that's the main issue. I think there are three cases that need to be handled: 1. Using `Self::N` inside a trait 2. Using `Self::N` inside a trait impl 3....

I think this is now working. What's not working is doing `Foo::N` inside a trait `Foo`, but it doesn't work in Rust either: you have to always use `Self::N` there....

Thank you, it works! Now I get this, but it's the usual ssl error: ``` dyld[15351]: Library not loaded: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib Referenced from: /opt/homebrew/Cellar/mint-lang/0.18.0/bin/mint Reason: tried: '/usr/local/opt/[email protected]/lib/libssl.1.1.dylib' (no such file), '/usr/local/lib/libssl.1.1.dylib'...