Logo
Logo
Home
Archive
Advertise
YouTube
Login
Sign Up
  • Home
  • Posts
  • 🦥The Future of Web Development?: Web Assembly (WASM)

🦥The Future of Web Development?: Web Assembly (WASM)

Aug 27, 2024

In partnership with

Hello friends!

Welcome to this week’s Sloth Bytes.

Ancient sloths were the size of elephants.

Today, sloths are about the size of a dog. But ancient sloths, known as Megatherium, could grow to be the same size as Asian elephants. Unfortunately, they went extinct around 10,000 years ago.

WebAssembly (WASM)

What is WebAssembly?

WebAssembly (WASM) is a simple instruction format for a stack-based virtual machine. It's made to be a portable option for fast web applications.

Why WASM Matters:

  • Near-native performance in the browser

  • Language-agnostic (C, C++, Rust, etc. can compile to WASM)

  • Complements JavaScript, doesn't replace it

  • Enables complex applications in the browser

Key Features:

  1. Fast execution

  2. Compact binary format

  3. Open web standard

  4. Secure sandboxed execution

How WASM Works:

Real-World Use Cases:

  • Video and audio codecs

  • Game engines (e.g., Unity)

  • CAD applications

  • Scientific simulations

Benefits of WASM:

  1. Performance boost for compute-intensive tasks

  2. Brings desktop-quality applications to the web

  3. Reuse existing C/C++/Rust codebases on the web

  4. Improved load times for large applications

Challenges:

  • Learning curve for web developers

  • Limited direct DOM access

  • Debugging can be complex

Future Prospects:

  • Broader language support

  • Improved tooling and debugging

  • Potential for server-side WASM

If you’re curious and want to learn it check out the docs

The Daily Newsletter for Intellectually Curious Readers

  • We scour 100+ sources daily

  • Read by CEOs, scientists, business owners and more

  • 3.5 million subscribers

Sign up today!

Microsoft releases powerful new Phi-3.5 models, beating Google, OpenAI and more (4 minute read)

Microsoft’s release of the Phi-3.5 series represents a significant step forward in the development of multilingual and multimodal AI.

Midjourney launched their website (11 minute read)

Midjourney opens its website to all users with limited free trials, allowing new users to create up to 25 images for free.

Shocker: French make surprise arrest of Telegram founder at Paris airport (2 minute read)

Lack of moderation on Telegram claimed to be reason for arrest.

Coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.

Fixing a Bug in Google Chrome as a First-Time Contributor (17 minute read)

A rundown of my experience finding and fixing a bug in the Chromium/Google Chrome browser - specifically in the devtools.

Next.js + Supabase app in production: what would I do differently (13 minute read)

My learnings for building a Next.js and Supabase app and keeping it running in production

How To Write Maintainable Go Code? (13 minute read)

Gophers You have to write code that can be maintained when dealing with golang. Simplicity, readability, and clarity are the fundamental components of maintainable code.

Thank you to everyone who submitted last week 😃 

WaxAxiom, ddat828, Shraddha Patel, ravener, kwame-Owusu, AndrewMarin554, FragileBranch, sloprope, RelyingEarth8, OmarZaatari, DevonKirby, and so much more. Sorry if I didn’t include you, I got lazy…

Loves me, Loves me not…

"Loves me, loves me not" is a traditional game in which a person plucks off all the petals of a flower one by one, saying the phrase "Loves me" and "Loves me not" when determining whether the one that they love, loves them back.

Given a number of petals, return a string which repeats the phrases "Loves me" and "Loves me not" for every alternating petal, and return the last phrase in all caps. Remember to put a comma and space between phrases.

Examples

loves_me(3) ➞ "Loves me, Loves me not, LOVES ME"

loves_me(6) ➞ "Loves me, Loves me not, Loves me, Loves me not, Loves me, LOVES ME NOT"

loves_me(1) ➞ "LOVES ME"

Notes

  • Remember to return a string.

  • The first phrase is always "Loves me".

How To Submit Answers

Reply with

  • A link to your solution (github, twitter, personal blog, portfolio, replit, etc)

  • or if you’re on the web version leave a comment!

Video should be coming out this week or early next week. I think.

uhhh yeah that’s all I got. Nothing too crazy going on.

That’s all from me!

Have a great week, be safe, make good choices, and have fun coding.

See you all next week.

Reply

Avatar

or to participate

Keep Reading

envelope-simple

Join 50k+ developers and become a better programmer and stay up to date in just 5 minutes.

© 2026 Sloth Bytes.
Report abusePrivacy policyTerms of use
beehiivPowered by beehiiv