Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @yoshuawuyts
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @yoshuawuyts
-
Prikvačeni tweet
New post: Streams Concurrency In this post we talk about concurrency, apply it to streams, and explore future directions. Illustrated by
@_lrlna. https://blog.yoshuawuyts.com/streams-concurrency/ …pic.twitter.com/jJK78W2wOs
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Oh wow, wasm-bindgen-test is able to run futures directly from their test: https://github.com/rustwasm/wasm-bindgen/blob/master/crates/futures/tests/tests.rs#L31-L36 … This is really nice!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Rust's traits are pretty great in comparison. Bit more boilerplate usually, but that seems solvable.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Another notable mention goes to well-known prototype names such as toString and toJSON that dictate how a value is stringified/serialized respectively. Also the details of how prototype chains can be configured through Object.assign are something special.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Showed
@stjepang the 6 or so ways to do inheritance in JavaScript w/o traits, and his look of disbelief was priceless. For reference: prototypes, class extends, util inherits (multi inheritance), object initializers ({read} in streams), Symbols (e.g. iterators), methods (then).Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Gathering feedback always makes me very happy. Got some really good pointers on this post already.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Had to force myself to write today. The downside: the result isn't very good. The upside: I can now play editor to my own work and start the process of gathering feedback, reorganizing, and redrafting.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
yosh proslijedio/la je Tweet
We're slowly but surely making progress towards no_std support for async-std! We just merged
@nasa_desu's patch set introducing a new "alloc" feature flag. Coming to you in async-std 1.6.0.https://github.com/async-rs/async-std/pull/680 …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
yosh proslijedio/la je Tweet
WebSocketStreamなんてあるんだ / “WebSocketStream Design doc - Google ドキュメント”https://htn.to/2h9JEVToqt
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Also in case you're wondering what goes into a browser framework; here's a talk I gave in 2017 about how to build one: https://youtu.be/T1YWB9N166A What I'm doing now is mostly a Rust port of the same design. Though it takes more than 30 mins b/c I have to build things from scratch.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
BUT that's about it at least for now. I owe it to a lot of people to publish another batch of work first this week, so uhhh. First things first.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Okay, think I have like 40% of a framework done now. The other 40 is probably just going to be Dodrio (https://docs.rs/dodrio ), broadcaster, and some glue to tie it together. Also heck, I can probably toss in logging and fetch for good measure lol. Built that already anyway.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I never ended up finishing my 2018 post on the browser's history API, but oh wow is it coming in useful today. https://yoshuawuyts-old.netlify.com/history The History API: it's a stack.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
So if I had to guess, a first version of a browser framework in WASM would be about a week's work? Think I know how to do it now.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
yosh proslijedio/la je Tweet
Just watched
@sadisticsystems talk on rio/sled/io_uring at Fosdem, and it's great. I learned something on the rust side, but I'd recommend it even if you're just curious about what io_uring is and can help you with. Video in the link below.https://fosdem.org/2020/schedule/event/rust_techniques_sled/ …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Oh cool, my PR that enables Clap to generate man pages has been merged after filing it a year ago. Exciting!https://github.com/clap-rs/clap_generate/pull/1 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
yosh proslijedio/la je Tweet
async-std v1.5.0 has been released! ⬩ stream::pending ⬩ impl Clone for TcpStream ⬩ impl Clone for DirEntry ⬩ improved TCP performance ⬩ improved block_on performance Changelog:https://github.com/async-rs/async-std/releases/tag/v1.5.0 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
yosh proslijedio/la je Tweet
Changelog #10: https://rust-analyzer.github.io/thisweek/2020/02/03/changelog-10.html … A bunch of perf and stability improvements, especially around `cargo check` and chalk integration!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
The end-user API is really nice as well. Rust on the left, JS on the right:pic.twitter.com/XBAr8y0GEd
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Wrote a quick refresh of the document-ready
@rustwasm crate. Using `gloo-event` + `std::future` has made the implementation really easy! Code adapted from@bendrucker's JS module; if you squint a bit, the code looks very similar! https://github.com/yoshuawuyts/document-ready/pull/1 …pic.twitter.com/puEooxB1N7
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.