text
stringlengths
0
1.62k
• The team's vision evolved and became less ambitious, focusing on tooling and error checking rather than trying to use type information to execute code more efficiently.
• Typescript plays a role in Microsoft's future direction, particularly in embracing open source and community involvement.
• Open-source development and its benefits
• Microsoft's evolution towards open-source, from early hesitation to embracing it
• The importance of open-source for appealing to the JavaScript community
• Comparison of proprietary and open-source models, citing Delphi and Turbo Pascal as examples
• The changing landscape of software development and financing, with a focus on open-source companies
• Sudden adoption of Angular 2 and other frameworks driven by TypeScript
• Initial reaction to Microsoft's open-source efforts in JavaScript in 2012 was mixed, with suspicion and enthusiasm
• Importance of self-hosting and dog-fooding to understand the JavaScript community and its needs
• Microsoft's decision to open-source TypeScript and its tooling, rather than just the compiler
• Key innovation: making the compiler an API and architecting it for incremental and lazy execution to enable sub-100ms responses on large projects
• Unexpected improvements in VMs and hardware, enabling previously impossible feats in JavaScript development
• Discussion of TypeScript and its optional typing system
• Comparison to traditional typing systems in languages like C# and Java
• Explanation of TypeScript's gradual typing system as a dial that can be adjusted from 0 (dynamic) to 100 (static)
• Description of how TypeScript's type system is not about providing absolute guarantees, but rather plugging holes in the "swiss cheese" of JavaScript
• Mention of structural typing and its advantages in TypeScript
• Loose typing in JavaScript can be replaced with type annotations using TypeScript
• TypeScript allows for flexibility and extension of existing systems
• Tooling and correctness are major benefits of TypeScript
• Performance benefits are not a primary advantage of TypeScript, but correctness is
• TypeScript delivers features from the future today, allowing for compilation to lower versions of JavaScript
• Delivering features from the future is a repeat phenomenon, as it takes time for ECMAScript standards to permeate the JavaScript ecosystem
• TypeScript is a transpiler and downleveler, providing a compelling combination of type safety and feature delivery
• Feature selection for early adoption is based on compatibility, implementability, and alignment with ECMAScript standards
• The TypeScript team considers features that are proposed for ECMAScript standards and implements them early, but may remove them if they are not ratified or supported by browsers
• Reflect dot realm is a runtime library feature that can be polyfilled.
• Modules in ES6 were late to land and their standardization is still ongoing.
• TypeScript had to make a "best guess" effort to implement modules, which turned out to be mostly correct.
• Backwards compatibility is crucial for TypeScript, and it will continue to support older features alongside new ones.
• The TypeScript specification includes additional features not present in ES6, such as type inference and generics.
• The TypeScript roadmap can be found on the GitHub site, which roughly outlines upcoming features.
• The compiler's API is an important feature that allows users to customize and extend the compiler.
• The compiler is implemented in TypeScript and has around 50,000 lines of code, with most of it written by Andrew.
• Discussion of compiler improvements and the development process
• The compiler's speed and weight were significantly improved
• The importance of incrementalness in compiler design
• Divergence between traditional compiler writing methods and modern requirements
• Implementing lazy type systems and incremental data structures for faster performance
• Challenges of implementing a language service that is resilient to errors and changes in the code
• The compiler's use of immutable data structures and functional programming principles
• The development of a language service that can be used in various text editors and IDEs.
• The speaker discusses the benefits of using functions and closures in JavaScript, specifically in the context of type checkers and compilers.
• The speaker suggests that open-sourcing knowledge and code is a way to institutionalize expertise and pass it down to future generations.
• The speaker highlights the importance of reading code, discussing code with others, and contributing to open-source projects to gain a deeper understanding of the code and its community.
• The speaker notes that the increased adoption of TypeScript in recent years may be due to the excitement around ES6 features, which have made it more feasible to write complex projects in JavaScript.
• The speaker mentions that large projects such as Angular and Dojo 2 will be using TypeScript in their next major releases.
• Development of TypeScript and its relationship with ES6 and Angular
• Merging of philosophies between TypeScript and Angular to create a stronger and more capable language
• Introduction of annotations and decorators, and their potential impact on the JavaScript ecosystem
• Collaboration between Microsoft, Google, and other JavaScript communities on TypeScript and Angular
• The importance of open source and collaboration in advancing the future of JavaScript and TypeScript
• Getting started with TypeScript for developers, including installation and tooling for Microsoft and Node.js developers.
• The speaker recommends cloning the TypeScript repository and running the TypeScript compiler for the most up-to-date language features.
• The language service is open-source, resulting in a wide range of high-quality plugins for popular editors, including Sublime Text, Adam.IO, Eclipse, and WebStorm.
• There is good coverage of TypeScript in development tools and IDEs, including build tools like Grunt and Gulp.
• The Definitely Typed repository contains a vast collection of type definitions for various JavaScript frameworks, with over 1,000 frameworks covered.
• Provisioning tools like tsd allow for easy management of type definitions in projects.
• The speaker highlights the power of open-source communities in creating such resources.
• Resources for learning TypeScript include samples on the website, a handbook, and the TypeScript specification.
• The TypeScript specification is available in various formats, including markdown, on the GitHub site.
• The speaker mentions a roadmap for the future of TypeScript on the website.
• TypeScript 1.4 is current release, 1.5 is in alpha/beta stage with ES6 compatibility focus
• 1.5 release will close gaps in ES6 compatibility, leaving only a few features to add
• ES7 features, such as async/await, are being explored
• Support for JSX and decorators is also being considered
• Roadmap: 1.6 will round out missing features, 2.0 will be ES6 and ES7 complete
• Future goals include module bundling and integration with build systems
• TypeScript type system is ongoing and will continue to evolve
• Ongoing work includes integrating new language features into type system theory
• Future of TypeScript: ES6 and module support will be ongoing topics, new development tools and deeper integration with build systems will be explored.
• TypeScript as a solution for large JavaScript codebases
• Adoption of TypeScript for improving productivity and maintainability
• Importance of simplicity and programmer productivity in language design
• Community involvement and participation in TypeScript development
• Opportunities for users to contribute to TypeScript and help with its mission
• Typescript 1.5 is an alpha release and is looking for adoption and support
• Options for implementing Typescript 1.5 include plugin models and external code review systems
• The Typescript codebase is now on GitHub and contributors are encouraged to participate in language design
• A contributor license agreement is required for contributing code to the Typescript codebase
• External tools like Gerrit are being used to streamline the code review process
• Typescript can be used today and "inched" into more fully adopting it
• The Typescript team is looking for community involvement and feedback on language design
• The Typescript website now features logos of companies and projects that are using Typescript
[0.00 --> 16.24] welcome back everyone this is the change log and i'm your host adam stikowiak this is episode 152
[16.24 --> 21.58] and on today's show jared and i are talking to two awesome developers behind typescript at
[21.58 --> 27.88] microsoft jonathan turner and anders hausberg jonathan is the program manager and anders is
[27.88 --> 34.50] the language architect so we go deep sit back and listen as jared and i get schooled on this
[34.50 --> 42.04] typed based superset of javascript we have three awesome sponsors for the show today code ship
[42.04 --> 48.06] top towel and digital ocean we'll tell you a bit more about top towel and digital ocean later in
[48.06 --> 54.28] the show but our friends at code ship have this new feature wild card deployments now you can get
[54.28 --> 60.16] more flexible deployment workflows with wild card deployment pipelines that trigger if a branch
[60.16 --> 65.90] starts with a certain prefix you can do this it's super easy use one deployment configuration for
[65.90 --> 72.56] multiple branches and automatically deploy your feature your release your qa etc branches to the
[72.56 --> 77.62] corresponding environments it's the perfect feature for allowing your team to be super flexible
[77.62 --> 83.38] and how you want to work and how your workflows should work for you as always code ship is free
[83.38 --> 88.76] to get started get started by trying out their free plan which includes 100 builds a month and five
[88.76 --> 95.66] private projects use the offer code the changelog podcast to get 20 off any plan you choose for
[95.66 --> 101.42] three months head to code ship.com slash the changelog to get started and now on to the show