How to run msvc cl.exe from command-line (powershell)
A guide to setting up the MSVC cl.exe compiler directly in PowerShell by reverse-engineering the Visual Studio environment variables.
Krzysztof Kowalczyk writes practical, experience-driven posts on software engineering, spanning Go, C++, JavaScript, and modern UI frameworks. His blog covers performance optimization, desktop and web app development, and lessons learned from building products like SumatraPDF and Edna.
24 articles from this blog
A guide to setting up the MSVC cl.exe compiler directly in PowerShell by reverse-engineering the Visual Studio environment variables.
Explores a novel, anonymous web login system using secret keys instead of email or social logins, highlighting its trade-offs.
A performance benchmark comparing JSON serialization to the TOON format in Go, analyzing speed and usability of different libraries.
Introduces TOON, a compact and readable alternative to JSON for data exchange, especially useful for AI tokens and general programming.
A developer shares practical techniques for speeding up the web development iteration cycle, focusing on simulating errors and UI states.
How to remap Zed editor's debugger keybindings to standard Windows shortcuts like F10 and F11 for stepping through code.
A guide to configuring the Zed editor for simultaneous debugging of a Go backend server and a Svelte frontend application.
AltTab brings Windows-style Alt+Tab window switching to macOS, solving a key workflow difference for users switching between operating systems.
A developer's experience and guide to using Stage Manager, a window management feature in macOS, for organizing development tools like editors and terminals.
Explains how to implement lazy loading of JavaScript modules to improve web app performance by splitting bundles and loading code only when needed.
Explains how to use async/await and abort outdated fetch requests in Svelte 5 components, with practical code examples.
Explains how to use Rollup's manualChunks in Vite to split JavaScript bundles for lazy loading, improving web app performance.
Article on boosting software sales by improving registration incentives and shareware conversion strategies for developers.
A developer discovers that calling os.File.Sync() in Go drastically slows down file appends and makes it an optional feature.
The author announces a new feature for Edna, a note-taking app: the ability to create, switch, and manage multiple notes with keyboard shortcuts.
A developer details the iterative UI design process for the 'Ask AI' feature in their note-taking app, Edna, focusing on API key clarity.
Explores niche desktop UI frameworks created by solo developers as alternatives to Electron and traditional toolkits like QT.
A technical guide on designing and implementing a multi-language UI translation system for the SumatraPDF C++ Windows application.
A developer's guide to calling various LLM APIs (OpenAI, Grok, Anthropic, Google) directly from the browser, including workarounds and using OpenRouter.
A guide to increasing the open file limit on Ubuntu Linux for web apps and servers, covering configuration changes and system reboots.