How do i compile on mac

If you want security and performance you’d be better off going for something like nuitka, which compiles Python code to C++, so it completely bypasses Python’s bytecode interpreter.