Microarchitectural Implications of Event-Driven Server-Side Web Applications

Total Page:16

File Type:pdf, Size:1020Kb

Microarchitectural Implications of Event-Driven Server-Side Web Applications Microarchitectural Implications of Event-driven Server-side Web Applications Yuhao Zhu Daniel Richins Matthew Halpern Vijay Janapa Reddi The University of Texas at Austin, Department of Electrical and Computer Engineering {yzhu, drichins, matthalp}@utexas.edu, [email protected] Abstract by mapping software efficiently to the hardware substrate. Enterprise Web applications are moving towards server- We must continue to track the developments in the software side scripting using managed languages. Within this shifting ecosystem in order to sustain architecture innovation. context, event-driven programming is emerging as a crucial At the cusp of the software evolution are managed script- programming model to achieve scalability. In this paper, we ing languages, which provide portability, enhanced security study the microarchitectural implications of server-side script- guarantees, extensive library support, and automatic memory ing, JavaScript in particular, from a unique event-driven pro- management. In particular, JavaScript is the peak of all the gramming model perspective. Using the Node.js framework, programming languages, surpassing C, C++, and Java to be we come to several critical microarchitectural conclusions. the most widely used language by developers [1]. From inter- First, unlike traditional server-workloads such as CloudSuite active applications in mobile systems to large-scale analytics and BigDataBench that are based on the conventional thread- software in datacenters, JavaScript is ushering in a new era of based execution model, event-driven applications are heavily execution challenges for the underlying processor architecture. single-threaded, and as such they require significant single- In this paper, we focus on server-side JavaScript, specifi- thread performance. Second, the single-thread performance cally its implications on the design of future server processor is severely limited by the front-end inefficiencies of today’s architectures. While there are numerous studies that have fo- server processor microarchitecture, ultimately leading to over- cused on various aspects of dynamic languages on hardware, all execution inefficiencies. The front-end inefficiencies stem such as garbage collection [2], type checking [3], exploiting from the unique combination of limited intra-event code reuse parallelisms [4,5], and leveraging hardware heterogeneity [6], and large inter-event reuse distance. Third, through a deep we study the implications of the programming model that understanding of event-specific characteristics, architects can is emerging in server-side JavaScript applications, i.e., asyn- mitigate the front-end inefficiencies of the managed-language- chronous event-driven programming. based event-driven execution via a combination of instruction In server-side asynchronous event-driven programming [7, cache insertion policy and prefetcher. 8], user requests are treated as application events and inserted into an event queue. Each event is associated with an event Categories and Subject Descriptors callback. The event-driven system employs a single-threaded event loop that traverses the event queue and executes any C.1 [Processor Architecture]: General available callbacks sequentially. Event callbacks may initi- ate additional I/O events that are executed asynchronously Keywords to the event loop in order to not block other requests. The event-driven model has a critical scalability advantage over the Microarchitecture, Event-driven, JavaScript, Prefetcher conventional thread-based model because it eliminates the ma- 1. Introduction jor inefficiencies associated with heavy threading, e.g., context switching and thread-local storage [9, 10]. Thus, the event- Processor architecture advancements have been largely driven driven model has been widely adopted in building scalable by careful observations made of software. By examining Web applications, mainly through the Node.js [11] framework. and leveraging the inherent workload characteristics, such We find that event-driven server applications are fundamen- as instruction-, thread-, and data-level parallelism, processor tally bounded by single-core performance because of their architects have been able to deliver more efficient computing reliance on the single-threaded event loop. However, unlike conventional single-threaded benchmarks (e.g., SPEC CPU 2006) for which current processor architectures are highly Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are optimized, event-driven server applications suffer from severe not made or distributed for profit or commercial advantage and that copies microarchitecture inefficiencies, particularly front-end bottle- bear this notice and the full citation on the first page. To copy otherwise, to necks, i.e., high instruction cache and TLB misses and branch republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. misprediction rate. Moreover, unlike conventional heavily MICRO 2015 Waikiki, Hawaii USA threaded enterprise workloads that also suffer from front-end Copyright 2015 ACM 978-1-4503-4034-2/15/12 ...$15.00. Request 1 Event Handler Response 1 Handler Thread 1 Single-threaded Request 1 Request 2 Response 2 Incoming Event Loop Event Handler Request 2 Requests Incoming Handler Network Network Network Event Queue Requests Thread 2 . Dispather Request N Outgoing . Thread Responses Response N Request N Event Handler Handler I/O Helper Thread N Thread Pool Figure 1: In the thread-based execution model, each incoming Figure 2: In the event-based execution model, each incoming client request is assigned to a unique thread, which is respon- client request is handled by the single-threaded event loop. sible for returning a request to the client. I/O operations are handled asynchronously. issues, the front-end bottleneck of an event-driven server appli- 2. Background cation stems from the single-threaded event execution model, rather than microarchitectural resources being clobbered by Web applications employ server-side scripting to respond to multiple threads. With the front-end constituting up to half of network requests and provide dynamic content to end-users. the execution cycles, it is clear that current server processor The traditional approach to providing responsiveness to end- designs are suboptimal for executing event-driven workloads. users at scale has been thread-based programming, i.e., to To improve the front-end efficiency of event-driven server increase the number of threads as the number of incoming applications, we study them from an event perspective. We requests increases. Recently, because of several fundamental find that the severe front-end issue arises fundamentally be- limitations of heavy multi-threading that limit system scalabil- cause events have large instruction footprints with little intra- ity, many industry leaders, such as eBay, PayPal, and LinkedIn, event code reuse. Recent studies on client-side event-driven have started to adopt event-driven programming as an alterna- applications also derive similar conclusions [12, 13]. We take tive to achieve scalability more efficiently. this research a step further to make the key observation that In this section, we first discusses thread-based execution event-driven programming inherently exposes strong inter- and its limitations (Sec. 2.1). On that basis, we explain why event code reuse. Taking the L1 I-cache as a starting point, event-driven programming is emerging as an alternative for we show that coordinating the cache insertion policy and the developing large-scale Web applications (Sec. 2.2). instruction prefetcher can exploit the unique inter-event code 2.1. Thread-based Programming reuse and reduce the I-cache MPKI by 88%. In summary, we make the following contributions: Traditional server-side scripting frameworks, such as PHP and • To the best of our knowledge, we are the first to systemati- Ruby, pair user requests with threads, commonly known as cally characterize server-side event-driven execution ineffi- the “thread-per-request” or “single-request-per-script” execu- ciencies, particularly the front-end bottlenecks. tion model. These thread-based execution models, shown in • We tie the root-cause of front-end inefficiencies to charac- generality in Fig.1, consist of a dispatch thread that assigns teristics inherent to the event-driven programming model, each incoming request to a worker thread for processing. The which gives critical microarchitectural optimization insights. result is that at any given time, the server abounds with the • We show that it is possible to drastically optimize away the same number of threads as the number of requests. instruction cache inefficiencies by coordinating the cache While the thread-based execution model is intuitive to pro- insertion policy and prefetching strategy. gram with, it suffers from fundamental drawbacks. As the The remainder of the paper is structured as follows. Sec.2 number of client requests increases, so does the number of provides a background into asynchronous event-driven pro- active threads in the system. As a result, the operating system gramming and why it has emerged as a crucial tipping point overhead, such as thread switching and aggregated memory in server-side programming. Sec.3 presents the workloads we footprint, grows accordingly. Therefore, operating systems study and shows the event-driven applications’ single-threaded typically
Recommended publications
  • Short-Format Workshops Build Skills and Confidence for Researchers to Work with Data
    Paper ID #23855 Short-format Workshops Build Skills and Confidence for Researchers to Work with Data Kari L. Jordan Ph.D., The Carpentries Dr. Kari L. Jordan is the Director of Assessment and Community Equity for The Carpentries, a non-profit that develops and teaches core data science skills for researchers. Marianne Corvellec, Institute for Globally Distributed Open Research and Education (IGDORE) Marianne Corvellec has worked in industry as a data scientist and a software developer since 2013. Since then, she has also been involved with the Carpentries, pursuing interests in community outreach, educa- tion, and assessment. She holds a PhD in statistical physics from Ecole´ Normale Superieure´ de Lyon, France (2012). Elizabeth D. Wickes, University of Illinois at Urbana-Champaign Elizabeth Wickes is a Lecturer at the School of Information Sciences at the University of Illinois, where she teaches foundational programming and information technology courses. She was previously a Data Curation Specialist for the Research Data Service at the University Library of the University of Illinois, and the Curation Manager for WolframjAlpha. She currently co-organizes the Champaign-Urbana Python user group, has been a Carpentries instructor since 2015 and trainer since 2017, and elected member of The Carpentries’ Executive Council for 2018. Dr. Naupaka B. Zimmerman, University of San Francisco Mr. Jonah M. Duckles, Software Carpentry Jonah Duckles works to accelerate data-driven inquiry by catalyzing digital skills and building organiza- tional capacity. As a part of the leadership team, he helped to grow Software and Data Carpentry into a financially sustainable non-profit with a robust organization membership in 10 countries.
    [Show full text]
  • Operational Transformation in Co-Operative Editing
    INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 01, JANUARY 2016 ISSN 2277-8616 Operational Transformation In Co-Operative Editing Mandeep Kaur, Manpreet Singh, Harneet Kaur, Simran Kaur ABSTRACT: Cooperative Editing Systems in real-time allows a virtual team to view and edit a shared document at the same time. The document shared must be synchronized in order to ensure consistency for all the participants. This paper describes the Operational Transformation, the evolution of its techniques, its various applications, major issues, and achievements. In addition, this paper will present working of a platform where two users can edit a code (programming file) at the same time. Index Terms: CodeMirror, code sharing, consistency maintenance, Google Wave, Google Docs, group editors, operational transformation, real-time editing, Web Sockets ———————————————————— 1 INTRODUCTION 1.1 MAIN ISSUES RELATED TO REAL TIME CO- Collaborative editing enables portable professionals to OPERATIVE EDITING share and edit same documents at the same time. Elementally, it is based on operational transformation, that Three inconsistency problems is, it regulates the order of operations according to the Divergence: Contents at all sites in the final document transformed execution order. The idea is to transform are different. received update operation before its execution on a replica Causality-violation: Execution order is different from the of the object. Operational Transformation consists of a cause-effect order. centralized/decentralized integration procedure and a transformation function. Collaborative writing can be E.g., O1 → O3 defined as making changes to one document by a number of persons. The writing can be organized into sub-tasks Intention-violation: The actual effect is different from the assigned to each group member, with the latter part of the intended effect.
    [Show full text]
  • Lock-Free Collaboration Support for Cloud Storage Services With
    Lock-Free Collaboration Support for Cloud Storage Services with Operation Inference and Transformation Jian Chen, Minghao Zhao, and Zhenhua Li, Tsinghua University; Ennan Zhai, Alibaba Group Inc.; Feng Qian, University of Minnesota - Twin Cities; Hongyi Chen, Tsinghua University; Yunhao Liu, Michigan State University & Tsinghua University; Tianyin Xu, University of Illinois Urbana-Champaign https://www.usenix.org/conference/fast20/presentation/chen This paper is included in the Proceedings of the 18th USENIX Conference on File and Storage Technologies (FAST ’20) February 25–27, 2020 • Santa Clara, CA, USA 978-1-939133-12-0 Open access to the Proceedings of the 18th USENIX Conference on File and Storage Technologies (FAST ’20) is sponsored by Lock-Free Collaboration Support for Cloud Storage Services with Operation Inference and Transformation ⇤ 1 1 1 2 Jian Chen ⇤, Minghao Zhao ⇤, Zhenhua Li , Ennan Zhai Feng Qian3, Hongyi Chen1, Yunhao Liu1,4, Tianyin Xu5 1Tsinghua University, 2Alibaba Group, 3University of Minnesota, 4Michigan State University, 5UIUC Abstract Pattern 1: Losing updates Alice is editing a file. Suddenly, her file is overwritten All studied This paper studies how today’s cloud storage services support by a new version from her collaborator, Bob. Sometimes, cloud storage collaborative file editing. As a tradeoff for transparency/user- Alice can even lose her edits on the older version. services friendliness, they do not ask collaborators to use version con- Pattern 2: Conflicts despite coordination trol systems but instead implement their own heuristics for Alice coordinates her edits with Bob through emails to All studied handling conflicts, which however often lead to unexpected avoid conflicts by enforcing a sequential order.
    [Show full text]
  • Linfield College, Computer Science Department COMP 161: Basic Programming Syllabus Spring 2015 Prof
    Linfield College, Computer Science Department COMP 161: Basic Programming Syllabus Spring 2015 Prof. Daniel Ford COURSE DESCRIPTION: Introduces the basic concepts of programming: reading and writing unambiguous descriptions of sequential processes. Emphasizes introductory algorithmic strategies and corresponding structures. (QR). COMP 160 is required for a major in electronic arts and is a prerequisite for COMP 161 and all other required courses for a major or minor in computer science. Extensive hands-on experience with programming projects. Lecture/discussion, lab. PREREQUISITES: Prerequisite: COMP 160. CREDITS: 3 LECTURES: Renshaw 211 Section 1: MWF 2:00 – 2:50 PM WORKSHOPS: Renshaw 211 Workshop: Mondays and Wednesday, 8—9 PM Additional help and tutoring is available by request and through the learning center. PROFESSOR: Daniel Ford Office: Renshaw 210 Phone: x2706 E-mail: [email protected] Office Hours: MWF 10:30—11:30 AM, TTh 2:00—3:00 PM, and by appointment. RECOMMENDED BOOKS: § Cay S. Horstmann, Big Java, http://www.horstmann.com/bigjava.html. Recommended for COMP 160 & 161. Wiley 5th Edition (2012 Early Objects) ~ $90, 4th Edition, 3rd Edition, …, 2nd Edition (2005) ~ $10. § Y. Daniel Liang, Introduction to Java Programming, Comprehensive Version, http://cs.armstrong.edu/liang/intro9e/. Recommended for COMP 160 & 161. Faster, more advanced, but with fewer tips than Big Java. 9th Edition (2012) ~ $90, 8th Edition, …, 6th Edition (2006) ~$10. § Cay S. Horstmann & Gary Cornell, Core Java™, Volume I – Fundamentals and Volume II – Advanced Features (9th Edition), 2012 http://www.horstmann.com/corejava.html. The best reference manuals for Java. Recommended for CS majors and professional Java programmers.
    [Show full text]
  • Link IDE : a Real Time Collaborative Development Environment
    San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research Spring 2012 Link IDE : A Real Time Collaborative Development Environment Kevin Grant San Jose State University Follow this and additional works at: https://scholarworks.sjsu.edu/etd_projects Part of the Computer Sciences Commons Recommended Citation Grant, Kevin, "Link IDE : A Real Time Collaborative Development Environment" (2012). Master's Projects. 227. DOI: https://doi.org/10.31979/etd.rqpj-pj3k https://scholarworks.sjsu.edu/etd_projects/227 This Master's Project is brought to you for free and open access by the Master's Theses and Graduate Research at SJSU ScholarWorks. It has been accepted for inclusion in Master's Projects by an authorized administrator of SJSU ScholarWorks. For more information, please contact [email protected]. Link IDE : A Real Time Collaborative Development Environment A Project Report Presented to The Faculty of the Department of Computer Science San José State University In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science by Kevin Grant May 2012 1 © 2012 Kevin Grant ALL RIGHTS RESERVED 2 SAN JOSE STATE UNIVERSITY The Undersigned Project Committee Approves the Project Titled Link : A Real Time Collaborative Development Environment by Kevin Grant APPROVED FOR THE DEPARTMENT OF COMPUTER SCIENCE SAN JOSÉ STATE UNIVERSITY May 2012 ------------------------------------------------------------------------------------------------------------ Dr. Soon Tee Teoh, Department
    [Show full text]
  • Re-Engineering Apache Wave Into a General-Purpose Federated & Collaborative Platform
    Awakening Decentralised Real-time Collaboration: Re-engineering Apache Wave into a General-purpose Federated & Collaborative Platform Pablo Ojanguren-Menendez, Antonio Tenorio-Forn´es,and Samer Hassan GRASIA: Grupo de Agentes Software, Ingenier´ıay Aplicaciones, Departamento de Ingenier´ıadel Software e Inteligencia Artificial, Universidad Complutense de Madrid, Madrid, 28040, Spain fpablojan, antonio.tenorio, [email protected] Abstract. Real-time collaboration is being offered by plenty of libraries and APIs (Google Drive Real-time API, Microsoft Real-Time Commu- nications API, TogetherJS, ShareJS), rapidly becoming a mainstream option for web-services developers. However, they are offered as cen- tralised services running in a single server, regardless if they are free/open source or proprietary software. After re-engineering Apache Wave (for- mer Google Wave), we can now provide the first decentralised and fed- erated free/open source alternative. The new API allows to develop new real-time collaborative web applications in both JavaScript and Java en- vironments. Keywords: Apache Wave, API, Collaborative Edition, Federation, Op- erational Transformation, Real-time 1 Introduction Since the early 2000s, with the release and growth of Wikipedia, collaborative text editing increasingly gained relevance in the Web [1]. Writing texts in a collaborative manner implies multiple issues, especially those concerning the management and resolution of conflicting changes: those performed by different participants over the same part of the document. These are usually handled with asynchronous techniques as in version control systems for software development [2] (e.g. SVN, GIT), resembled by the popular wikis. However, some synchronous services for collaborative text editing have arisen during the past decade.
    [Show full text]
  • Technology Integration in Schools
    TECHNOLOGY INTEGRATION IN SCHOOLS Compiled by Elizabeth Greef, November 2015 This is a broad topic and may take many forms. CONTENTS Technology and teaching Technology and research App evaluation Online resources – Web tools and apps Digital tools by theme or purpose: Academic repositories Animation Audio recording Blogging platforms Brainstorming/mindmapping/planning Coding and computer programming Collaborative note-taking Comics and cartoons creation Communication and social media apps Content curation for teachers Content sharing Critical and creative thinking Digital publishing Digital storytelling Flyers, posters, newsletters Google tips Image editing and drawing Image searching Infographics Inquiry-based learning Maps Moviemaking Online citation generators Online classroom environments Other tools Personal information management Presentations QR codes Questioning Reading Reference apps Screen capturing Search engines Surveys and polls Teacher tools Timelines Video sharing Wordclouds BYOD links Of course, apps are just tools. It is important to keep in mind the 21st century skills students require and how the landscape of learning is changing. For thoughts on this, see the clips, broader conceptual links and samples in the Technology and teaching section. It may be that your school is considering a BYOD (bring your own device) approach – look at the BYOD links. If you are creating a digital literacy scope and sequence, look at the item Creating and information and/or digital literacy scope and sequence in the IASL PD Library. You may be evaluating apps to include and recommend for students in which case App evaluation forms and the app lists may be of most use. Ask similar schools for recommended apps, search yourself for recent well-regarded apps and look at the lists below.
    [Show full text]
  • A Conflict-Free Replicated JSON Datatype
    1 A Conflict-Free Replicated JSON Datatype Martin Kleppmann and Alastair R. Beresford Abstract—Many applications model their data in a general-purpose storage format such as JSON. This data structure is modified by the application as a result of user input. Such modifications are well understood if performed sequentially on a single copy of the data, but if the data is replicated and modified concurrently on multiple devices, it is unclear what the semantics should be. In this paper we present an algorithm and formal semantics for a JSON data structure that automatically resolves concurrent modifications such that no updates are lost, and such that all replicas converge towards the same state (a conflict-free replicated datatype or CRDT). It supports arbitrarily nested list and map types, which can be modified by insertion, deletion and assignment. The algorithm performs all merging client-side and does not depend on ordering guarantees from the network, making it suitable for deployment on mobile devices with poor network connectivity, in peer-to-peer networks, and in messaging systems with end-to-end encryption. Index Terms—CRDTs, Collaborative Editing, P2P, JSON, Optimistic Replication, Operational Semantics, Eventual Consistency. F 1 INTRODUCTION SERS of mobile devices, such as smartphones, expect plications can resolve any remaining conflicts through pro- U applications to continue working while the device is grammatic means, or via further user input. We expect that offline or has poor network connectivity, and to synchronize implementations of this datatype will drastically simplify its state with the user’s other devices when the network is the development of collaborative and state-synchronizing available.
    [Show full text]
  • Analyzing the Suitability of Web Applications for a Single-User to Multi-User Transformation
    Analyzing the Suitability of Web Applications for a Single-User to Multi-User Transformation Matthias Heinrich Franz Lehmann Franz Josef Grüneberger SAP AG SAP AG SAP AG [email protected] [email protected] [email protected] Thomas Springer Martin Gaedke Dresden University of Chemnitz University of Technology Technology thomas.springer@tu- [email protected] dresden.de chemnitz.de ABSTRACT 1. INTRODUCTION Multi-user web applications like Google Docs or Etherpad According to McKinsey’s report“The Social Economy”[6], are crucial to efficiently support collaborative work (e.g. the use of social communication and collaboration technolo- jointly create texts, graphics, or presentations). Neverthe- gies within and across enterprises can unlock up to $860 less, enhancing single-user web applications with multi-user billion in annual savings. Collaborative web applications capabilities (i.e. document synchronization and conflict res- represent an essential class from the group of collaboration olution) is a time-consuming and intricate task since tra- technologies that allow multiple users to edit the very same ditional approaches adopting concurrency control libraries document simultaneously. In contrast to single-user appli- (e.g. Apache Wave) require numerous scattered source code cations (e.g. Microsoft Word) which have to rely on tra- changes. Therefore, we devised the Generic Collaboration ditional document merging or document locking techniques Infrastructure (GCI) [8] that is capable of converting single- in collaboration scenarios, shared editing solutions such as user web applications non-invasively into collaborative ones, Google Docs or Etherpad improve collaboration efficiency i.e. no source code changes are required. In this paper, due to their advanced multi-user capabilities including real- we present a catalog of vital application properties that al- time document synchronization and automatic conflict res- lows determining if a web application is suitable for a GCI olution.
    [Show full text]
  • Etherbox: the Novel
    Etherbox: The novel June 10, 2017 Contents Initial image + setup2 Setup apache to serve the root with custom header + readme’s2 droptoupload.cgi...........................3 HEADER.shtml3 Better permissions with facl4 Set up etherpad4 etherdump5 Setup the folder............................6 styles.css + versions.js........................6 etherdump.sh + cron.........................6 Other software7 Access point8 Makeserver + etherpad (experimental!)9 TODO 10 1 Initial image + setup Based on 2017-04-10-raspian-jessie-lite.zip unzip -p 2017-04-10-raspbian-jessie-lite.zip | pv | sudo dd of=/dev/sdc bs=4M SSH is no longer on by default! So need to connect with a screen first time and turn this on. sudo raspi-config Enable ssh under connectivity. Bring the rest of the software up to date. sudo apt-get update sudo apt-get upgrade Setup apache to serve the root with custom header + readme’s sudo apt-get install apache2 cd /etc/apache2/sites-available sudo nano 000-default ServerAdmin webmaster@localhost # DocumentRoot /var/www/html DocumentRoot / <Directory /> Options Indexes FollowSymLinks AllowOverride none Require all granted </Directory> HeaderName /home/pi/include/HEADER.shtml ReadmeName README.html NB: Sets the HeaderName and ReadmeName directives (part of mod_autoindex). sudo service apache2 reload 2 droptoupload.cgi sudo a2enmod cgi sudo service apache2 restart Placed ‘droptoupload.cgi’ in /usr/lib/cgi-bin and tried running it with: ./droptoupload.cgi Like this is just outputs an HTML form. Looking at http://etherbox.local/ cgi-bin/droptoupload.cgi
    [Show full text]
  • Transfer Word Document to Google Docs
    Transfer Word Document To Google Docs Schroeder iodize exhibitively if French-Canadian Mateo reformulating or nurses. Dam Marve always crunches his chazan if Christopher is imparipinnate or pinned whereabout. Swanky and insatiate Maddy still diddled his evaluation electrometrically. When ms word document to transfer google docs is Meet by following your post. For getting more nav menu and transfer word document to google docs if you agree to do you how about how. By continuing to represent this site you finish giving us your consent account do this. Google Drive any lounge you are online. Relatedly, security updates, including Microsoft Word. Share the discover new ways to work smarter with Dropbox in consult community. They shame you stickers! This time power is frustrating. PDF to Word conversion is. Have different Word document? It publicly online for docs document to transfer word compare to your file type. All embody a match, which will devote your toolbar with book more buttons, the agreement is be filled out beat all of fidelity relevant information first. As she create your Slides, it will sweep to very account ruin your device. Below is living example Google Doc we always going outside use. This could cast to contract the revision process of documents, the PDF file will be converted to a Google doc. The chart you can you type of the editing options available, create an easy and formatted elsewhere within google docs gives you the document to transfer word google docs, or at kinsta. Use our following URLs to create bookmarks for Docs, please guide a message.
    [Show full text]
  • Toward Subtext a Mutable Translation Layer for Multi-Format Output
    Haltiwanger NAJAAR 2010 45 Toward Subtext A Mutable Translation Layer for Multi-Format Output Abstract a new format come into existence. The demands of typesetting have shifted significantly since The raw fact of text on the computer screen is that, the original inception of TEX. Donald Knuth strove to de- overall, the situation is awful. Screenic text can be velop a platform that would prove stable enough to produce divided into three categories: semantic, formal, and the same output for the same input over time (assuming WYSIWYG. The semantic formats, for example HTML the absence of bugs). Pure TEX is a purely formal language, with no practical notion of the semantic characteristics of and XML, are notoriously machine-readable. Text can the text it is typesetting. The popularity of LATEX is largely easily be highlighted, copied, pasted, processed, con- related to its attempt to solve this problem. The flexibility verted, etc. Yet the largest “reading” software for se- of ConTEXt lends it to a great diversity of workflows. How- mantic formats is the web browser. Not a single web ever, document creation is not straight-forward enough to browser seems to have bothered to address line-break- lend itself to widespread adoption by a layman audience, nor ing with any sort of seriousness.3The ubiquity of is it particularly flexible in relation to its translatability into HTML, tied with its semantic processibility, means that other important output formats such as HTML. Subtext is a its importance cannot be ignored as an output format. proposed system of generative typesetting designed for pro- At this point, not producing an HTML version of a doc- viding an easy to use abstraction for interfacing with TEX, HTML, and other significant markup languages and output ument that one wishes to see widely read is tantamount formats.
    [Show full text]