1. About this book 2. Deploying ECMAScript 6 2.1 Using ECMAScript 6 today 2.2 ES6 REPLs 2.3 Transpilation tools 2.4 Other useful ES6 tools and libraries 2.5 The future: native ES6 2.6 Are there ES6 features that can’t be transpiled to ES5? 3. Babel setups for browsers and Node.js 3.1 npm and local installs 3.2 Source maps 3.3 Browser setup: ES6 via webpack and Babel 3.4 Node.js setup: Dynamically
Benedikt Meurer JavaScript Engine Hacker and Programming Language Enthusiast. A new approach to Function.prototype.bind 25 Dec 2015 javascript • performance • v8The performance and compatibility of Function.prototype.bind and the resulting bound function objects has traditionally always been an issue in V8 (and thereby in Chromium based browsers and Node.js driven servers). Consider the following
Mixins and Javascript: The Good, the Bad, and the Ugly. Mixins and JavaScript are a like the classic Clint Eastwood movie. The good is that composing objects out of small pieces of implementation is even possible due to JavaScript's flexible nature, and that mixins are fairly popular in certain circles. The bad is a long list: there's no common idea of what the concept of a mixin even is in JavaSc
Since 2009 JavaScript programming on the web has a way to write concurrent programs using shared-nothing threads: Web Workers. But beyond some specialized use cases (e.g. Google Photos uses them for running some filters that need a lot of CPU) they haven’t seen any mainstream adoption. This will change in 2016. The 2 main reasons are: Virtual DOM has given us a programming model on the web that wo
Critics of frameworks tend to totally miss the value that they provide for people. Google’s Paul Lewis recently wrote The Cost of Frameworks, analyzing the performance implications of using JavaScript frameworks on mobile devices. Here’s Paul’s list of why people use frameworks: Frameworks are fun to use. Frameworks make it quicker to build an MVP. Frameworks work around lumps / bugs in the platfo
The real tragedy would be if people forgot, you can have new ideas about programming models… If the next generation of programmers grows up never being exposed to these ideas, and they teach [only what they…
Over three years ago, Rafael Weinstein, Erik Arvidsson, and I set out to design and implement what we believed to be the primitive underlying the data-binding system of MDV ("model-driven views"). We prototyped an implementation in a branch of V8, then got agreement from the V8 team to build a real version upstream, while pushing Object.observe ("O.o") as a part of the upcoming ES7 standard and wo
A rich text editor for everyday writing. Compose beautifully formatted text in your web application. Trix is a WYSIWYG editor for writing messages, comments, articles, and lists—the simple documents most web apps are made of. It features a sophisticated document model, support for embedded attachments, and outputs terse and consistent HTML. View on GitHub ❤️ Made by 37signals.
With the release of ES2015 comes three new ways to create functions in JavaScript. // Arrow functions const add = (x, y) => { return x + y }// Concise methods const MathUtils = { add (x, y) { return x + y } }// Classes class Point { constructor (x, y) { this.x = x this.y = y } }// Turns out, `Point` is still just a function.People have a great time pointing at JavaScript and sarcastically saying t
Whether I like it or not, not everyone using my web apps will be running iOS 9 on an iPhone 6S or a Nexus 6P and connecting via super-speedy wifi. The reality is often anything but that. 3G connections and older hardware is often the norm. Google reports that there are 1.4 billion active Android users. Many of them, will no doubt, be running less-than-top-of-the-line hardware. And, if you read stu
A little while ago I briefly talked about my latest blog rewrite and promised to go more in-depth on specific things I learned. Today I'm going to talk about immutable data structures in JavaScript, specifically two libraries immutable.js and seamless-immutable. There are other libraries, but the choice is conceptually between truly persistent data structures or copying native JavaScript objects,
I'm a fan of Lisp programming languages, but there's an incredible conceptual elegance that struggles to materialise as readable elegance for many unfamiliar programmers. The underlying concepts are incredibly simple, but the learning curve can represent a disproportionate challenge. Brief History # Lisp is a derivation of the phrase List Processing. The fundamental idea of the language is that yo
今日 12 月 24 日はクリスマス・イヴ。日本の街は、鮮やかなイルミネーションが街路樹やビルを彩り、お店やレストランもクリスマス仕様に変身し、華やかな雰囲気に包まれています…
Web Inspector now has two great tools designed to make debugging JavaScript programs easier: the Code Coverage Profiler and the Type Profiler. The Code Coverage Profiler visually displays exactly which sections of your JavaScript program have executed. The Type Profiler visually annotates important variables with the collected set of type information for those variables. Both tools make understand
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く