r/Compilers • u/Top_Marionberry_4413 • 17d ago
Spectre - A design-by-contract programming language with an explicit allocator-centric API that outperforms Zig by up to 6x on General Purpose Benchmarks
https://spectrelang.org/
0
Upvotes
View all comments
Show parent comment
-2
u/Top_Marionberry_4413 17d ago
The JSON stuff isn't really relevant, it's just stdlib vs stdlib, and Zig's stdlib is not very optimized, or mature, despite its 10 years of existence. More relevantly, the sort of u64 values benchmark is literally line-for-line identical, and Spectre outperforms Zig by 5x.