Make docker work fully
shish opened this issue · 5 comments
shish commented
shish@macbook:~/Projects/rosettaboy$ ./utils/shell.sh
user@b677a6fae865:/home/dev$ ./utils/bench.py
cpp / release:
go / release: Emulated 600 frames in 2.07s (290fps)
nim / release: Emulated 600 frames in 0.30s (1969fps)
php / release: Emulated 600 frames in 11.16s (54fps)
py / release: Emulated 600 frames in 60.24s (10fps)
py / mypyc : Emulated 600 frames in 56.73s (11fps)
rs / release: Emulated 600 frames in 0.26s (2302fps)
rs / pgo :
zig / release:
cpp crashes
rust pgo is probably missing something
zig compiler isn't installed
shish commented
Also nim only works after you run ./run.sh
manually and accept the interactive "download package list [y/n]" prompt
shish commented
zig and nim are now working
shish commented
C++ fails because GCC appears to be interpreting things differently to Clang - the first indication of this is that:
printf("%d", (i8)250);
prints "-6" with clang and "250" with gcc
Rust/PGO fails because the default rust install doesn't have the profiler enabled