cd /news/artificial-intelligence/thinking-forth · home › topics › artificial-intelligence › article
[ARTICLE · art-173879] src=forum.level1techs.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Thinking Forth

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.

key 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.

read1 min views6 publishedNov 21, 2026

Forth lives in GPU: tensorForth

Forth can run anywhere. As evidence, here is a project that runs Forth in a GPU.

Forth does tensors, in CUDA.

When 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.

Forth 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!

tensorForth - lives in GPU, does linear algebra and machine learning

Forth VM that supports tensor calculus and Convolution Neural Network with dynamic parallelism in CUDA

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @tensorforth 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/thinking-forth] indexed:0 read:1min 2026-11-21 · —