@jbr

234 Followers
409 Following
1,083 Posts
Software developer, portlander, ultra/trail runner, german learner, tropical houseplant collector, kitten housemate, artist? Old enough to remember trumpet winsock
PronounsThey or he
githubhttps://github.com/jbr
art insta:https://instagram.com/accumbens.art
identity domain:https://jbr.me
@josh Yeah that's what I had imagined. Not sure if other clients support that though. I haven't built out a client yet, although it wouldn't be a lot of work to do so once trillium-client speaks h3 (it's really just an embarrassingly thin layer on top of QUIC; one or two varints at the start of each stream and then hand it off to user code)
@josh https://github.com/trillium-rs/trillium/blob/webtransport/webtransport/examples/webtransport.rs is the current sketch, and by sketch I mean fully functional example
trillium/webtransport/examples/webtransport.rs at webtransport · trillium-rs/trillium

Trillium is a composable toolkit for building internet applications with async rust - trillium-rs/trillium

GitHub
@josh In particular, I'm trying to figure out if anyone actually uses the notion of multiple WT "sessions" over a single QUIC Connection. The spec supports it, but no browser client I've tested coalesces QUIC connections over WT sessions, so it's always session 0. I'm doing a bunch of awkward demuxing in order to surface just the streams and datagrams associated with a given CONNECT, but I can't actually exercise that code
@josh Well I've got it working in trillium over h3 now, it's just very low level (AsyncRead/AsyncWrite streams and datagrams). Out of curiosity, what's the motivation for WebTransport instead of QUIC? AFAICT the primary advantage of WebTransport is browser use and/or http-based auth that gates the CONNECT and establishes state?
@jc00ke Yeah I'm more comfortable with what the h3 api for trillium should look like because to a user it's mostly what they're used to (especially since I don't support server push currently), but WebTransport is a weird "QUIC primitives surfaced over HTTP over QUIC" that isn't particularly similar to anything I've used before.

Who’s using #webtransport in production, in any language?

I’m designing a server api for the trillium ( #rust / #rustlang ) protocol implementation and can’t figure out what sort of higher level abstraction people would want in addition to the protocol-defined interfaces like inbound/outbound x bidi/uni/datagram. Would you want a socket-io-like interface?

rustdoc-json: links to associated items like methods have ids that don't exist in index or links · Issue #152511 · rust-lang/rust

It seems that there's an issue with links in the rustdoc-json output from nightly rustdocs. Some meaningful percentage of ids in links maps occur in neither paths nor index. I believe this tends to...

GitHub
@aDot where is the right place to file bugs? I may have found another one just now (ids in the links map that point to associated items like methods and constants sometimes don’t exist in index or paths)
@Fishrock and it makes an effort to keep workspace-local crates up to date based on recursive mtime comparisons on every initial load (cached within a ferritin process for perf, though, so it won’t pick up changes live)