GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing tigerstyle.dev — TigerStyle The software engineering methodology developed by TigerBeetle to produce safer, faster software in less time. Do the hard thing today to make tomorrow easy. SafetyCorrectness is necessary but not sufficient for safety. To be safe, a program must not only run correctly. It must apply defense-in-depth and verify itself while running, to run correctly or else shut down if it detects that it has violated expectations. NASA's Power Of Ten RulesTigerStyle follows the spirit of NASA's Power of Ten Rules for Safety-Critical Code by Gerard J. Holzmann. For example, static allocation, assertions and explicit limits. Read the Original Rules, which will change the way you code forever.
— Gerard J. Holzmann Explicit LimitsPut a limit on everything because everything has a limit. Bound all resources, concurrency, and execution. Don’t react to stimuli but use fixed intervals to schedule work. Avoid recursion. Bound loops and queues to detect infinite loops and latency spikes. Use fixed types like Static Memory AllocationAllocate all memory at startup. Don't allocate after initialization. This centralizes and simplifies resource management, solves fragmentation, forces you to think through “the physics of the system”, and leads to an elegant design, with efficient, predictable performance. AssertionsWhere types check structure, assertions check all logic and state, to detect programmer error, multiply fuzzing, and downgrade catastrophe. Assert arguments, returns, and invariants: what you expect and don't expect, the positive and negative space, not only contract but breach. Logical InterfacesThe safety (as well as performance and experience) of a system is dominated by the quality of its interfaces.
DimensionalitySimplify function signatures to minimize branches at the call site, which are viral through the call graph. As a return type, Minimize or define variables near to when/where they are used, to close semantic gaps in time/space. Zero DependenciesDependencies risk safety and performance, invite supply chain attacks, and increase install times. For infrastructure in particular, these costs multiply up the stack. Similarly, tools have costs. A small standard toolbox feels slow for you at first but accelerates the team long term. Zero Technical DebtCode, like steel, is easier to change while it's hot. Do it right the first time, the best you know how, because you may not get another chance, and because quality builds momentum. This is the only way to make steady progress, knowing that the foundations are solid. PerformanceThe lack of back-of-the-envelope sketches is the root of all evil. Think about performance from the outset. The time to solve performance, and get the 1000x wins, is in the design phase, when you can't profile. It's hard to fix a system after implementation, and the gains are less. Have mechanical sympathy. Like a carpenter, work with the grain. Primary ColorsLike a painter, perform back-of-the-envelope performance sketches with respect to the four primary colors (network, storage, memory, compute) and their two textures (bandwidth, latency) to be “roughly right” and land within 90% of the global maxima. Control Plane / Data PlaneSeparate the control plane from the data plane by batching. Use bigger buffers to amortize network, storage, memory and compute costs, and to enable assertions in the control plane without trading performance in the data plane. Let the CPU sprint through large units of work. Make the Roads BiggerThink of the future, where things are going. Use bigger block sizes to amortize fixed costs, to minimize control plane overhead, and to place fewer demands on hardware for performance. Embrace concurrency. Zero Copy / DeserializationPer core memory bandwidth is a new bottleneck:
ExperienceTogether, we serve the users. A day of design is worth weeks or months in production. Therefore, go slow to go fast. Optimize the total cost of software ownership, not for those who write it once, but for those who read and run it many times. Trade linear deadlines for exponential quality. Simplicity And Elegance
— Edsger Dijkstra Nouns And VerbsGreat names are the essence of great code, capturing what a thing is or does, for a crisp mental model.
Biodigital Jazz
Software is engineering, and more, it is art. Information and inspiration. Reason and experience. Precision and poetry. Just like music. A tight beat. A rare groove. Words that rhyme and rhymes that break. If you believe in the songs, take them on tour. Making is showbiz. Grid Cache
1024 MB Assertion Failure
Bandwidth
Network
Storage
Memory
If you want to be remembered, be remarkable. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |