Programming Languages

Language releases, performance tips, and type systems in practice.

  • 23 Tracked terms
  • Last 30 days Feed window

What this topic collects on

An article joins this feed when it matches these terms. Each one is also a search of its own.

Latest in Programming Languages

DEV Community
dev.to > urbanmixo > the-illusion-of-stringlength-how-to-safely-count-unicode-emojis-and-words-in-js-166m

The Illusion of String.length: How to safely count Unicode, Emojis, and Words in JS

28+ min ago   (173+ words) If you are building a text input that restricts users to a specific character limit (like a tweet, an SMS gateway, or an SEO meta tag), your first instinct is probably to use String.prototype.length. If you are doing…...

DEV Community
dev.to > sarthakagrawal927 > the-more-aggressive-matmul-kernel-lost-to-the-register-budget-1e2i

The more aggressive matmul kernel lost to the register budget

22+ min ago   (171+ words) The WebGPU matmul sweep started with a naive kernel, then added 16 by 16 workgroup tiling and a 4 by 4 output block per thread. At a 2048 cubed matrix size, the measured time moved from 47.24 ms for the naive kernel to 17.23 ms for tiling…...

DEV Community
dev.to > monteluke_68ee9b83/78/76551 > make-fully-customizable-qr-codes-actually-3cik

Make Fully Customizable QR Codes (Actually)

23+ min ago   (28+ words) Tired of usual bland QR codes that don't show off your brand? I made a simple API to create fully... Tagged with python, api, backend, tools....

DEV Community
dev.to > ashg2099 > 56-fault-injection-tests-passed-the-one-that-injected-nothing-failed-ihj

56 fault-injection tests passed. The one that injected nothing failed.

48+ min ago   (415+ words) I was building a tool that detects when data quietly changes meaning — a vendor switching units, a source dropping a field, an undocumented enum appearing. The kind of failure where every test passes and every job is green. Claims about…...

DEV Community
dev.to > gouranga-das-khulna > distributed-locks-4148

Distributed Locks

54+ min ago   (110+ words) One-liner: A distributed lock ensures that only one node in a cluster can perform a critical operation at a time — preventing race conditions across services. In a single-server world, a mutex or semaphore handles concurrency. But in distributed systems: Classic…...

DEV Community
dev.to > yanwang > three-things-that-bit-us-moving-a-document-scanner-fully-into-the-browser-15cc

Three things that bit us moving a document scanner fully into the browser

58+ min ago   (596+ words) I work on LensUp, which does exactly that — the whole pipeline runs in the tab, and files are never uploaded. Disclosure up front: it's our tool, and this post is about the parts that were harder than the pipeline itself....

DEV Community
dev.to > jjoyneriv > gh-api-paginate-slurp-jq-length-counts-pages-not-issues-1i1b

gh api --paginate --slurp --jq 'length' Counts Pages, Not Issues

1+ hour, 6+ min ago   (415+ words) gh api --paginate --slurp --jq 'length' is the command everyone reaches for to count issues in a repository. It does not count issues. It counts pages. I found this while writing pagination recipes for a toolkit, and then found the…...

DEV Community
dev.to > moonrunnerkc > from-skillcheck-to-tracemantle-tracking-agent-skill-changes-and-test-evidence-3enh

From SkillCheck to TraceMantle: Tracking Agent Skill Changes and Test Evidence

1+ hour, 30+ min ago   (637+ words) I’ve renamed SkillCheck to TraceMantle and expanded its scope. The original project focused mainly on validating AI agent skill files. TraceMantle retains that functionality and adds support for tracking the files in a skill package, comparing changes, and checking whether…...

DEV Community
dev.to > nainikmehta > stop-making-your-react-components-reusable-react-design-4086

Stop Making Your React Components Reusable | React Design

1+ hour, 51+ min ago   (502+ words) In the modern React ecosystem, "reusability" has been elevated from a best practice to a full-blown theology. We are taught from our first tutorial that DRY (Don't Repeat Yourself) is the ultimate virtue. If you write the same button twice,…...

DEV Community
dev.to > chang_zhong_2c82ccf7fb888 > designing-a-deterministic-browser-side-photo-analysis-flow-2e2c

Designing a deterministic browser-side photo analysis flow

1+ hour, 47+ min ago   (196+ words) While building a small browser-based facial-proportion tool, I found that a few engineering choices matter more than adding another model. The pipeline starts with 478 detected facial landmarks and derives four displayed proportions: harmony, symmetry, eye area, and jawline. The important…...