Leveling up JavaScript with Deno 2
Jerod is joined by Ryan Dahl to discuss his second take on leveling up JavaScript developers all around the world. Jerod asks Ryan why not try to fix or fork Node instead of starting fresh, how Deno (the open source project) can avoid the all too common rug pull (not cool) scenario, what’s new in Deno 2 & their pragmatic decision to support npm, they talk JSR, they talk Deno KV & SQLite, they even talk about Ryan’s open letter to Oracle in an attempt to free the unused “JavaScript” trademark from the giant’s clutches.
Join the discussion
Changelog++ members save 3 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Jam.dev – One click bug reports developers love — Never explain another bug report again. Jam auto-captures all the info engineers need to debug and repro.
Featuring:
Ryan Dahl – Website, GitHub, X
Jerod Santo – GitHub, LinkedIn, Mastodon, X
Show Notes:
Node.js: The Documentary - YouTube
From Node.js to Deno: How It All Began - YouTube
10 Things I Regret About Node.js - YouTube
JSR: the JavaScript Registry
rusty_v8: Rust bindings for the V8 JavaScript engine
JavaScript™ (Dear Oracle)
Something missing or broken? PRs welcome!
Leveling up JavaScript with Deno 2 (Interview)
Jerod is joined by Ryan Dahl to discuss his second take on leveling up JavaScript developers all around the world. Jerod asks Ryan why not try to fix or fork Node instead of starting fresh, how Deno (the open source project) can avoid the all too common rug pull (not cool) scenario, what’s new in Deno 2 & their pragmatic decision to support npm, they talk JSR, they talk Deno KV & SQLite, they even talk about Ryan’s open letter to Oracle in an attempt to free the unused “JavaScript” trademark from the giant’s clutches.
Join the discussion
Changelog++ members save 11 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Assembly AI – Turn voice data into summaries with AssemblyAI’s leading Speech AI models. Built by AI experts, their Speech AI models include accurate speech-to-text for voice data (such as calls, virtual meetings, and podcasts), speaker detection, sentiment analysis, chapter detection, PII redaction, and more.
Socket – Secure your supply chain and ship with confidence. Install the GitHub app, book a demo or learn more
Supabase – Supabase just finished their 12th launch week! Check it out. Or get a month of Supabase Pro (FREE) by going to supabase.com/changelogpod
Speakeasy – Production-ready, enterprise-resilient, best-in-class SDKs crafted in minutes. Speakeasy takes care of the entire SDK workflow to save you significant time, delivering SDKs to your customers in minutes with just a few clicks! Create your first SDK for free!
Featuring:
Ryan Dahl – Website, GitHub, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Show Notes:
Node.js: The Documentary - YouTube
From Node.js to Deno: How It All Began - YouTube
10 Things I Regret About Node.js - YouTube
JSR: the JavaScript Registry
rusty_v8: Rust bindings for the V8 JavaScript engine
JavaScript™ (Dear Oracle)
Something missing or broken? PRs welcome!
815: Deno 2 with Ryan Dahl
In this episode of Syntax, Wes and Scott talk with Ryan Dahl about Deno 2.0, its new features and use of web standards, and how it seamlessly integrates with popular frameworks like Next.js. Ryan shares insights on the motivations behind Deno’s creation, its emphasis on simplicity and security, and offers his take on the evolving JavaScript ecosystem.
Show Notes 00:00 Welcome to Syntax!
00:34 What is Deno?
05:08 Deno 2.0
07:49 NPM compatibility
09:40 What parts of Node aren’t doable in Deno?
11:22 Do we need a hard break from Require?
13:51 Package management
16:25 Security and performance benefits of Deno
20:57 Brought to you by Sentry.io
20:57 Thoughts on Bun and Node additions
26:25 Ryan’s favorite Deno projects Lume
Fresh
webgpu-examples
gpucraft minecraft clone + deno + webgpu
gpucraft example
Shaderplay
Orillusion
28:42 Will we ever see a unified file system API?
31:49 Typescript
36:12 Jupyter Notebooks with Deno Polars
39:11 AI and WASM in JavaScript
42:01 Deno 2.0 features and future
43:08 Sick Picks & Shameless Plugs
Sick Picks Ryan: McCarren Park
Shameless Plugs Ryan: https://deno.com/enterprise
Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
Ryan Dahl explains why Deno had to evolve with version 2.0
If you’ve never seen it, check out Ryan’s classic talk, 10 Things I Regret About Node.JS, which gives a great overview of the reasons he felt compelled to create Deno.
You can learn more about Ryan on Wikipedia, his website, and his Github page.
To learn more about Deno 2.0, listen to Ryan talk about it here and check out the project’s Github page here.
Congrats to Hugo G, who earned a Great Answer Badge for his input on the following question:
How can I declare and use Boolean variables in a shell script?
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.
Why the creator of Node.js® created a new JavaScript runtime
Node.js® is an open-source JavaScript runtime environment.
Deno is an open-source JavaScript, TypeScript, and WebAssembly runtime. Explore the quick start or check out Deno by example, a collection of annotated examples of how to use Deno.
JSR is an open-source package registry for JavaScript and TypeScript.
Keep up to date with Ryan on GitHub or his blog.
Shoutout to Stack Overflow user Squadrons, who earned a Great Question badge by asking for a Pure javascript method to wrap content in a div.
Chapters:
00:00: Introduction and Background
01:08: Creating Node.js
05:00: JavaScript on the Server Side
07:23: Impact of Node.js
09:18: Edge Function System
12:13: Protecting Against Malicious Use
16:02: JSR: Alternative to NPM
31:01: JSR and its Stage
34:20: Future of JavaScript
36:19: Closing and Shoutouts
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.
737: JSR: The New TypeScript Package Registry (NPM Killer)
Get ready to learn all about the JSR package registry with Wes, Scott, and special guest Luca Casonato of Deno, as they discuss its benefits, share insights on when to use it, and teasing some secret features that promise to enhance your coding journey.
Show Notes 00:00 Welcome to Syntax!
00:37 Brought to you by sentry.io.
00:51 Who is Luca Casonato?
01:18 Why do we need another package registry?
Wes Bos Tweet
04:35 Is it ESM only?
06:08 What exactly is JSR?
07:22 How do you install things from this registry?
09:38 NPM specifier in NodeJS?
12:18 Why can’t we just fix NPM?
14:28 When you make things easier, people make cooler stuff.
17:49 A little bit about auto-documentation.
21:18 Auto-Types.
22:33 Can’t you just put TypeScript files on an NPM?
24:04 Package Provenance.
NPM Package Provenance
25:14 Does JSR have any plans for scanning dependencies?
27:56 GitHub action integration.
30:08 Does JSR replace url imports in Deno?
Import Maps, Ep.596
32:15 What about publishing JSX, TSX, CSS, WASM, etc?
34:16 What are Slow Types?
36:34 Do you think we’ll ever see another implementation of a TypeScript type checker?
38:23 Types as comments or adding types to JavaScript.
40:10 What is the anticipated timeline?
41:52 Are there any parts of TypeScript that you don’t like?
43:32 What about when TypeScript breaks?
46:20 JSR community funding.
49:39 Are you planning on pre-registering popular names?
52:26 Super secret new features!
56:39 Sick Picks + Shameless Plugs.
Sick Picks Luca: Hono
Shameless Plugs Luca: jsr.io
Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott:X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
Big news in Deno Land
Deno creator Ryan Dahl goes one-on-one with Jerod to discuss their new npm support, why he’s so excited about JavaScript containers, Deno Deploy’s present & future, what he thinks about alternative runtimes like Bun, WinterCG, how Wasm fits into the story & more!
Join the discussion
Changelog++ members save 5 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Sentry – Working code means happy customers. That’s exactly why teams choose Sentry. From error tracking to performance monitoring, Sentry helps teams see what actually matters, resolve problems quicker, and learn continuously about their applications - from the frontend to the backend. Use the code CHANGELOG and get the team plan free for three months.
Sourcegraph – Transform your code into a queryable database to create customizable visual dashboards in seconds. Sourcegraph recently launched Code Insights — now you can track what really matters to you and your team in your codebase. See how other teams are using this awesome feature at about.sourcegraph.com/code-insights
Lolo Code – If you’re familiar with building severless apps, think of Lolo Code as your backend with a visual editor that lets you think and build at the same time. All this without having to provision or manage servers. Use the visual editor to build your app, connect nodes, and add any npm libraries you need. You can even write your own integrations. This makes Lolo Code very Zapier-ish, but for devs. Try it free today with no credit card required at lolo.co/jsparty
Featuring:
Ryan Dahl – Website, GitHub, X
Jerod Santo – GitHub, LinkedIn, Mastodon, X
Show Notes:
Ryan on The Changelog #443
Deno 1.28 announcement
JavaScript ShadowRealms
JavaScript Containers
WinterCG
Something missing or broken? PRs welcome!
Supper Club × Ryan Dahl and Deno
In this supper club episode of Syntax, Wes and Scott talk with Ryan Dahl about Deno. Why was Deno created? What is Deno written in? How is Deno so much faster? And what’s the future of Deno?
Gatsby - Sponsor Today’s episode was sponsored by Gatsby, the fastest frontend for the headless web. Gatsby is the framework of choice for content-rich sites backed by a headless CMS as its GraphQL data layer makes it straightforward to source website content from anywhere. Gatsby’s opinionated, React-based framework makes the hardest parts of building a performant website simpler. Visit Gatsby.dev/Syntax to get your first Gatsby site up in minutes and experience the speed. ⚡️
Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Sanity - Sponsor Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
Show Notes 00:36 Welcome
Tinyclouds.org
Ry on GitHub
Deno
Deno Discord
01:18 The introduction of Node
02:51 Why are you still betting on JavaScript for the web?
05:34 Why did you make Deno?
09:04 How does TypeScript fit into the landscape?
11:40 How is Deno so much faster?
13:28 Sponsor: Sanity
14:17 What is Deno written in?
15:56 Should developers be learning Rust?
18:27 Will libraries that work on npm eventually work in Deno?
21:52 Are we going to use Node API’s or web spec?
24:31 Sponsor: Sentry
25:31 What is tooling like for Deno?
WinterCG
Deno VS Code Extension
29:27 What is Deno deploy?
Deno Deploy
34:01 Deno’s framework Fresh
38:56 Client side vs server side rendering
41:27 Sponsor: Gatsby
42:28 What’s the future of Deno?
43:39 Supper club questions
53:30 SIIIIICK ××× PIIIICKS ×××
Tweet us your tasty treats Scott’s Instagram
LevelUpTutorials Instagram
Wes’ Instagram
Wes’ Twitter
Wes’ Facebook
Scott’s Twitter
Make sure to include @SyntaxFM in your tweets
A new batch of web frameworks emerge! (Interview)
This week we’re talking fresh, faster, and new web frameworks by way of JS Party. Yes, today’s show is a web framework sampler because a new batch of web frameworks have emerged. There’s always something new happening in the front-end world and JS Party does an amazing job of keeping us up to date. So…what’s fresh, faster, and new?
The first segment of the show focuses on Deno’s Fresh new web framework. Luca Casonato joins Jerod & Feross to talk about Fresh – a next generation web framework, built for speed, reliability, and simplicity.
In segment two, AngularJS creator Miško Hevery joins Jerod and KBall to talk about Qwik. He says Qwik is a fundamental rethinking of how a web application should work. And he’s attempting to convince Jerod & KBall that the implications of that are BIG.
In the last segment, Amal talks with Fred Schott about Astro 1.0. They go deep on how Astro is built to pull content from anywhere and serve it fast with their next-gen island architecture.
Plus there’s an 8 minute bonus for our ++ subscribers (changelog.com/++). Fred Schott explains Astro Islands and how Astro extracts your UI into smaller, isolated components on the page, and the unused JavaScript gets replaced with lightweight HTML — leading to faster loads and time-to-interactive.
Join the discussion
Changelog++ members get a bonus 7 minutes at the end of this episode and zero ads. Join today!
Sponsors:
InfluxData - InfluxDays 2022 – InfluxDays is back — this is a two-day developer conference from our friends at InfluxData dedicated to building IoT, analytics, and cloud applications with InfluxDB. It’s happening on Nov 2nd and 3rd - learn more and register at influxdays.com
Square – Develop on the platform that sellers trust. There is a massive opportunity for developers to support Square sellers by building apps for today’s business needs. Learn more at changelog.com/square to dive into the docs, APIs, SDKs and to create your Square Developer account — tell them Changelog sent you.
FireHydrant – The reliability platform for every developer. Incidents impact everyone, not just SREs. FireHydrant gives teams the tools to maintain service catalogs, respond to incidents, communicate through status pages, and learn with retrospectives. Small teams up to 10 people can get started for free with all FireHydrant features included. No credit card required to sign up. Learn more at firehydrant.com/
Retool – The low-code platform for developers to build internal tools — Some of the best teams out there trust Retool…Brex, Coinbase, Plaid, Doordash, LegalGenius, Amazon, Allbirds, Peloton, and so many more – the developers at these teams trust Retool as the platform to build their internal tools. Try it free at retool.com/changelog
Featuring:
Luca Casonato – GitHub, X
Fred K. Schott – Website, GitHub, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Feross Aboukhadijeh – Website, GitHub, X
Kevin Ball – Website, GitHub, LinkedIn, X
Amal Hussein – GitHub, X
Show Notes:
JS Party #234 - #
Fresh docs
Islands Architecture
Deno’s Discord
JS Party #237 - #
Qwik
Partytown
JS Party #238 - #
Astro 1.0 announcement post
Astro’s website
Something missing or broken? PRs welcome!
Deno's Ryan Dahl is an Asynchronous Guy
Ryan Dahl is the co-founder and creator of Deno, a runtime for JavaScript, TypeScript, and WebAssembly based on the V8 JavaScript engine and the Rust programming language. He is also the creator of Node.js.
We interviewed Dahl for The New Stack Technical Founder Odyssey series.
"Yeah, so we have a JavaScript runtime," Dahl said. "It's pretty similar in, in essence, to Node. It executes some JavaScript, but it's much more modern. "
The Deno project started four years ago, Dahl said. He recounted how writing code helped him rethink how he developed Node. Dahl wrote a demo of a modern, server-side JavaSript runtime. He didn't think it would go anywhere, but sure enough, it did. People got pretty interested in it.
Deno has "many, many" components, which serve as its foundation. It's written in Rust and C++ with a different type of event loop library. Deno has non-blocking IO as does Node.
Dahl has built his work on the use of asynchronous technologies. The belief system carries over into how he manages the company. Dahl is an asynchronous guy and runs his company in such a fashion.
As an engineer, Dahl learned that he does not like to be interrupted by meetings. The work should be as asynchronous as possible to avoid interruptions.
Deno, the company, started during the pandemic, Dahl said. Everyone is remote. They pair program a lot and focus on short, productive conversations. That's an excellent way to socialize and look deeper into problems.
How is for Dahl to go from programming to CEO?
"I'd say it's relatively challenging," Dahl said. I like programming a lot. Ideally, I would spend most of my time in an editor solving programming problems. That's not really what the job of being a CEO is."
Dahl said there's a lot more communication as the CEO operates on a larger scale. Engineering teams need management to ensure they work together effectively, deliver features and solve problems for developers.
Overall, Dahl takes it one day at a time. He has no fundamental theory of management. He's just trying to solve problems as they come.
"I mean, my claim to fame is like bringing asynchronous sockets to the mainstream with nonblocking IO and stuff. So, you know, asynchronous is deeply embedded and what I'm thinking about. When it comes to company organization, asynchronous means that we have rotating meeting schedules to adapt to people in different time zones. We do a lot of meeting recordings. So if you can't make it for whatever reason, you're not in the right time zone, you're, you know, you're, picking up your kids, whatever. You can go back and watch the recording. So we basically record every every meeting, we try to keep the meeting short. I think that's important because nobody wants to watch hours and hours of videos. And we use, we use chats a lot. And chat and email are forms of asynchronous communication where you don't need to kind of meet with people one on one. And yeah, I guess I guess the other aspect of that is just keeping meetings to a minimum. Like there's there's a few situations where you really need to get everybody in the room. I mean, there are certainly times when you need to do that. But I tried to avoid that as much as possible, because I think that really disrupts the flow of a lot of people working."
Deno's Fresh new web framework
Deno team member Luca Casonato joins Jerod & Feross to tell us about Fresh – a next generation web framework, built for speed, reliability, and simplicity.
Join the discussion
Changelog++ members save 4 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Sentry – Working code means happy customers. That’s exactly why teams choose Sentry. From error tracking to performance monitoring, Sentry helps teams see what actually matters, resolve problems quicker, and learn continuously about their applications - from the frontend to the backend. Use the code PARTYTIME and get the team plan free for three months.
Vercel – Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work. Unlock a better frontend workflow today.
Square – Develop on the platform that sellers trust. There is a massive opportunity for developers to support Square sellers by building apps for today’s business needs. Learn more at changelog.com/square to dive into the docs, APIs, SDKs and to create your Square Developer account — tell them Changelog sent you.
Featuring:
Luca Casonato – GitHub, X
Jerod Santo – GitHub, LinkedIn, Mastodon, X
Feross Aboukhadijeh – Website, GitHub, X
Show Notes:
Fresh docs
Islands Architecture
Deno’s Discord
Something missing or broken? PRs welcome!
Exploring Deno Land 🦕 (Interview)
This week we’re joined by Ryan Dahl, Node.js creator, and now the creator of Deno - a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
We talk with Ryan about the massive success of Node and how it impacted his life, and how he eventually created Deno and what he’s doing differently this time around. We also talk about The Deno Company and what’s in store for Deno Deploy.
Join the discussion
Changelog++ members save 3 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
InfluxDB IoT app training – Space is limited and it’s free to join Hands on guidance to build an IoT app with InfluxDB. You’ll build a fully functional sample application called IoT Center and built on InfluxDB. The app is based on Node.js and React, uses Kafka to write measurements, and requires no DB installation with InfluxDB Cloud. Learn more and register for free at influxdata.com/changelog
Retool – Retool is a low-code platform built specifically for developers that makes it fast and easy to build internal tools. Instead of building internal tools from scratch, the world’s best teams, from startups to Fortune 500s, are using Retool to power their internal apps. Learn more and try it for free at retool.com/changelog
CloudZero – For software-driven companies focused on growing margins, CloudZero is the only cloud cost intelligence platform that puts engineering in control by connecting technical decisions to business results. Visit cloudzero.com/changelog to get started.
Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com.
Featuring:
Ryan Dahl – Website, GitHub, X
Adam Stacoviak – Website, GitHub, LinkedIn, Mastodon, X
Jerod Santo – Website, GitHub, LinkedIn, Mastodon, X
Show Notes:
10 Things I Regret About Node.js - Ryan Dahl @ JSConf EU 2019
deno.land
deno.land/manual
Announcing the Deno Company
The Changelog #155: The Future of Node.js with Scott Hammond
Something missing or broken? PRs welcome!
A visit to Deno Land
Divya and Nick welcome Deno’s Kit Kelly to the show to celebrate the highly-anticipated new JavaScript/TypeScript runtime’s big 1.0 release.
This is a wide-ranging discussion about all things Deno. We discuss why they’re using Rust, how they’re rewriting parts of the TypeScript compiler, their take on package management, what adoption looks like, their code of conduct, and more.
Join the discussion
Changelog++ members support our work, get closer to the metal, and make the ads disappear. Join today!
Sponsors:
Rollbar – We move fast and fix things because of Rollbar. Resolve errors in minutes. Deploy with confidence. Learn more at rollbar.com/changelog.
Linode – Our cloud of choice and the home of Changelog.com. Deploy a fast, efficient, native SSD cloud server for only $5/month. Get 4 months free using the code changelog2019 OR changelog2020. To learn more and get started head to linode.com/changelog.
HalfStack – We’re playing JS Danger at HalfStack Online! Join us on Friday, May 22nd for the first ever HalfStack Online. Tickets are only $19 and help support covid-19 charities. Get your tickets right here.
Featuring:
Kitson Kelly – GitHub, X
Divya – Website, GitHub, LinkedIn, X
Nick Nisi – Website, GitHub, Mastodon, X
Show Notes:
Deno 1.0
swc
dprint
jspm
pika
Something missing or broken? PRs welcome!