Viewing profile — beariish
beariish
HN member- Joined
- Fri, Jun 20, 2025, 1:57 PM UTC
- HN karma
- 108
- Public activity
- 12 items
- HN profile
- View on Hacker News ↗
About beariish
No profile information was provided.
Recent public activity
-
comment
Comment #44863336
I appreciate the followup here. The brainfuck interpreter isn't meant to be a benchmark notably, it's a naive implementation for the sake of the example. I did spot some poor code …
-
comment
Comment #44859189
It depends on your exact usecase, I'm not 100% sure what you're asking. There is some overhead for invoking the compiler on a per-script basis. If you're parsing once but running a…
-
comment
Comment #44859174
There's nothing like that right now, but it's absolutely something I want to explore in the future.
-
comment
Comment #44858174
Bolt's memory usage in most cases hovers right around Lua 5.4/Luau in my own testing, but maybe I should include a few memory benchmarks to highlight that more. It does notably hav…
-
comment
Comment #44858126
Do you think approaching the way typescript does it for Bolt is a reasonable compromise here? Bolt already supports full-module renames like import math as not_math So supporting s…
-
comment
Comment #44858028
I did experiment with a few different dispatch methods before settling on the one in Bolt now, though not with tailcalls specifically. The approach I landed on was largely chosen c…
-
comment
Comment #44857873
Bolt is not compiled ahead of time, it's bytecode interpreted just like Lua
-
comment
Comment #44857372
There's nothing stopping a library author from explicitly annotating return types wherever a stable interface is important, the idea is more for smaller functions or callbacks to m…
-
comment
Comment #44857347
That's a good point, thank you. I've made a small edit to clarify.
-
comment
Comment #44857249
As of right now no - my primary target when developing this was realtime and games in particular since that's what I know best, but if there's a real target in embedded that's cert…
-
story
Show HN: Bolt – A super-fast, statically-typed scripting language written in C
I've built many interpreters over the years, and Bolt represents my attempt at building the scripting language I always wanted. This is the first public release, 0.1.0! I've felt l…
-
story
Show HN: Picomatch – A tiny C library for evaluating regular expressions
Hi! I wrote this over a couple afternoons after wanting to embed regex into another project I'm working on, and found most implementations to either be far too big a dependency or …