Chapter 1: JavaScript Primer · color: JavaScript JavaScript JavaScript src a }
"Developing a Javascript SDK Presentation" by Viesturs Zariņš from ZoomCharts at JavaScript...
-
Upload
edgars-letinskis -
Category
Software
-
view
600 -
download
0
Transcript of "Developing a Javascript SDK Presentation" by Viesturs Zariņš from ZoomCharts at JavaScript...
DOS 6.2● 320x240x8bpp● Direct access to pixels on screen● Assembler for Performance
Web has finally caught up in the graphics department● Multiple browsers & rendering technologies● Multiple resolutions● Performance varies by browser & device
A long time ago
● We write in Coffeescript● Commit to GITHub● Build system in Javascript● Debug in Chrome● Run automated tests● Like WebStorm (and Vim)
Development setup
Big Screen Resolution
Use devicePixelRatio for sharp rendering
No hardware acceleration beyond 2048x2048
● 100% cpu → input events blocked
● Weird browser lockups● Dumb code fixes stuff:
width = r1 - r0if r0 + r1 == -2 r0 = 0 r1 = 0context.beginPath()
Safari
● Trial → support → buy● 1 day issue resolution● #1Tell me what I did wrong● #2 Can you do ...
Support
We are looking for a statically typed language:● Error checking● Performance● Superior minification
● Easy to write and read● Easy to call from JS
Future