<whitequark>
sb0: 11:58 < whitequark> as for network, I just finished some more necessary refactoring, so now the application side of the stack works fine
<whitequark>
done
<GitHub88>
[smoltcp] whitequark pushed 2 new commits to master: https://git.io/v170Y
<GitHub88>
smoltcp/master 7d838b6 whitequark: I was going to license this under 0-clause BSD.
<GitHub88>
smoltcp/master 8b89de2 whitequark: Working UDP loopback.
<whitequark>
that's basically all the high-risk parts gone
<sb0>
TCP isn't high-risk?
sandeepkr has joined #m-labs
Gurty has quit [Ping timeout: 256 seconds]
<whitequark>
I'm not implementing it from scratch
<whitequark>
whereas no one that I know of has quite did this sort of use case of Rust's features (AsMut, BorrowMut, lifetimes, combination thereof) before and it wasn't obvious that it will work
<whitequark>
for that matter it took a fair amount of fiddling before it did.
<whitequark>
the benefit is of course that the stack has zero unsafe code and I don't see any reason it will gain any.
mystacy has joined #m-labs
<whitequark>
well, *maybe* field accesses, if someone figures out a way to make that robust. but probably not me.
mystacy has quit [Client Quit]
Gurty has joined #m-labs
Gurty has joined #m-labs
Gurty has quit [Changing host]
<GitHub190>
[smoltcp] whitequark pushed 2 new commits to master: https://git.io/v17zM
<GitHub190>
smoltcp/master ef04295 whitequark: Fix a Cargo warning.
sandeepkr has quit [Remote host closed the connection]
sandeepkr has joined #m-labs
sandeepkr has quit [Remote host closed the connection]
kuldeep has quit [Remote host closed the connection]
kuldeep has joined #m-labs
<GitHub14>
[artiq] jordens reopened issue #582: plan ARTIQ users group meeting https://git.io/v17rt
<sb0>
memory safety (under the assumption that everything else - dma engines, c code, etc. is working properly) is one thing, protocol snafu is another
<sb0>
what is rust-managed?
<sb0>
if smoltcp depends on it, can you put it under m-labs?
<sb0>
on github
<whitequark>
right now it's just a placeholder for code I haven't written
<whitequark>
and may not even write depending on feedback
<whitequark>
also I don't put things under m-labs right away because it means I can't edit the repo description and URL
<whitequark>
very annoying
<whitequark>
sb0: well the problem that we have now is memory safety, and I hope to not encounter it again
<whitequark>
apart from stack overflows and the binutils bugs I don't recall any memory safety issues with the new runtime
<whitequark>
looking forward to when lld finally gains MEMORY{} support and we don't have to touch binutils ever