Hacker GitHub

← All repos

Beariish/bolt

View on GitHub ↗ ★ 821 C

High-performance, real-time optimized, and statically typed embedded language implemented in C.

9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2025-08-10 · latest 2025-09-18

Mentions per year 9 mentions · busiest year 2025 (9)
20082026
  1. This has been posted here a while ago but I'm pretty excited about bolt: https://github.com/Beariish/bolt - I've been looking for a statically typed language which could integrate well around something with a strong type system and good…
  2. …not universally true, with even the core library getting into the "null indicates error" game https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Stand... or this fun middle ground where it could be Error or null…
  3. I used brainfuck interpreter https://github.com/Beariish/bolt/blob/main/examples/bf.bolt vs lua / luajit implementations from https://github.com/kostya/benchmarks Just checked with nbody: - still 10 times slower than luajit - 2 times…
  4. With this and https://github.com/Beariish/bolt/blob/main/doc/Bolt%20Perfor... , it is indeed confusing without testing it out myself. That said, somehow I do not believe it is faster than LuaJIT. We will see.
  5. Where do you get these numbers from? Looking at https://github.com/Beariish/bolt/blob/main/doc/Bolt%20Perfor... doesn’t seem to support these numbers.
  6. …is simple, everything can return an Error, so you have to check the return value if it is an error. https://github.com/Beariish/bolt/blob/main/examples/error_ha...
  7. …disincentivizing const behavior by making it super verbose (e.g. the "final" problem from Java) https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Progr...
  8. …feature of return type inference in the short example README code, rather than the explicit case. https://github.com/Beariish/bolt/blob/main/doc/Bolt%20Progra...