← BACK TO NOTES
2026-10-19 |
HDK HOUDINI

HDK Limit 1: Waiting for Compiles

With an HDA, you see the result the moment you change a parameter.
With the HDK, you wait for a build after every edit. That wait is the biggest price of the HDK.

Time after each edit

Here are the times I measured in the earlier articles:

Situation Time
Rebuilding the 25-line tiny node about 6 s
Fixing one line in a real node (the edge damage node from article 1) about 26 s
Fixing the shared code under that node about 70 s
First build of that node (also builds the shared library) about 3.5 min
First node in the terrain project 208 s
The next node in the same project 16 to 20 s

One build is not a time you cannot wait out.
But even renaming one parameter label means edit, build, restart Houdini, in that order, and it adds up in work where you adjust again and again.

One DLL per node

Each of my nodes is one DLL.
The plugin folder holds 244 DLLs, about 103 MB in total. The same folder also holds 322 .old files and 14 .pdb files. Those .old files are leftovers of the replacement procedure described below.

The limit of incremental builds

Rebuilding everything takes a long time, so I made a mechanism that builds only the plugins that changed.
It looks only at the node folders changed in Git, then builds and deploys them.

But changing shared code does not add targets.
When I change a shared layer (Common, Shared, or a project's Core and GPU), I have to rebuild every node that uses it myself. It is designed that way on purpose, and a full build runs only when I ask. The cost is that "I fixed the shared code but the node's DLL is still old" can happen.

I have not recorded how long a full rebuild takes.

When a DLL is in use

While Houdini is open, a DLL cannot be overwritten.
Windows lets you rename a loaded DLL but not overwrite it. So the deploy step renames the old DLL to .old and then copies the new one in. If it is still locked, I close Houdini, or build without deploying and copy afterward.

The rules also say it plainly: never force-copy onto a loaded DLL.

The build environment is tied down too

A Houdini build and a compiler go together.
Mine is Houdini 22.0.459 with Visual Studio 2022. If I change the Houdini build or the build generator, I delete the build folder and configure again from scratch. I never reuse a state made in another environment.

Summary

A compile wait always sits between "fix" and "check".
Incremental builds reduced it but did not remove it. With an HDA, that wait is zero.

Next: the other limit, how hard it is to fix things, and Houdini's rules.

Related articles

2026-10-14

Six Things the HDK Did Well

After writing 230 nodes with the HDK, here are six things I can say it did well. Speed, freedom inside the cook, the GPU, a structure that holds as the count grows, viewport interaction and verification, with numbers from the earlier articles.

2026-10-10

Nodes You Can Touch in the Viewport: Python States

How to give an HDK node controls you operate directly in the viewport. The split between C++ and Python, connecting them by name, what you can actually do, a shared handle kit, and what I learned and banned.

2026-10-29

Having AI Write the HDK, and Keeping It Stable

The 230 nodes were written with AI. The AI did not get smarter; I built what surrounds it. Local HDK docs, a rules folder that grew from mistakes, and checking by numbers instead of screenshots.

Comments