Tag: javascript
All the articles with the tag "javascript".
TensorFlow.js vs scikit-learn in the Browser — Two Paradigms of Client-Side ML
Posted on:March 28, 2026 at 10:00 AMTensorFlow.js brings neural networks to the browser natively. scikit-learn runs via Pyodide WebAssembly. Same Iris dataset, same task — totally different philosophies. Train both client-side with no backend and compare accuracy, interpretability, and the cold-start gap.
Python vs JavaScript DataFrames in the Browser — Live Benchmarks with No Backend
Posted on:March 22, 2026 at 10:00 AMBoth Python (pandas via Pyodide WebAssembly) and JavaScript (arquero) can process DataFrames entirely in the browser. This post runs the same groupby, filter, and pivot benchmarks in both — live, client-side, no server needed — and measures the real tradeoffs.
MongoDB Aggregation Pipelines — The Analytics Engine Inside Your Document Database
Posted on:June 18, 2025 at 10:00 AMMost engineers use MongoDB for CRUD and reach for PostgreSQL the moment they need analytics. But the aggregation pipeline is a full transformation engine — composable stages, multi-collection joins, array unpacking. Here's what it can actually do, using real financial event data as the example.
Node.js Worker Threads — True Parallelism Without the Cluster Mess
Posted on:December 9, 2024 at 10:00 AMNode.js Worker Threads enable true CPU parallelism in a single process. This post covers the communication model, SharedArrayBuffer for zero-copy data sharing, thread pool patterns, and benchmarks showing when Workers outperform cluster vs when they don't.
Node.js Streams and Backpressure — Why Your File Uploads Are Slow
Posted on:September 9, 2024 at 10:00 AMHow Node.js streams work under the hood, what backpressure is and why it matters, and the specific patterns that cause slow uploads, memory bloat, and dropped data. Includes a comparison of buffered vs streaming throughput.
Node.js Event Loop Internals — What Actually Happens When You await
Posted on:February 12, 2024 at 10:00 AMA deep dive into libuv's event loop phases — timers, I/O callbacks, poll, check, and close — explaining exactly what executes when and why. Includes microtask queue ordering, setImmediate vs setTimeout, and common pitfalls that cause production latency spikes.