短评 · ·

X 归档 2022-09-30

2 条动态 · 图 1 · 视频 1
Web streams are going to be insanely fast in Deno very soon. I'm very excited. ⚡️🦕

This code for example will copy no bytes through JavaScript. The entire operation on line 3 happens within Rust, meaning that the JS event loop is completely idle during the streaming itself.
Web streams 很快就会在 Deno 里快到离谱。我非常期待。⚡️🦕

比如这段代码不会通过 JavaScript 复制任何字节。第 3 行的整个操作都在 Rust 内部完成,这意味着流式传输期间 JS 事件循环完全空闲。
@lcasdev 的配图 1/1
It was 1939 and this technology created 3D sculptures. It took decades later to duplicate this lost technology.
那是在 1939 年,这项技术就能创作 3D 雕塑了。几十年后人们才复现出这门失传的技术。