#petway

2025-12-10

Yay! Pet's static site generator now includes codebase, so . No more in pet's business, only beauty and happiness in the !.

Next release is out. For only, of course. , back off! Interfaces was the most tricky part and even tried to write some notes on it in tilde.club/~petbrain/codebase/

Let begin!

2025-11-29

Yay! tests pass all ok!

It took three months to get here. Now has full-fledged interfaces, multiple inheritance with linearization, and better algorithm to track and break circular references. No and never will be!

2025-09-07

C3 linearization algorithm will adopt for interfaces. Initially in

dl.acm.org/doi/pdf/10.1145/236

Pet is unable to comprehend syntax, here's way: docs.python.org/3/howto/mro.ht

2025-07-30

After the very basic optimization pw_strstr shows the same result as on ARM64

But it's still too far to the standard library which is three times faster.

2025-07-29

LOL, stringzilla does not even compile on pet's ARM64 board. With NEON, btw.

Ok, turned off -Wall and here's what pet observes:

strstr: 0.02s
sz_find: 0.1s

So, in what it was able to compile to, stringzilla is 5 times slower.

What's interesting, strstr shows exactly the same performance on pet's x86_64 laptop and ARM64 SBC.

PetWay pw_strstr is twice slower on ARM64 than on x86_64.

And it's 10x times slower than strstr on the same ARM64.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst