{"slug": "thinking-forth", "title": "Thinking Forth", "summary": "A project called tensorForth runs a Forth virtual machine directly on CUDA GPUs, supporting tensor calculus and convolutional neural networks with dynamic parallelism, according to the project's announcement. The project argues that Forth's incremental build-test cycle, combined with an interactive GPU shell, can develop and run each AI layer or node without the host-side JIT transcoding to C/C++ and compilation that frameworks like Numba and TaiChi require. The author contends this avoids the code-compile-run-debug cycle that is especially costly during machine learning's long run stages.", "body_md": "Forth lives in GPU: tensorForth\n\nForth can run anywhere. As evidence, here is a project that runs Forth in a GPU.\n\nForth does tensors, in CUDA.\n\nWhen GPU got involved, to enable processing on CUDA device, say with Numba, TaiChi or the likes, mostly there will be a behind the scene ‘just-in-time’ transcoding to C/C++ followed by compilation then load and run. Your Python code behaves like a Makefile which requires compilers/linker available on the host box. The common code-compile-run-debug cycle is especially counter-productive with ML’s extra-long run stage.\n\nForth language encourages incremental build-test cycle. Having a ‘GPU shell’, that can interactively and incrementally develop/run each AI layer/node can potentially build a cleaner system. So, here we are!\n\ntensorForth - lives in GPU, does linear algebra and machine learning\n\nForth VM that supports tensor calculus and Convolution Neural Network with dynamic parallelism in CUDA", "url": "https://wpnews.pro/news/thinking-forth", "canonical_source": "https://forum.level1techs.com/t/thinking-forth/259464#post_13", "published_at": "2026-11-21 19:04:46+00:00", "updated_at": "2026-11-21 19:12:15.266324+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "neural-networks", "ai-tools", "developer-tools"], "entities": ["tensorForth", "Forth", "CUDA", "Numba", "TaiChi"], "also_reported_by": [], "takeaway": "tensorForth runs a Forth VM on CUDA with dynamic parallelism for tensor calculus and CNNs, letting developers interactively build and run individual AI layers on the GPU instead of JIT-transcoding Python to C/C++ and compiling on the host.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/thinking-forth", "markdown": "https://wpnews.pro/news/thinking-forth.md", "text": "https://wpnews.pro/news/thinking-forth.txt", "jsonld": "https://wpnews.pro/news/thinking-forth.jsonld"}}