Rotating an image… TO THE EXTREME
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThis episode explores image rotation using various programming languages (JavaScript, C, AssemblyScript, Rust) and compares their performance.\u003c/p\u003e\n"],["\u003cp\u003eThe discussion covers web development topics including compositor optimization for \u003ccode\u003eclip-path\u003c/code\u003e, the accessibility object model, iterable streams, and client-side includes for HTML.\u003c/p\u003e\n"],["\u003cp\u003eAdditional topics include \u003ccode\u003ewasm-pack\u003c/code\u003e for WebAssembly, built-in modules in JavaScript, display locking, and the differences between server-side rendering and single-page applications.\u003c/p\u003e\n"]]],["The core content involves exploring image rotation using JavaScript, C, AssemblyScript, and Rust, followed by a comparison of their performance. The discussion also touches on `wasm-pack`, the accessibility object model, iterable streams, and a client-side include for HTML. Other topics include moving `clip-path` to the compositor/GPU, built-in modules, display locking, and a GitHub SPA versus server rendering. Lastly, a story about bread and urinals is mentioned.\n"],null,["# Rotating an image… TO THE EXTREME\n\nIn this episode:\n\n- Inflatable palm trees.\n- Rotating an image [in\n JavaScript](https://github.com/GoogleChromeLabs/squoosh/blob/d1203d9c42918e10e6042f8046b75b7b2a86235f/src/codecs/rotate/processor.ts).\n- Rotating an image [in\n C](https://gist.github.com/surma/0eb306fa9acc8bdf2f58150b2f1e82b4#file-rotate-c).\n- Rotating an image [in\n AssemblyScript](https://gist.github.com/surma/0eb306fa9acc8bdf2f58150b2f1e82b4#file-rotate-ts).\n- Rotating an image [in\n Rust](https://gist.github.com/surma/0eb306fa9acc8bdf2f58150b2f1e82b4#file-rotate-rs).\n- [Comparing them all](/web/updates/2019/02/hotpath-with-wasm).\n- [wasm-pack](https://github.com/rustwasm/wasm-pack).\n- We talk about urinals *again*.\n- Moving `clip-path` to the compositor and GPU.\n- [The accessibility object model](https://github.com/WICG/aom).\n- Jake tells a boring story about bread.\n- [Iterable streams](https://twitter.com/jaffathecake/status/1093072562819608576).\n- [Streaming include](https://github.com/jakearchibald/streaming-include).\n- Feature request: [client side include for HTML](https://github.com/whatwg/html/issues/2791).\n- [GitHub SPA vs server render](https://jakearchibald.com/2016/fun-hacks-faster-content/).\n- [Built-in modules](https://github.com/tc39/ecma262/issues/395).\n- [Display locking](https://github.com/WICG/display-locking).\n\n[rss_feed\nSubscribe](http://feeds.feedburner.com/Http203Podcast)"]]