3 ms·
It's not just written in assembly, but it's backed by sqlite. Like many apps, IO is more likely to be the bottleneck than the CPU.
by bdcravens 3y ago
It's not just written in assembly, but it's backed by sqlite. Like many apps, IO is more likely to be the bottleneck than the CPU.
- CharlesW 3y agoUsing WAL mode with PRAGMA synchronous set to NORMAL, or even in that case? (I'm the furthest from a SQLite expert, just looking at it myself for a project.)
- bdcravens 3y agoNo idea - just did a quick scan of the source https://asm32.info/fossil/asmbb/dir https://asm32.info/fossil/asmbb/dir
- PaulHoule 3y agoRAM is a factor too. I’ve written some programs for Arduino in C that would be a good match for assembly because the stack and C calling conventions are a complete waste. (e.g. sometimes you have no recursive functions). The thing is portability —- as much as I love AVR-8 if my requirements grow AVR-8 has no nowhere to go except maybe an FPGA soft core. In C I can switch to an ARM microcontroller which I find really uninspiring but just performs better. That’s the one trouble w/ AsmBB that it is specific to some particular architecture.
- Cthulhu_ 3y agoThat's often the fallacy people have, assuming that the language is a bottleneck instead of the I/O or database design. Mind you, I understand it given some of the PHP I've seen. But again, that's not the language per se, but how it's used.