JavaScript Jabber

JSJ 398: Node 12 with Paige Niedringhaus


Listen Later

Guest Paige Niedringhaus has been a developer full time for 3 years, and today she is here to talk about Node 12. One of the things she is most excited about is the ES6 support that is now available, so things that used to require React, Angular, or Vue can now be done in Node. The require function will not have to be used in Node 12. AJ is worried about some of these changes and expresses his concerns. Paige assures him that in the beginning you won’t have to switch things to imports. You may have to change file extensions/types so Node can pick up what it’s supposed to be using. They are also trying to make it compatible with CommonJS.Node 12 also boasts an improved startup time. The panel discusses what specifically this means. They talk about the code cache and how Node caches the built in libraries that it comes prepackaged with. The V8 engine is also getting many performance enhancements. Paige talks about the shift from promises to async. In Node 12, async functions will actually be faster than promises. They discuss some of the difficulties they’ve had in the past with Async08, and especially callbacks. Another feature of Node 12 is better security. The transcripted security layer (TLS), which is how Node handles encrypted strains of communication, is upgrading to 1.3. The protocol is simpler to implement, quicker to negotiate sessions between the applications, provides increased end user privacy, and reduces request time. Overall, this means less latency for everybody. 1.3 also gets rid of the edge cases that caused TLS to be way far slower than it needed to be. The conversation turns to properly configuring default heap limits to prevent an ‘out of memory’ error. Configuring heap limits is something necessary when constructing an incredibly large object or array of objects. Node 12 also offers formatted diagnostic summaries, which can include information on total memory, used memory, memory limits, and environment lags. It can report on uncaught exceptions and fatal errors. Overall, Node 12 is trying to help with the debugging process. They talk about the different parsers available and how issues with key pairing in Node have been solved. Paige talks about using worker threads in Node 12. Worker threads are really beneficial for CPU intensive JavaScript operations. Worker threads are there for those things that eat up all of your memory, they can alleviate the load and keep your program running efficiently while doing their own operations on the sideline, and returning to the main thread once they’ve finished their job. None of the panelists have really used worker threads, so they discuss why that is and how they might use Worker Threads in Node 12. In addition, Node 12 is making Native module creation and support easier, as well as all the different binaries a node developer would want to support. Paige makes it a point to mention the new compiler and minimum platform standards. They are as follows:
  • GCC minimum 6
  • GLIVC minimum 2.17 on platforms other than Mac and Windows (Linux)
  • Mac users need at least 8 and Mac OS 10.10
  • If you’ve been running node 11 builds in Windows, you’re up to speed
  • Linux binaries supported are Enterprise Linux 7, Debian 8, and Ubuntu 14.04
  • If you have different requirements, go to the Node website
Panelists
  • J.C. Hyatt
  • Steve Edwards
  • AJ O’Neal
With special guest: Paige NiedringhausSponsors
  • Tidelift
  • Sentry use the code “devchat” for 2 months free on Sentry’s small plan
  • Sustain Our Software
Links
  • Async
  • CommonJS
  • njs
  • Promise
  • Node
  • Event Stream
  • llhttp
  • llparse
  • LLVM
  • Papa Parse
  • Json.stringify 
  • Json.parse
  • Optimizing Web Performance TLS 1.3
  • Overlocking SSL
  • Generate Keypair
Follow DevChatTV on Facebook and Twitter PicksJ.C. Hyatt:
  • AWS Amplify framework
  • 12 Rules for Life: An Antidote to Chaos by Jordan Petersen
  • React and Gatsby workshops
Steve Edwards:
  • The Farside comic coming back?
AJ O’Neal:
  • Field of Hopes and Strings
  • Link’s Awakening
  • Dune
Paige Niedringhaus:
  • DeLonghi Magnifica XS Automatic Espresso Machine, Cappuccino Maker
  • CONNECT.TECH Conference
Follow Paige on Twitter, Medium, and Github Special Guest: Paige Niedringhaus.

Support this podcast at — https://redcircle.com/javascript-jabber/donations

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.
...more
View all episodesView all episodes
Download on the App Store

JavaScript JabberBy Charles M Wood

  • 4.4
  • 4.4
  • 4.4
  • 4.4
  • 4.4

4.4

234 ratings


More shows like JavaScript Jabber

View all
The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch by Harry Stebbings

The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch

537 Listeners

Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

271 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

289 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

45 Listeners

The Freelancers' Show by Charles M Wood

The Freelancers' Show

23 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

703 Listeners

The a16z Show by Andreessen Horowitz

The a16z Show

1,090 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

623 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

33 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

585 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

289 Listeners

iPhreaks by Charles M Wood

iPhreaks

17 Listeners

React Native Radio by Jamon Holmgren, Robin Heinze, Mazen Chami

React Native Radio

67 Listeners

Y Combinator Startup Podcast by Y Combinator

Y Combinator Startup Podcast

226 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

15 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

62 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

21 Listeners

My JavaScript Story by Charles M Wood

My JavaScript Story

4 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

987 Listeners

AWS Podcast by Amazon Web Services

AWS Podcast

203 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

517 Listeners

This Day in AI Podcast by Michael Sharkey, Chris Sharkey

This Day in AI Podcast

227 Listeners

AI + a16z by a16z

AI + a16z

35 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

64 Listeners