2025-12-04 11:38:32 +01:00
2024-12-08 14:08:26 +01:00
2025-12-04 11:38:32 +01:00
2025-12-02 21:35:02 +01:00
2024-12-07 22:01:47 +01:00
2024-12-06 23:59:25 +01:00

AOC

What is AOC??: adventofcode

All this is a mix of langs, but in general:

  • asm: I use nasm, at least for now for assembly programs (linux, x86_64), no special linking normallly, so just elf64 compile and link.
  • zig: No need to set up a full project, simply zig build-exe -O ReleaseFast -fsingle-threaded -fno-unwind-tables -fno-error-tracing -fno-formatted-panics -fstrip -fno-stack-protector main.zig for max performance.
  • rust: No need for projects neither, also rustc -Copt-level=3 -Ctarget-cpu=native -Cpanic=abort -Cstrip=symbols -Coverflow_checks=n -Clto=fat for squeezing performance.

I also tend to use perf stat to check their performance.

Languages
Rust 75%
Assembly 15.8%
TypeScript 3%
Zig 2.5%
Python 1.5%
Other 2.2%