Node to keep an eye on your code

October 14, 2022 By Mark Otto Off

Together with  Courier logo

▶  Creating Your Own JavaScript Runtime with V8 — Want to join the pantheon of developers famed and esteemed for creating things like Node, Deno, and Bun by creating a JS runtime of your own? Erick takes us deep into the main moving parts and shows us how to tie them together for ourselves. While you might not build the next Deno or Bun for yourself, there’s a lot to learn about JS runtimes here.

Erick Wendel

🖊 If you prefer a written alternative, Deno’s Bartek Iwańczuk has tackled this topic before (at a higher level) in “Roll your own JavaScript runtime.”

Event Driven Node.js Hackathon: +$3k in Prize Value — There are still 14 days left, and more than enough time to still submit a project that could win. Courier Hacks: Open Source is holding a contest to see who can build a casual encrypted messaging app. Get started now and you could be the winner.

Courier.com

Lerna Reborn: What’s New in Version 6? — Far from being obsolete or deprecated, the Lerna monorepo-oriented JavaScript build system is taking big strides forward under Nrwl’s stewardship. v6 gains a lot of speed with efficient task scheduling and caching by default, a VS Code extension, Prettier support, and more. GitHub repo.

Juri Strumpflohner

IN BRIEF:

  • Upstart JavaScriptCore-based runtime Bun has a new version out that boasts a big boost in HTTP server performance as well as zero-downtime hot reloading. It’s fun seeing the project come along!

  • 💄 javascript.makeup is a cute new online JavaScript ‘playground’ that keeps it minimal. (Alternatives: JSBin, JSFiddle)

  • Storybook 7.0 will have first class support for Vite.

  • 📊 The results from the first ever State of GraphQL developer survey are out.

📒 Articles & Tutorials

The Future of Rendering in React — This kicks off with a review of current patterns (CSR/SSR) and then moves on to some of the new rendering patterns such as streaming SSR and server components. This was also the basis of a recent talk at React Bangalore.

Prateek Surana

🛠 Code & Tools

melonJS 14.0: A Lightweight 2D Game Engine — It’s over a decade old, but still going strong. While it’s 2D, it’ll use WebGL for performance (if available). Also offers Web Audio API support, polygon based collision detection, input device support, and more. Here’s an example game.

melonJS Team

⚡️ OTHER QUICK RELEASES:

Software Engineer (Security) — Join our “kick ass” team. Our software team operates from 17 countries and we’re looking for more exceptional engineers to join our Security team.
Sticker Mule

♟ Shall we play a game?

Or, if you prefer, you can build your own Tic Tac Toe game in just ten (quite meaty) lines of JavaScript..