Skip to main content

Current Limitations

BRIK-64 is in Closed Beta (v5.0.0-beta.1). This page documents what works today and what’s still in development. We believe honesty about limitations builds more trust than overpromising.

What Works Today (Level 1-2)

PatternStatusExample
Pure arithmetic functions✅ 100%add(a,b), celsius(c)
If/else conditionals✅ 100%max(a,b), clamp(v,lo,hi)
While/for loops✅ ~80%gcd(a,b), factorial(n)
Array access✅ ~80%arr[i], arr.length
Object dot-access✅ ~80%user.name, user.age
String operations✅ ~70%charAt, slice, length
Math.* functions✅ 100%Math.max, Math.floor, Math.random
Variable mutation (x++, x+=5)✅ 100%SSA transform handles reassignment
Ternary expressions✅ ~80%a > b ? a : b
COBOL COMPUTE✅ 100%Arithmetic statements transpile perfectly
Honest benchmark: 8/10 lodash utility functions transpile and execute correctly.

What Doesn’t Work Yet (Level 3-4)

PatternStatusWhy
Classes with inheritance🔧 Partialclass Foo extends Bar — basic classes work, inheritance doesn’t
async/await❌ Not yetRequires state machine transformation per target
Generics/templates❌ Not yetRequires monomorphization at lift time
try/catch error handling🔧 PartialSimple cases work, complex chains don’t
Closures with mutable state🔧 PartialLambda lifting works for simple cases
Cross-module imports (runtime)❌ Not yetImports are parsed but not resolved at execution time
Framework-specific patterns❌ Not yetExpress routes, React components, Django views
Reflection/metaprogramming❌ Not plannedFundamentally incompatible with static verification
eval() / dynamic code❌ Not plannedCannot statically verify dynamic code

Certification Levels

Not all transpiled code receives the same certification:
LevelMeaningWhat qualifies
CORE (Φ_c = 1)Mathematically proven correctPure functions using 64 core monomers
CONTRACTCorrect by agreement, not proofFunctions using extended monomers (I/O, network)
UNCERTIFIEDTranspiled but not verifiedComplex patterns that bypass PCD check
Today, approximately:
  • 60% of lifted functions achieve CORE certification
  • 30% achieve CONTRACT certification
  • 10% cannot be certified (flagged for manual review)

Known Issues

  1. Loop conditions can lose variables — SSA transform sometimes zeros while-loop conditions. Being fixed.
  2. Array mutation (push/pop) — Not fully supported as PCD operations yet.
  3. === undefined — Treated as == 0, which is semantically different.
  4. Float formatting — Python outputs 0.0 vs JavaScript 0 for float zero.
  5. BIR bytecode — Does not support recursive function calls.

Roadmap to Full Coverage

LevelTargetTimeline
L2 “Logic”80%+ of utility librariesQ2 2026
L3 “Systems”95%+ of library codeQ3 2026
L4 “Universal”99%+ of application codeQ1 2027

How to Report Issues

If you find a function that should transpile but doesn’t:
brikc report --file problematic-function.js
Or open an issue at github.com/brik64-admin/brik64-prod/issues.