Rust Futures!

@_fundon

生命第 N 次练习,谢天地赐我逆境!

QuanZhou, China
Vrijeme pridruživanja: svibanj 2008.

Tweetovi

Blokirali ste korisnika/cu @_fundon

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @_fundon

  1. prije 10 sati
    Poništi
  2. prije 23 sata

    Rebuild!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Poništi
  3. proslijedio/la je Tweet
    30. sij

    Tide 0.6.0 has been released! ⬩ Cookies ⬩ CORS ⬩ Route::nest ⬩ Route::all Changelog:

    use cookie::Cookie;
use tide::Response;

let mut app = tide::new();

app.at("/").get(|req| async move {
    println!("cat snack: {:?}", req.cookie("snack"));
    Response::new(200)
});

app.at("/set").get(|req| async move {
    let mut res = Response::new(200);
    res.set_cookie(Cookie::new("snack", "tuna"));
    res
});

app.listen("127.0.0.1:8080").await?;
    Prikaži ovu nit
    Poništi
  4. proslijedio/la je Tweet
    31. sij

    【MegaEase的远程工作文化】因为我很喜欢《Rework》这本书,写这本书的公司写《Rework》这本书的时候,整个公司只有16个人分布在8个城市,这种Geek的文化很吸引我,所以,在创业的时候,我就止不住地想成立这样的公司。写篇文章分享,并附一个工作协议。希望得到更好的建议!

    Poništi
  5. proslijedio/la je Tweet
    Poništi
  6. 30. sij

    今天终于缓过来,小弟弟心情终于好起来了

    Poništi
  7. 30. sij

    注意遇到量体温的情况,先问体温计是否已经消毒过。

    Poništi
  8. proslijedio/la je Tweet
    29. sij

    New post: Tide Channels This is a design proposal for WebSocket and Server Sent Event support in Tide. I don't usually post about things at this stage on my blog, so this is me trying something new. (Also this was drafted in a day which is unusual, heh)

    let mut app = tide::new();
app.at("/sse").get(tide::sse());
app.at("/").get(async |req| {
    req.sse().send(b"hello chashu").await?;
    Response::new(200)
});
app.listen("127.0.0.1:8080").await?;
    Prikaži ovu nit
    Poništi
  9. proslijedio/la je Tweet
    25. sij
    Poništi
  10. proslijedio/la je Tweet
    26. sij

    Rust is great! Without any optimizations, tokio achieves roughly 500K UDP packets per second between hosts. That is equal to what I could achieve with iperf. And since the system/hardware is the limiting factor, further processing of messages should be no problem.

    Poništi
  11. proslijedio/la je Tweet
    25. sij

    First blog post on writing your own async executors in Rust. Here's how to implement block_on() in a few lines of safe code.

    Poništi
  12. proslijedio/la je Tweet
    24. sij

    The Hasura GraphQL Engine now supports batching operations! You can send multiple operations (any combination of queries & mutations) in a single query instead of making multiple network calls 👉

    Poništi
  13. proslijedio/la je Tweet
    24. sij

    谎言的代价是什么?并非是我们会把谎言误认为真相。真正危险的是,我们听多了谎言,便不再能分辨出真相。 一一 《切尔诺贝利》

    Poništi
  14. proslijedio/la je Tweet
    24. sij

    It’s coming soon. Can’t wait anymore! 😌

    Poništi
  15. proslijedio/la je Tweet
    23. sij

    After 10 days, I finally migrated TCP client to tokio-0.2. Tests are all green. Only compiler and linting warnings left. I also need to conduct some regression testing in cluster connection node. Expect a release tomorrow!

    Poništi
  16. proslijedio/la je Tweet
    23. sij

    One foot gun when using Tokio is not yielding. This prevents other tasks from running and can result in large tail latencies. We think we can do better. is proposing a strategy to coordinate task yielding

    Poništi
  17. 23. sij

    小的肺炎提前出院,也不敢呆在医院 这几天辛苦弟弟和他妈妈了

    Poništi
  18. proslijedio/la je Tweet
    13. sij
    Prikaži ovu nit
    Poništi
  19. proslijedio/la je Tweet
    11. sij
    Poništi
  20. proslijedio/la je Tweet
    9. sij

    Announcing BLAKE3! My last 1.5 years of work :) * Faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2 * Merkle tree: unlimited parallelism, verified streaming * Builtin MAC, KDF, XOF * One algorithm, no variants * Rust crate: Try it: cargo install b3sum

    Poniš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.

    Možda bi vam se svidjelo i ovo:

    ·