Marija Selakovic September 25th, 2015 JSConf, Berlin
|
|
- Shanon Nash
- 6 years ago
- Views:
Transcription
1 Let's make JavaScript programs faster Marija Selakovic September 25th, 2015 JSConf, Berlin
2 About me PhD Darmstadt First Performance, program analysis and refactorings Focus on JavaScript 1096 pages 172 pages
3 This talk :)
4 Why does JS performance matter? Crucial for responsiveness Crucial for energy efficiency
5 Why do we optimize JavaScript code? JIT compilation
6 Why do we optimize JavaScript code? Optimizations are limited
7 Why do we optimize JavaScript code? DEOPT and bailout
8 Why do we optimize JavaScript code? So, developers still manually optimize
9 How do developers optimize JS? Analyzed 98 performance issue reports 16 popular JavaScript projects
10 Inefficient iteration for(var key in src) { if (src.hasownproperty(key)) { dst[key] = src[key]; } } var keys = Object.keys(src); for (var i = 0, l = keys.length; i < l; i++) { var key = keys[i]; dst[key] = src[key]; }
11 Inefficient iteration 60% from jsperf.com
12 Repeated execution events = events.split(/\s+/); var eventsplitter = /\s+/;... events = events.split(eventsplitter);
13 Repeated execution 15% from jsperf.com
14 Inefficient copying var arraycopy=[]; for (var i = 0; i < array.length; i++) { arraycopy.push(array[i]); } var arraycopy=array.prototype.slice.call(array);
15 Inefficient copying 213% from jsperf.com
16 Inefficient API usage str.split("'").join("\\'") str.replace(/'/g, "\\'")
17 Inefficient API usage 44% from jsperf.com
18 Performance vs. maintainability Really?
19 Performance vs. maintainability
20 Complexity of optimizations Percentage of optimizations 35% of all optimizations don't change number of statements Do the optimizations increase the complexity of code? Percentage of optimizations % of all optimizations increase cyclomatic complexity by a value between 1 and Difference in number of statements Difference in cyclomatic complexity
21 What we have learned so far... Relatively simple changes Recurring optimizations Can we automate this? Program Optimized program
22 Semi-automatic refactorings Program + tests TRANSFORMATION Optimized program
23 Semi-automatic refactorings Program + tests + pattern specification AST matching AST rewriting Performance measurement Optimized program
24 Pattern specification Two fragments of JS code: original and optimized Placeholders for identifiers, literals and expressions //original code expression1.split($x).join($y); //optimized code expression1.replace(new RegExp($x,g),$y);
25 AST transformation Original code Optimized code Program Optimized program
26 AST matching AST: original code CallExpression AST: program CallExpression MemberExpression Identifier: $y MemberExpression Literal: \\' CallExpression Identifier: join CallExpression Identifier: join MemberExpression Identifier: $x MemberExpression Literal: ' Identifier: expression1 Identifier: split Identifier: str Identifier: split expression1.split($x).join($y); str.split("'").join("\\'");
27 AST rewriting AST: optimized code CallExpression MemberExpression NewExpression Identifier: $y Identifier: expression1 Identifier: replace Identifier: RegExp Identifier: $x Identifier: g expression1.replace(new RegExp($x,g), $y) AST: optimized program CallExpression MemberExpression NewExpression Literal:\\' Identifier: str Identifier: replace Identifier: RegExp Literal: ' Identifier: g str.replace(new RegExp("'",g), "\\'")
28 Performance measurement Runs original and modified program on given tests Shows the differences in execution times for each test
29 Can we find more optimizations? Specified 6 single statement patterns Run against 10 node.js libraries Found 35 new optimizations 24 of 35 show speedup YES, finds new optimizations!
30 Example function isdate(input) { return Object.prototype.toString.call(input) === '[object Date]' input instanceof Date; } function isdate(input) { return input instanceof Date Object.prototype.toString.call(input) === '[object Date]'; } 6 of 10 speedup
31 Conclusion Relatively simple changes can significantly improve performance of JS code, and semiautomatic refactorings can help you to achieve this goal! Thanks :)
Performance Issues and Optimizations in JavaScript: An Empirical Study
Performance Issues and Optimizations in JavaScript: An Empirical Study Marija Selakovic Department of Computer Science TU Darmstadt, Germany m.selakovic89@gmail.com Michael Pradel Department of Computer
More informationSynode: Understanding and Automatically Preventing Injection Attacks on Node.js
Synode: Understanding and Automatically Preventing Injection Attacks on Node.js Cristian-Alexandru Staicu 1 Michael Pradel 1 Ben Livshits 2 1 TU Darmstadt 2 Imperial College London, Brave Software February
More informationBig Code: last 5 ETH
http://plml.ethz.ch Big Code: last 5 years @ ETH http://www.inferui.com/ elem.notify({ position: top, autohide: false,? }); MemberExpression Identifier elem Property notify CallExpression Property position
More informationUnderstanding and Automatically Preventing Injection Attacks on Node.js
Understanding and Automatically Preventing Injection Attacks on Node.js Michael Pradel TU Darmstadt Joint work with Cristian Staicu (TU Darmstadt) and Ben Livshits (Microsoft Research, Redmond) 1 Why JavaScript?
More informationAn Actionable Performance Profiler for Optimizing the Order of Evaluations
An Actionable Performance Profiler for Optimizing the Order of Evaluations Marija Selakovic TU Darmstadt Germany m.selakovic89@gmail.com ABSTRACT The efficiency of programs often can be improved by applying
More informationJavaScript. History. Adding JavaScript to a page. CS144: Web Applications
JavaScript Started as a simple script in a Web page that is interpreted and run by the browser Supported by most modern browsers Allows dynamic update of a web page More generally, allows running an arbitrary
More informationEsprima. Release master
Esprima Release master Apr 15, 2018 Contents 1 Chapter 1. Getting Started 1 1.1 Supported environments......................................... 1 1.2 Using Node.js to play with Esprima...................................
More informationJavaScript CS 4640 Programming Languages for Web Applications
JavaScript CS 4640 Programming Languages for Web Applications 1 How HTML, CSS, and JS Fit Together {css} javascript() Content layer The HTML gives the page structure and adds semantics Presentation
More informationFull Stack boot camp
Name Full Stack boot camp Duration (Hours) JavaScript Programming 56 Git 8 Front End Development Basics 24 Typescript 8 React Basics 40 E2E Testing 8 Build & Setup 8 Advanced JavaScript 48 NodeJS 24 Building
More informationTypeDevil: Dynamic Type Inconsistency Analysis for JavaScript
TypeDevil: Dynamic Type Inconsistency Analysis for JavaScript Michael Pradel 1, Parker Schuh 2, Koushik Sen 2 1 TU Darmstadt, 2 UC Berkeley 1 Motivation JavaScript: Dynamic and permissive Problems remain
More informationLLV8: Adding LLVM as an extra JIT tier to V8 JavaScript engine
LLV8: Adding LLVM as an extra JIT tier to V8 JavaScript engine Dmitry Melnik dm@ispras.ru September 8, 2016 Challenges of JavaScript JIT compilation Dynamic nature of JavaScript Dynamic types and objects:
More informationJITProf: Pinpointing JIT-Unfriendly JavaScript Code
JITProf: Pinpointing JIT-Unfriendly JavaScript Code Liang Gong 1, Michael Pradel 2, Koushik Sen 1 1 UC Berkeley, 2 TU Darmstadt 1 Motivation JavaScript: One of the most popular languages Performance: Crucial
More informationCompiler Design Spring 2018
Compiler Design Spring 2018 Thomas R. Gross Computer Science Department ETH Zurich, Switzerland 1 Logistics Lecture Tuesdays: 10:15 11:55 Thursdays: 10:15 -- 11:55 In ETF E1 Recitation Announced later
More informationWeb Application Development
Web Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie JavaScript JAVASCRIPT FUNDAMENTALS Agenda
More informationCS193X: Web Programming Fundamentals
CS193X: Web Programming Fundamentals Spring 2017 Victoria Kirst (vrk@stanford.edu) CS193X schedule Today - Middleware and Routes - Single-page web app - More MongoDB examples - Authentication - Victoria
More informationJavaScript. History. Adding JavaScript to a page. CS144: Web Applications
JavaScript Started as a simple script in a Web page that is interpreted and run by the browser Supported by most modern browsers Allows dynamic update of a web page More generally, allows running an arbitrary
More informationJavaScript for PHP Developers
JavaScript for PHP Developers Ed Finkler @funkatron coj@funkatron.com May 18, 2010 #tekx #js4php http://joind.in/1564 What is this? 2 A practical overview of JS for the PHP developer Stop c+p'ing, start
More informationWEB DEVELOPER BLUEPRINT
WEB DEVELOPER BLUEPRINT HAVE A QUESTION? ASK! Read up on all the ways you can get help. CONFUSION IS GOOD :) Seriously, it s scientific fact. Read all about it! REMEMBER, YOU ARE NOT ALONE! Join your Skillcrush
More informationLocal optimization of JavaScript code
PPGI UNIRIO Local optimization of JavaScript code FÁBIO FARZAT MÁRCIO BARROS GUILHERME TRAVASSOS Emphasis o Break things instead of repairing them o Syntax tree level manipulation instead of source code
More informationReactive Web Programming
Reactive Web Programming Colin Vidal colin.vidal@inria.fr INRIA Sophia Antipolis Supervisors : Manuel Serrano Gérard Berry December 2, 2015 1 / 14 JavaScript language A mainstream language to write web
More informationJavaScript CS 4640 Programming Languages for Web Applications
JavaScript CS 4640 Programming Languages for Web Applications 1 How HTML, CSS, and JS Fit Together {css} javascript() Content layer The HTML gives the page structure and adds semantics Presentation
More informationJS Event Loop, Promises, Async Await etc. Slava Kim
JS Event Loop, Promises, Async Await etc Slava Kim Synchronous Happens consecutively, one after another Asynchronous Happens later at some point in time Parallelism vs Concurrency What are those????
More informationDLint: Dynamically Checking Bad Coding Practices in JavaScript
DLint: Dynamically Checking Bad Coding Practices in JavaScript Liang Gong 1, Michael Pradel 2, Manu Sridharan 3 and Koushik Sen 1 1 UC Berkeley 2 TU Darmstadt 3 Samsung Research America Why JavaScript?
More informationDynamic Languages Strike Back. Steve Yegge Stanford EE Dept Computer Systems Colloquium May 7, 2008
Dynamic Languages Strike Back Steve Yegge Stanford EE Dept Computer Systems Colloquium May 7, 2008 What is this talk about? Popular opinion of dynamic languages: Unfixably slow Not possible to create IDE-quality
More informationJavaScript Introduction
JavaScript Introduction Web Technologies I. Zsolt Tóth University of Miskolc 2016 Zsolt Tóth (UM) JavaScript Introduction 2016 1 / 31 Introduction Table of Contents 1 Introduction 2 Syntax Variables Control
More informationBenefits of object-orientationorientation
ITEC 136 Business Programming Concepts Week 14, Part 01 Overview 1 Week 14 Overview Week 13 review What is an object? (three parts) State (properties) Identity (location in memory) Behavior (methods) 2
More informationSDN-based Network Obfuscation. Roland Meier PhD Student ETH Zürich
SDN-based Network Obfuscation Roland Meier PhD Student ETH Zürich This Talk This thesis vs. existing solutions Alice Bob source: Alice destination: Bob Hi Bob, Hi Bob, Payload encryption ǾǼōĦ
More informationComprehensive AngularJS Programming (5 Days)
www.peaklearningllc.com S103 Comprehensive AngularJS Programming (5 Days) The AngularJS framework augments applications with the "model-view-controller" pattern which makes applications easier to develop
More informationDLint: Dynamically Checking Bad Coding Practices in JavaScript
DLint: Dynamically Checking Bad Coding Practices in JavaScript Liang Gong 1, Michael Pradel 2, Manu Sridharan 3 and Koushik Sen 1 1 UC Berkeley 2 TU Darmstadt 3 Samsung Research America Why JavaScript?
More informationArrays. Lecture 11 CGS 3416 Fall October 26, 2015
Arrays Lecture 11 CGS 3416 Fall 2015 October 26, 2015 Arrays Definition: An array is an indexed collection of data elements of the same type. Indexed means that the array elements are numbered (starting
More informationFuzzilli. (Guided-)fuzzing for JavaScript engines. Samuel Groß
Fuzzilli (Guided-)fuzzing for JavaScript engines Samuel Groß (saelo@google.com) Motivation Cool bugs in JS engine runtime implementations, JIT compilers, etc. var a = [1, 2, 3, 4, 5]; var i = {}; i.valueof
More informationAn Introduction to TypeScript. Personal Info
An Introduction to TypeScript Jason Bock Practice Lead Magenic Level: Beginner/Intermediate Personal Info http://www.magenic.com http://www.jasonbock.net https://www.twitter.com/jasonbock https://www.github.com/jasonbock
More informationComparing Software Abstractions Baby Steps. Michael Hansen Lab Lunch Talk 2011
Comparing Software Abstractions Baby Steps Michael Hansen Lab Lunch Talk 2011 Comparing Abstractions Need objective comparison method Libraries (OpenGL vs. Direct3D) Language constructs ( -expressions,
More informationJML and Java 1.5+ David R. Cok Eastman Kodak Company, Research Laboratories 9 October 2008 SAVCBS08 workshop
JML and Java 1.5+ David R. Cok Eastman Kodak Company, Research Laboratories 9 October 2008 SAVCBS08 workshop Java 1.5 was a big step (in 2004) Tools built on or for Java had to make a considerable infrastructure
More informationProject Design. Error Format
Project Design Designing for the future is important. In the real world, "scope creep" is inevitable. In our world of CSE 131B, specifications are clarified and altered slightly as time goes by and questions
More informationJScript Reference. Contents
JScript Reference Contents Exploring the JScript Language JScript Example Altium Designer and Borland Delphi Run Time Libraries Server Processes JScript Source Files PRJSCR, JS and DFM files About JScript
More informationPhp copy associative array to another array. Php copy associative array to another array.zip
Php copy associative array to another array Php copy associative array to another array.zip 11/01/2014 Experts Exchange > Questions > How to send a javascript associative array {'assoc_array': assoc_array,
More informationCSCI 3155: Lab Assignment 6
CSCI 3155: Lab Assignment 6 Fall 2012: Due Saturday, April 19, 2014 Unlike the last few labs, our primary focus in the lab is not new language features. Instead, we will explore some related topics that
More informationUnderstanding and Automatically Preventing Injection Attacks on Node.js
Understanding and Automatically Preventing Injection Attacks on Node.js Cristian-Alexandru Staicu, Michael Pradel, Ben Livshits Technical Report TUD-CS-2016-14663 TU Darmstadt, Department of Computer Science
More informationArrays. Lecture 11 CGS 3416 Spring March 6, Lecture 11CGS 3416 Spring 2017 Arrays March 6, / 19
Arrays Lecture 11 CGS 3416 Spring 2017 March 6, 2017 Lecture 11CGS 3416 Spring 2017 Arrays March 6, 2017 1 / 19 Arrays Definition: An array is an indexed collection of data elements of the same type. Indexed
More informationQUIZ: What value is stored in a after this
QUIZ: What value is stored in a after this statement is executed? Why? a = 23/7; QUIZ evaluates to 16. Lesson 4 Statements, Expressions, Operators Statement = complete instruction that directs the computer
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationWelcome to CS50 section! This is Week 10 :(
Welcome to CS50 section! This is Week 10 :( This is our last section! Final project dates Official proposals: due this Friday at noon Status report: due Monday, Nov 28 at noon Hackathon: Thursday, Dec
More informationLecture content. Course goals. Course Introduction. TDDA69 Data and Program Structure Introduction
Lecture content TDDA69 Data and Program Structure Introduction Cyrille Berger Course Introduction to the different Programming Paradigm The different programming paradigm Why different paradigms? Introduction
More informationBEAMJIT, a Maze of Twisty Little Traces
BEAMJIT, a Maze of Twisty Little Traces A walk-through of the prototype just-in-time (JIT) compiler for Erlang. Frej Drejhammar 130613 Who am I? Senior researcher at the Swedish Institute
More informationInterprocedural Type Specialization of JavaScript Programs Without Type Analysis
Interprocedural Type Specialization of JavaScript Programs Without Type Analysis Maxime Chevalier-Boisvert joint work with Marc Feeley ECOOP - July 20th, 2016 Overview Previous work: Lazy Basic Block Versioning
More informationCSC Web Programming. Introduction to JavaScript
CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its
More informationAMAχOS Abstract Machine for Xcerpt
AMAχOS Abstract Machine for Xcerpt Principles Architecture François Bry, Tim Furche, Benedikt Linse PPSWR 06, Budva, Montenegro, June 11th, 2006 Abstract Machine(s) Definition and Variants abstract machine
More informationSummary: Open Questions:
Summary: The paper proposes an new parallelization technique, which provides dynamic runtime parallelization of loops from binary single-thread programs with minimal architectural change. The realization
More informationFlow-sensitive rewritings and Inliner improvements for the Graal JIT compiler
1 / 25 Flow-sensitive rewritings and for the Graal JIT compiler Miguel Garcia http://lampwww.epfl.ch/~magarcia/ 2014-07-07 2 / 25 Outline Flow-sensitive rewritings during HighTier Example Rewritings in
More informationNODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js
NODE.JS SERVER SIDE JAVASCRIPT Introduc)on Node.js Node.js was created by Ryan Dahl starting in 2009. For more information visit: http://www.nodejs.org 1 What about Node.js? 1. JavaScript used in client-side
More informationDLint and JITProf. [FSE 15] JITProf: Pinpointing JIT-unfriendly JavaScript code Liang Gong, Michael Pradel, Koushik Sen
DLint and JITProf DLint: Dynamically Checking JS Coding Practice [ISSTA 15] DLint: Dynamically Checking Bad Coding Practices in JavaScript Liang Gong, Michael Pradel, Manu Sridharan, Koushik Sen JITProf:
More informationSOSCON 2016 JerryScript
SOSCON 2016 JerryScript An ultra-lightweight JavaScript engine for the Internet of Things Samsung Electronics SRUK OSG Tilmann Scheller 18.11.2016 Overview Introduction JerryScript JerryScript Internals
More informationDerivations vs Parses. Example. Parse Tree. Ambiguity. Different Parse Trees. Context Free Grammars 9/18/2012
Derivations vs Parses Grammar is used to derive string or construct parser Context ree Grammars A derivation is a sequence of applications of rules Starting from the start symbol S......... (sentence)
More informationHow Web Programming is More Than a Server and Some Clients
How Web Programming is More Than a Server and Some Clients Laure Philips Cracked Earth, Abraham Lake, photo by Mike Isaak Photography About me PhD student I am a PhD-student at the Software Languages Lab,
More informationStop coding Pascal. Saturday, April 6, 13
Stop coding Pascal...emotional sketch about past, present and future of programming languages, Python, compilers, developers, Life, Universe and Everything Alexey Kachayev CTO at KitApps Inc. Open source
More informationSupercomputing in Plain English Part IV: Henry Neeman, Director
Supercomputing in Plain English Part IV: Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma Wednesday September 19 2007 Outline! Dependency Analysis! What is
More informationThe course is supplemented by numerous hands-on labs that help attendees reinforce their theoretical knowledge of the learned material.
Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc WA2442 Introduction to JavaScript Objectives This intensive training course
More informationGetting Started with
Getting Started with Meganadha Reddy K. Technical Trainer NetCom Learning www.netcomlearning.com Agenda How websites work Introduction to JavaScript JavaScript Frameworks Getting Started : Angular JS Q&A
More informationTruffle A language implementation framework
Truffle A language implementation framework Boris Spasojević Senior Researcher VM Research Group, Oracle Labs Slides based on previous talks given by Christian Wimmer, Christian Humer and Matthias Grimmer.
More information4.1 Review - the DPLL procedure
Applied Logic Lecture 4: Efficient SAT solving CS 4860 Spring 2009 Thursday, January 29, 2009 The main purpose of these notes is to help me organize the material that I used to teach today s lecture. They
More informationOur Ba'le Against Technical Debt GeekCamp 2017
Our Ba'le Against Technical Debt GeekCamp 2017 Ifnu, July, 15th 2017 Who am I? Ifnu Bima Computer Science IPB & MBA School of Bussiness Management ITB Join Blibli.com in 2012 Java & JavaScript Developer
More informationNode.js. Node.js Overview. CS144: Web Applications
Node.js Node.js Overview JavaScript runtime environment based on Chrome V8 JavaScript engine Allows JavaScript to run on any computer JavaScript everywhere! On browsers and servers! Intended to run directly
More informationCompilers and Code Optimization EDOARDO FUSELLA
Compilers and Code Optimization EDOARDO FUSELLA The course covers Compiler architecture Pre-requisite Front-end Strong programming background in C, C++ Back-end LLVM Code optimization A case study: nu+
More informationBuild Native-like Experiences in HTML5
Developers Build Native-like Experiences in HTML5 The Chrome Apps Platform Joe Marini - Chrome Developer Advocate About Me Joe Marini Developer Relations Lead - Google Chrome google.com/+joemarini @joemarini
More informationLast Class. Introduction to arrays Array indices Initializer lists Making an array when you don't know how many values are in it
Last Class Introduction to arrays Array indices Initializer lists Making an array when you don't know how many values are in it public class February4{ public static void main(string[] args) { String[]
More informationJust-In-Time Compilers & Runtime Optimizers
COMP 412 FALL 2017 Just-In-Time Compilers & Runtime Optimizers Comp 412 source code IR Front End Optimizer Back End IR target code Copyright 2017, Keith D. Cooper & Linda Torczon, all rights reserved.
More informationTask 1. Set up Coursework/Examination Weights
Lab02 Page 1 of 6 Lab 02 Student Mark Calculation HTML table button textbox JavaScript comments function parameter and argument variable naming Number().toFixed() Introduction In this lab you will create
More informationJavaScript: The Basics
JavaScript: The Basics CISC 282 October 4, 2017 JavaScript A programming language "Lightweight" and versatile Not universally respected Appreciated in the web domain Adds programmatic functionality to
More informationTools. SWE 432, Fall Design and Implementation of Software for the Web
Tools SWE 432, Fall 2016 Design and Implementation of Software for the Web Today Before we can really make anything, there s a bunch of technical stuff to get out of the way Tools make our lives so much
More informationOne language to rule them all: TypeScript. Gil Fink CEO and Senior Consultant, sparxys
One language to rule them all: TypeScript Gil Fink CEO and Senior Consultant, sparxys About Me sparxys CEO and Senior consultant Microsoft MVP in the last 8 years Pro Single Page Application Development
More informationFahad Zafar, Dibyajyoti Ghosh, Lawrence Sebald, Shujia Zhou. University of Maryland Baltimore County
Accelerating a climate physics model with OpenCL Fahad Zafar, Dibyajyoti Ghosh, Lawrence Sebald, Shujia Zhou University of Maryland Baltimore County Introduction The demand to increase forecast predictability
More informationB ActionScript Optimization Measurements
B ActionScript Optimization Measurements Code optimization is an evidence-based discipline. All optimizations detailed in Chapter 15, ActionScript Optimization were verified across different versions of
More informationProgramming. Dr Ben Dudson University of York
Programming Dr Ben Dudson University of York Outline Last lecture covered the basics of programming and IDL This lecture will cover More advanced IDL and plotting Fortran and C++ Programming techniques
More informationInternet Praktikum TK WS17/18 (Kickoff) Lecturer: Christian Meurisch, Sebastian Kauschke
Internet Praktikum TK WS17/18 (Kickoff) Lecturer: Christian Meurisch, Sebastian Kauschke LECTURERS Christian Meurisch meurisch@tk.tu-darmstadt.de S2/02 A112 Sebastian Kauschke kauschke@tk.tu-darmstadt.de
More informationModule 6 Node.js and Socket.IO
Module 6 Node.js and Socket.IO Module 6 Contains 2 components Individual Assignment and Group Assignment Both are due on Wednesday November 15 th Read the WIKI before starting Portions of today s slides
More informationRYERSON UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPS 710 FINAL EXAM FALL 2016
RYERSON UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPS 710 FINAL EXAM FALL 2016 NAME: STUDENT ID: INSTRUCTIONS Please answer directly on this exam. This exam has 4 questions, and is worth 40% of the course
More informationInformation & Technology Services. Opting in for Multi-Factor Authentication
Information & Technology Services Opting in for Multi-Factor Authentication Login to mycampus.astate.edu When logged in, After you have logged in successfully, you should see folders on the left side of
More informationPresent and Future of the RhoMobile platform. Migrating legacy applications, Node.js on mobile devices right now and more
Present and Future of the RhoMobile platform Migrating legacy applications, Node.js on mobile devices right now and more Key facts about RhoMobile and Tau 2008 2011 2014 2015 2016 RhoMobile founded RhoMobile
More informationScala 2.13 Collections. *
[ARRAYDEQUE] Scala 2.13 Collections * https://english.stackexchange.com/questions/226954/how-is-deque-commonly-pronounced ABOUT ME Pathikrit Bhowmick github.com/pathikrit Coatue Management Scala for 5
More informationOverview of List Syntax
Lists and Sequences Overview of List Syntax x = [0, 0, 0, 0] Create list of length 4 with all zeroes x 4300112 x.append(2) 3 in x x[2] = 5 x[0] = 4 k = 3 Append 2 to end of list x (now length 5) Evaluates
More informationXSSDS und noxss Server- und Browser-basierte XSS Erkennung. OWASP Frankfurt, The OWASP Foundation
Germany 2008 Conference http://www.owasp.org/index.php/germany XSSDS und noxss Server- und Browser-basierte XSS Erkennung Martin Johns University of Passau, ISL martin.johns@uni-passau.de Frankfurt, 25.11.08
More informationNode.js Training JavaScript. Richard richardrodger.com
Node.js Training JavaScript Richard Rodger @rjrodger richardrodger.com richard.rodger@nearform.com A New Look at JavaScript Embracing JavaScript JavaScript Data Structures JavaScript Functions Functional
More informationQuick guide to Moq. 1 - About. 2 - Moq basics What is it? Licensing Homepage Contributors. 2.
Quick guide to Moq 1 - About 1.1 - What is it? The author says: Moq (pronounced "Mock-you" or just "Mock") is the only mocking library for.net developed from scratch to take full advantage of.net 3.5 (i.e.
More informationJ2EE Development Best Practices: Improving Code Quality
Session id: 40232 J2EE Development Best Practices: Improving Code Quality Stuart Malkin Senior Product Manager Oracle Corporation Agenda Why analyze and optimize code? Static Analysis Dynamic Analysis
More informationNode.js With Steroids Make Better Node.js Application with Native Add-Ons
Node.js With Steroids Make Better Node.js Application with Native Add-Ons Nicola Del Gobbo, Developer, Packly Who is Nicola Del Gobbo? Developer Contribute to What is Node.js Native Addon? In a very simple
More informationJavaScript and V8 A functional-ish language and implementation in the mainstream
JavaScript and V8 A functional-ish language and implementation in the mainstream Andreas Rossberg, Google Munich rossberg@google.com CEFP 2011, Budapest Outline JavaScript Background Functional concepts
More informationJerryScript An ultra-lightweight JavaScript engine for the Internet of Things
JerryScript An ultra-lightweight JavaScript engine for the Internet of Things Tilmann Scheller Principal Compiler Engineer t.scheller@samsung.com Samsung Research UK OpenIoT Summit Europe 2016 Berlin,
More informationA practical introduction
A practical introduction Felix Geisendörfer Øredev 09.11.2011 (v1) @felixge Twitter / GitHub / IRC Felix Geisendörfer (Berlin, Germany) Audience? JavaScript? Node.js? History Feb 16, 2009 Ryan Dahl starts
More informationClosure Compiler: Speeding Web Appications by Compiling JavaScript
Closure Compiler: Speeding Web Appications by Compiling JavaScript Alan Leung, Software Engineer, Google Outline What is it and what does it do? More advanced usage How do I get started? Questions? Building
More informationOpenACC Course. Office Hour #2 Q&A
OpenACC Course Office Hour #2 Q&A Q1: How many threads does each GPU core have? A: GPU cores execute arithmetic instructions. Each core can execute one single precision floating point instruction per cycle
More informationEXAMINATION INSTRUCTIONS
Midterm exam CSE115/503 Computer Science I Spring 2019 EXAMINATION INSTRUCTIONS This examination has 9 pages. If your copy is missing a page, let one of the course staff know. Before starting this test,
More informationOn the BEAM Implementation
On the BEAM Implementation Ricardo Lopes 1,Vítor Santos Costa 2, and Fernando Silva 1 1 DCC-FC and LIACC, Universidade do Porto, Portugal {rslopes,fds}@ncc.up.pt 2 COPPE-Sistemas, Universidade Federal
More informationNotes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.)
Notes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.) David Haraburda January 30, 2013 1 Introduction Scala is a multi-paradigm language that runs on the JVM (is totally
More informationMemory Management. Memory Management
Memory Management Chapter 7 1 Memory Management Subdividing memory to accommodate multiple processes Memory needs to be allocated efficiently to pack as many processes into memory as possible 2 1 Memory
More informationJavaScript Fundamentals_
JavaScript Fundamentals_ HackerYou Course Syllabus CLASS 1 Intro to JavaScript Welcome to JavaScript Fundamentals! Today we ll go over what programming languages are, JavaScript syntax, variables, and
More informationThe Joy of Software Development
The Joy of Software Development ABOUT ME Nemo @captn3m0 captnemo.in Work @Razorpay WHY? - Data Structures - Computer Architecture - Algorithms - Operating Systems - Software Eng - Computer Networks - Compiler
More informationJavaScript: the language of browser interactions. Claudia Hauff TI1506: Web and Database Technology
JavaScript: the language of browser interactions Claudia Hauff TI1506: Web and Database Technology ti1506-ewi@tudelft.nl Densest Web lecture of this course. Coding takes time. Be friendly with Codecademy
More informationMemory Management. Memory Management Requirements
Memory Management Subdividing memory to accommodate multiple processes Memory needs to be allocated to ensure a reasonable supply of ready processes to consume available processor time 1 Memory Management
More information- if you look too hard it isn't there
IBM Research Phantom XML - if you look too hard it isn't there Kristoffer H. Rose Lionel Villard XML 2005, Atlanta November 22, 2005 Overview Motivation Phantomization XML Processing Experiments Conclusion
More information