BetterDev #221 - How JavaScript engines achieve great performance
Better Dev #221 Nov 29, 2021
Hi all, It has been 3 weeks without an issue and I miss BetterDev myself. We’re planning for some new release of a new version of BetterDev to also contribute useful content on its own instead of just being a link collector :-). So stay tune. BetterDev is here to stay and defintely not giving up on helping our subsribe become a better programmer.
No this isn’t crypto currency. The Joy of Cryptography is a free undergraduate textbook that introduces students to the fundamentals of provable security.
JavaScript is an impressive technology. Not because it’s particularly well-designed (it isn’t). Not because almost every single consumer device with internet access in the world has executed a JavaScript program. Instead, JavaScript is impressive because almost every single feature of the language makes it a nightmare to optimize and yet, it is fast.
A software bug where the network stack crashes in reaction to a single received network packet, taking down the whole operating system with it.
When optimization, we optimize our code, what if the compiler optimize its own to emit more efficient assembly code, therefore make your code run faster than before. This is the case for Go, though it’s still a good read for everyone to understand more about assembly and register vs stack based function calling.
With more than 1.5M room nights booked per day, Booking.com requires a solid infrastructure that’s constantly monitored. Booking.com now has a footprint of 50,000+ physical servers running across four data centers and six additional points of presence. The sheer size of this server fleet makes it viable for Booking.com to have dedicated teams specializing into looking only at the reliability of those servers.
A bank for sure has a lot of secret key they would like to keep secure. In this post, monzo, a modern bank shares how they levrage PKI(Public Key Infrastructure) to do authentication and authorization. It’s crazy insane how deep they secure their system
Let’s make a gzipped file and see what’s in it. We’ll keep it simple: just write 8 ‘a’s to a file and see what is the final gzip file and decode it by hand, looking at byte by byte.
Introducing QOI — the Quite OK Image format. It losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression. All single-threaded, no SIMD. It’s also stupidly simple.
We constantly hear that indexes improve read performance and it’s usually true, but we also know that it will always have an impact on writes. What we don’t hear about too often is that in some cases, it may not give any performance improvement at all. This happens more than we want and might happen more than we even notice, and foreign keys (FKs) are a great example. I’m not saying that all FK’s indexes are bad, but most of the ones I’ve seen are just unnecessary, only adding load to the system.
Code to read
A blazingly fast JSON serializing & deserializing library. Improve performance of JSON parsing by implement JIT and some Assembly optimization. Over my head I must say but interested to figure it out
GoTools
ssh mitm server for security audits supporting public key authentication, session hijacking and file manipulation
a high-performance open-source monitoring, incident and alert system written in Golang with Bazel and love.
If you ever store large binary file in git you know how painful it is. This is still a need for design system or game assets. elfshaker is a low-footprint, high-performance version control system fine-tuned for binaries. It stores snapshots of directories into highly-compressed pack files and provides fast on-demand access to the stored files.
You can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Older messages
BetterDev #220 - How to build an Anycast network
Tuesday, November 2, 2021
Better Dev #220 Nov 2, 2021 How to Build an Anycast Network An anycast network is two or more servers advertising the same IP address from different locations. This is useful for globally distributed
BetterDev #219 - How to win at CORS and How Microsoft reduced Windows 11 update size by 40%
Monday, October 18, 2021
Better Dev #219 Oct 18, 2021 How to win at CORS CORS is complicated because it's a standard implement on client side, by browsers. it's up to browser to do what it wants or needs to implement.
BetterDev #218 - Scaling Large Production Clusters with Partitioned Synchronization
Wednesday, October 13, 2021
Better Dev #218 Oct 12, 2021 Happy tuesday everyone. I hope you enjoy this issue, as much as I do. This issue make this newsletter feel like a database newsletter. It just happens we have so many
BetterDev #217 - Self-parking car in 500 lines of code
Tuesday, October 5, 2021
Better Dev #217 Oct 05, 2021 We skipped one issue last week due to my personal workload on my side project, email forwarding service. I also get into a few blockchain projects recently and it was a lot
BetterDev #216 - Why Authorization is Hard and The pitfalls of using ssh-agent, or how to use an agent safely
Monday, September 20, 2021
Better Dev #216 Sep 20, 2021 A very practical issue. Dealing with authorization, SSH agent, design API, optimize big JS bundle, text vs varchar in database design. I hope you like these as much as I do
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your