{"slug": "samatas-analyzer", "title": "Samatas analyzer", "summary": "Developer Samatas released Samatas Analyzer v1.0, an audio plugin built with Zig 0.17.1, JUCE and C++, and disclosed using Claude for testing, documentation, general advice and code sections while retaining supervision and responsibility. Samatas cited UI/UX polish, host-OS test bugs, manual writing and video creation as the biggest development difficulties, and flagged Zig's manual cache clean-up as a pain point, with a commenter offering a script that isolates ZIG_LOCAL_CACHE_DIR and ZIG_GLOBAL_CACHE_DIR in a temporary directory for automatic cleanup.", "body_md": "I released Samatas Analyzer v1.0\n\nUsed zig 0.17.1 for building and embedding the fonts, Juce and cpp [https://juce.com/](https://juce.com/).\n\nWhat troubled me most during the development of this product:\n\n- Ui and ux (damn thing kept looking ugly and clumsy),\n- hosts-os tests (each host-os combination just had to have some unique bug)\n- manual writing (it was ridiculously slow)\n- video creation (even more ridiculously slow)\n\nWhat helped me and others may find useful when developing plugins with Juce:\n\nWhat I didn’t like when using zig for building my project:\n\n- cache clean-up. I must erase the cache folder often, manually. Other build systems also have the same issue, solving it at some point could serve as a differentiator.\n\nWhat I like about this release (write software you love):\n\n- handles 3d and sound evolution over time in a unique way\n- done, even if it is weird and imperfect.\n\nLLM usage disclosure:\n\n- I used Claude, for testing, docs, general advice, code sections. The decisions, supervision, and responsibility are mine.\n\n \n1 Like\n\n \nA script should help you with cache cleanup. I ran into this inconvenience myself not long ago.\n\n``` bash\n#!/usr/bin/env bash\nset -e\n\nBUILD_TMPDIR=$(mktemp -d)\ntrap 'rm -rf \"$BUILD_TMPDIR\"' EXIT\n\nZIG_LOCAL_CACHE_DIR=\"$BUILD_TMPDIR/local\" \\\nZIG_GLOBAL_CACHE_DIR=\"$BUILD_TMPDIR/global\" \\\nzig build\n```\n\nThis will also ensure proper cleanup regardless of build success. Another option is to add a “clean” step to your build config that invokes a shell command. Just don’t make it a dependency of your build tree. You MUST invoke it separately.\n\nBut I would rather prefer a `--clear-cache` option in zig.", "url": "https://wpnews.pro/news/samatas-analyzer", "canonical_source": "https://ziggit.dev/t/samatas-analyzer/18678#post_2", "published_at": "2026-12-02 20:37:28+00:00", "updated_at": "2026-12-02 20:48:18.669541+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Samatas Analyzer", "Zig", "JUCE", "C++", "Claude"], "also_reported_by": [], "takeaway": "Zig 0.17.1 builds can be cleaned automatically by pointing ZIG_LOCAL_CACHE_DIR and ZIG_GLOBAL_CACHE_DIR at a mktemp -d directory removed by a trap on exit, avoiding manual cache deletion.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/samatas-analyzer", "markdown": "https://wpnews.pro/news/samatas-analyzer.md", "text": "https://wpnews.pro/news/samatas-analyzer.txt", "jsonld": "https://wpnews.pro/news/samatas-analyzer.jsonld"}}