mirror of
https://github.com/javalsai/aoc.git
synced 2026-01-12 17:10:00 +01:00
921e669155410dd473109a7eaea6bf377eec68f5
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, simplyzig build-exe -O ReleaseFast -fsingle-threaded -fno-unwind-tables -fno-error-tracing -fno-formatted-panics -fstrip -fno-stack-protector main.zigfor max performance.rust: No need for projects neither, alsorustc -Copt-level=3 -Ctarget-cpu=native -Cpanic=abort -Cstrip=symbols -Coverflow_checks=n -Clto=fatfor squeezing performance.
I also tend to use perf stat to check their performance.
Description
Languages
Rust
75%
Assembly
15.8%
TypeScript
3%
Zig
2.5%
Python
1.5%
Other
2.2%