Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
https://speakerdeck.com
Speaker Deck is the best way to share presentations online. Simply upload your slides as a PDF, and we’ll turn them into a beautiful online experience. View them on SpeakerDeck.com, or share them on any website with an embed code.
フィード

document.write再考
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
English AbstractThis document revisits the document.write method, exploring its functionality, application, and relevance in contemporary web development. Authored by Taketoshi Aono, a Development Lead at AI Shift Corporation and a contributor to the V8 JavaScript Engine, it provides a comprehensive analysis of how document.write inserts HTML fragments into the document, supports broken HTML fragments, and its unique capability to intervene in the browser's rendering process. The document outlines the advantages of using document.write, such as its ability to guarantee completion of processes before page display, making it suitable for measurement tags and essential pre-rendering processes. However, it also addresses significant drawbacks, including the synchronous loading requirement of external scripts and the potential to disrupt page rendering. The discussion extends to browser interventions in document.write usage under specific conditions and explores alternative approaches to as
2年前

Parsing Javascript
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
The document provides an in-depth look at the process of parsing in Javascript. It explains parsing as the transformation of a programming language described in strings into a structured state. Key topics include the flow of parsing (reading source code, converting Unicode sequences and escapes, tokenization, etc.), dealing with Javascript escapes, lexical analysis, syntax analysis using Backus-Naur Form (BNF), top-down and bottom-up parsing methods, and challenges in parsing regular expressions, template literals, destructuring assignments, and arrow functions. The document also discusses pre-parsing in browsers and testing for custom parsers, highlighting the complexity and intricacies involved in parsing Javascript.「Parsing Javascript」は、Javascriptのパース(解析)プロセスについて詳細に説明しています。この文書は、文字列で記述されたプログラミング言語を構造化された状態に変換するパースの流れ(ソースコードの読み込み、Unicodeシーケンスとエスケープの変換、トークン化など)、Javascriptエスケープの扱い、字句解析、Backus-Naur Form(BNF)を使用した構文解析、トップダウンとボトムアップのパース方法、正規表現、テンプレートリテラル、分解代入、アロー関数のパースの難しさについて述べています。また、ブラ
2年前

JSON & Object Tips
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
The slide provides detailed insights into advanced techniques and tips for using JSON and JavaScript objects. It covers topics like the use of JSON.stringify, including its definition, functionalities, and how it goes beyond simple stringification of JSON. The slide delves into the use of the replacer function in JSON.stringify, explaining its purpose and demonstrating its application with code examples. Additionally, it touches on performance aspects, comparing JSON.stringify with other methods and suggesting more efficient alternatives like typia. The latter part of the slide focuses on structuredClone for object copying, highlighting its specifications and limitations compared to traditional JSON methods.JSONとJavaScriptオブジェクトを使う際の高度なテクニックとコツについて詳しく説明しています。JSON.stringifyの使用方法、その定義、機能、単純なJSON文字列化を超える機能について触れています。また、JSON.stringifyにおけるreplacer関数の使用方法やその目的について、コード例を交えて説明しています。さらに、他の方法と比較したパフォーマンスの観点から、より効率的な代替方法としてtypiaの使用を提案しています。スライドの後半では、オブジェクトのコピーにstructuredCloneを使用することに焦点を当て、伝統的なJSO
2年前

Modern TypeScript
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
Modern TypeScript coding techniques and tips.
6年前

javascript - behind the scene
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
javascriptのロードからパースまでの仕組みと最適化について
6年前

tc39 proposals
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
tc39のproposals throw expressionricher-keysclass-access-expression
6年前

React-Springでリッチなアニメーション
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
react-springでリッチなアニメーションを実現した記録です。リッチとは...
6年前

javascript internationalization API
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
EcmascriptのInternationalization APIについて
6年前

How V8 executes WASM
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
WASM Pipeline of V8 javascript engine
6年前

RegExp and Unicode in javascript
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
About treatment of RegExp and Unicode in javascript.
7年前

How javascript works?
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
Javascript execution flow.
7年前

Google Apps Scriptの良さについてしゃべる資料
Taketoshi Aono(青野健利 a.k.a brn) (@brn) on Speaker Deck
GASでUI作ったり claspで管理したりGASの実行環境についてとか
7年前