seen from United States

seen from United States
seen from United States

seen from Brazil
seen from Germany
seen from United States
seen from Colombia
seen from Türkiye

seen from Malaysia
seen from Australia

seen from France

seen from Brazil
seen from United States
seen from United States
seen from Türkiye

seen from China
seen from United States
seen from Türkiye
seen from Türkiye
seen from China
Developers: Rev up your JavaScript performance by trying out new Test Drive demo, Asm.js Chess Battle
Developers: Rev up your JavaScript performance by trying out new Test Drive demo, Asm.js Chess Battle
To demonstrate the real-world performance gains possible with asm.js, Microsoft has released a new Test Drive demo, Asm.js Chess Battle. Asm.js is a strict subset of JavaScript that can be used as a low-level and efficient compile target. The Chess Battle demo pits two instances of the popular open-source Stockfish Chess Engine against each other – one running with asm.js optimizations, the…
View On WordPress
Web’in İşlemciye Diyecekleri Var
Scott Hanselman’ın meşhur sözü artık ata sözü kıvamına geldi: JavaScript, web’in assembly dilidir. Bunu doğrulayan da çok çaba oldu. Google “Native Client” diye bir işe girişti. Mozilla, asm.js’i yaptı, kullandı. Her biri, JavaScript’in her seferinde bir metin dosyasından okunup yorumlanan ikliminden makine koduna daha yakın, byte-code seviyesine derlenmiş hâlini hedefledi. Daha hızlı, daha güçlü ve daha doğal web işçiliği için.
Şimdi geldiğimiz yer ise webasm. Herkesin kendi kendine denediği ara JavaScript formuna artık büyük oyuncuların katkı sağladığı bağımsız bir ekip devam edecek. Bu adamların her birinin elinde internet gezgini var. Ve masada olmaları önemli.
Çıkan ürün, ümit edilir ki tüm gezginlerce desteklenecek ve web uygulamaları, daha bir doğal, daha bir semiz olarak mücadelesini sürdürecek.
Geliştiricinin hayatına etkisi ne olacak?
Script’ler gezgine okunabilir metin dosyaları olarak değil, byte-code’a derlenmiş assembly’ler olarak gelecek. Gezgin de üzerinde çalıştığı işlemci mimarisine göre daha az eforla makine koduna dönüşüm yapıp mantığı icra edecek. Geri sararsak, geliştiricinin de uygulamalarındaki script’leri artık bir derleyiciden geçirerek sunması demek bu. TypeScript ve CoffeeScript gibi JavaScript’e derleyen soyutlayıcılarla zaten bu deneyime alışkın olan web emekçileri, tahminimce bu noktada sıkıntı çekmez.
Gezgin tarafında da eğer webasm desteği yoksa, evrenselleşme yolunda giden asm.js’e düşerek durumu kurtarma planı varmış. Asm.js’in Chrome ve IE tarafında desteklenmesi an meselesi.
İlginç bir yoldan geçiyoruz. Web, doğuşundaki yoğun ve güçlü soyutlama ilkesini endüstrideki akıntılardan dolayı kaybediyor ve artık, neredeyse işlemciyle birebir yazışacak yakınlığa geliyor. İşlemcilerin mimarilerinin bu kadar çeşitlendiği ve web’in de bu kadar dallandığı budaklandığı karmaşada bu iki katmanın iletişiminin yükünü yine programcılar maharetli elleriyle üstleniyor ve başarıyor.
Not: Bu yazı Devnot’ta da eş zamanlı yayınlanmıştır.
WebAssembly (short: wasm) is a new binary format for the web, created by Google, Microsoft, Mozilla and others. It will be used for performance critical code and to compile other languages (especially C/C++) to the web platform
Initially, WebAssembly is (roughly) a binary format for delivering asm.js code. The two main advantages of such a format are:
Faster loading. Especially with large code bases and mobile devices, parsing becomes a bottleneck: “On mobile, large compiled codes can easily take 20–40s just to parse” (WebAssembly FAQ). First experiments show that WebAssembly can be loaded more than 20 times faster, because the work for parsing is minimal.
Evolving WebAssembly is simpler: The way that asm.js is currently written is constrained by having to run fast as normal JavaScript (in legacy engines) and by having to support ahead of time compilation within JavaScript syntax.
Legacy engines will be supported via a JavaScript library that translates WebAssembly (binary) to asm.js (source code). First indications are that that is reasonably fast.
What is different this time?
Why should WebAssembly succeed where previous attempts (such as Adobe Flash and Google Portable Native Client) have failed? There are three reasons:
First, this is a collaborative effort, no single company goes it alone. At the moment, the following projects are involved: Firefox, Chromium, Edge and WebKit.
Second, the interoperability with the web platform and JavaScript is excellent. Using WebAssembly code from JavaScript will be as simple as importing a module.
Third, this is not about replacing JavaScript engines, it is more about adding a new feature to them. That greatly reduces the amount of work to implement WebAssembly and should help with getting the support of the web development community.
Google, Apple, Microsoft dan Mozilla Bermitra Untuk Membuat Browser Lebih Cepat
Google, Apple, Microsoft dan Mozilla Bermitra Untuk Membuat Browser Lebih Cepat
Insinyur di Google, Apple, Microsoft dan Mozilla bermitra untuk membuat WebAssembly (alias wasm), sebuah bytecode untuk digunakan dalam browser masa depan yang menjanjikan hingga 20 kali kinerja lebih cepat. (more…)
View On WordPress
PyPy.js is an attempt to replicate the PyPy environment in the browser. It’s slow to load, and it’s little more than a toy at this point, but with some more work in the future it could be pretty neat.
See also the accompanying website, “Are we Python Yet?” for performance tests.
Thanks to SpiderMonkey embeded on latest JXcore.
Windows 10 的 IE 將會有 asm.js 支援
Windows 10 的 IE 將會有 asm.js 支援
Twitter 上看到的:「Bringing asm.js to the Chakra JavaScript engine in Windows 10」。
這樣只剩下 Safari 還沒支援,其他幾個主流瀏覽器都支援了:(出自維基百科「asm.js」條目)
Mozilla Firefox was the first web browser to implement asm.js-specific optimizations, starting with Firefox 22. The optimizations of Google Chrome’s V8 JavaScript engine in Chrome 28 made asm.js benchmarks more than twice as fast as prior versions of Chrome.
View On WordPress