Beto Muniz Journal

Share this post

SharedArrayBuffer in JavaScript, Svelte, ReScript, OSS, And More

obetomuniz.substack.com

SharedArrayBuffer in JavaScript, Svelte, ReScript, OSS, And More

Beto Muniz
Dec 20, 2022
3
Share this post

SharedArrayBuffer in JavaScript, Svelte, ReScript, OSS, And More

obetomuniz.substack.com

Hello đŸ€© If you’re receiving this, it’s because you signup to receive my newsletters issues. That said, be welcome to my first ever public personal journal edition (actually, the second one but the first was a test đŸ€Ł).

Here I’ll send content curated by me about Web Development, Programming, Software Industry, Side Projects, and more.

I’ll not share this journal in a paced rhythm to avoid spam and/or low-quality stuff. Instead, the editions will be sent based on demand and structured in the following topics:

  • 1 first-handed and original content drop like the “SharedArrayBuffer in JavaScript” below that you can read right after this introduction;

  • Recent content about Web Development that I recently created and published on Ei! DEV and my blog;

  • 3-5 high-quality content that I consumed recently;

  • 1 short review about some amazing productivity tools that I knew recently and/or use in my workday as a web developer;

  • 1 short review about some amazing OSS projects that I appreciate;

  • 5 opening jobs;

  • And last but not least, the recent updates (when they exist) about my side projects under the CHANGELOG.md topic.

I hope you enjoy the content and the format proposed here.

If so, don’t hesitate to help me sharing this newsletter with your friends đŸ€—


SharedArrayBuffer in JavaScript

JavaScript SharedArrayBuffer introduces mechanisms that allow the developer to manage the memory manually.

Today, by default, the browser automagically manages the memory usage of web applications. So the developer doesn’t need to care much about it.

The pain point is that depending on app demands, web developers need manually control memory usage to explore powerful and modern approaches to achieve concurrent aspects and performance. That’s what SharedArrayBuffer helps to solve:

const buffer = new SharedArrayBuffer(byteLength);

Keep in mind that SharedArrayBuffer is not a trivial requirement in every single application, as it should be due to the sensible area it controls. Some common scenarios are real-time data availability or massive data processing (Starting from 100.000+ objects).

Also, since it touches on memory directly to be used, it requires security policies, making its usage by design non-trivial for more safety.

For technical specs and support, take a look at the MDN Docs.


⭐ Bookmarks

The future of Rust

This a great article about the Rust Programming Language “future” and key points that show why Rust is one of the most “loved” programming languages.

State Management in Svelte Applications

A tutorial about how to use state management stores to manage the state in Svelte applications.

ReScript, a Fully-Typed Javascript Alternative

Article about ReScript that shows what this is, the main differences between TypeScript, etc.


🛠 Productivity Booster

Raycast

As promoted on their website, Raycast is a fast, extendable launcher. It lets you complete tasks, calculate, share links, and much more using simple, powerful, and intuitive commands.


🐙 Lovely OSS Project

Supabase.io

Supabase is supposed to be a Firebase Open Source Alternative, but it is more, it is a SaaS that gives you a powerful Web UI and SDK to integrate Postgres in your apps quickly. I use it extensively on Seu Job Tech.


📝 CHANGELOG.md

Seu Job Tech

After the relaunch on June 8th, 2021, I worked to polish tweaks and integrate the remaining features to prepare Seu Job Tech for more updates for job seekers and publishers. It’s part of any software development process.

I am migrating the codebase to TypeScript, adding Unit Tests using RTL, and applying E2E Tests using Cypress.

Also, the upcoming stuff will be focused on promoting a few more features for Job Publishers, like simple analytics and a dedicated Jobs Page by Company.

Ei! DEV

Don’t worry, I did not give up on this idea, actually, like Seu Job Tech, this project is something that I want to maintain until my last days in this world, but yeah, sometimes I will give it pauses to keep sharing quality content out there. You know, sometimes we must pause to rethink formats, connect with our lives, etc.

I am already preparing the next “season” of content to be released soon, so stay tuned not to lose anything.


🐇 And that's all, folks...

This was the first Beto Muniz Journal edition. I hope you enjoyed it, and again, let me ask you to share it with your network to help me continue with the project.

Thanks again for reading, and see you in the next edition 😉

Beto Muniz.

3
Share this post

SharedArrayBuffer in JavaScript, Svelte, ReScript, OSS, And More

obetomuniz.substack.com
3 Comments
Gorka Cesium
Writes Gorka’s Web Wide World
Dec 21, 2022Liked by Beto Muniz

do you use Rescript?

Expand full comment
ReplyCollapse
2 replies by Beto Muniz and others
2 more comments


Ready for more?

© 2023 Beto Muniz đŸ‘šâ€đŸ’»
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing