v0.20.0 released with JSX support, Top-Level-Await typescript support, window.onunload, and many other features, bug fixes, and performance enhancements.
github.com/denoland/deno/rel…
“There’s a whole bunch of techniques that you have to do when building compilers and those are techniques that you don’t learn at school, this is something that you learn by doing”
@ahejlsberg#typescript
A high-level Rust API is now available in crates.io for creating Deno workers (with the same TypeScript support and ops as is available in the CLI) docs.rs/deno_cli/0.18.4/deno…
fn main() {
let a = String::from(“borrowing”);
let b = &a; // “&” means borrow
printLn!(“{}”, b);
}
Only one reference can own a piece of data at a time
#rust
🌟💫Introducing⭐✨VeoLuz🎉🥳🎊
a #generative art tool built with @rustlang, #wasm, and @reasonml
💖 Play with light in a way you never have before 🎇
I hope it will give you as many hours of creative exploration as it has given me 🤩
jaredforsyth.com/veoluz/
(sound on)
Image Processing using the Jimp Library: codingshiksha.com/javascript… (Jimp is an image processing library written entirely in JavaScript with no external dependencies.)
TIL: A module can import itself to get access to all it's exports wrapped in a neat little object (thanks to the module cache)
Use case: migrating legacy code that put their exports onto a global object to ES modules.
Since GraphQL is a contract that allows the client to only request the data it needs, it opens up interesting possibilities like sending responses with the relevant `link rel=preload` headers of relevant assets.