Operating system for engine development?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Which OS do you prefer for development of your engine?

Poll ended at Tue Mar 01, 2022 8:03 am

Windows
20
42%
macOS
2
4%
Linux/Unix
26
54%
 
Total votes: 48

ehenkes
Posts: 3
Joined: Sun Feb 14, 2021 4:58 pm
Full name: Erhard Henkes

Re: Operating system for engine development?

Post by ehenkes »

I use MS Windows 11 and MS VS 2022 with clang (LLVM). It works fine.
Viz
Posts: 77
Joined: Tue Apr 09, 2024 6:24 am
Full name: Michael Chaly

Re: Operating system for engine development?

Post by Viz »

win 10 mingw, also pretty okay.
Literally anything not apple related is pretty good, although with distributed networks even apple will do just fine.
Patrice Duhamel
Posts: 194
Joined: Sat May 25, 2013 11:17 am
Location: France
Full name: Patrice Duhamel

Re: Operating system for engine development?

Post by Patrice Duhamel »

I'm using Linux Mint, I started Cheese on Windows but now I use it only for compiling and testing before release.
Almost all I need is already installed by default, no need for a complicated and slow interface, I'm using the default text editor and the command line.
Anything that can go wrong will go wrong.
Joost Buijs
Posts: 1568
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Operating system for engine development?

Post by Joost Buijs »

For program development, I primarily use Windows 11 with Visual Studio and CLang (LLVM 18.x). I find Visual Studio much more convenient to use than the tools available under Linux. To check if my programs also work well under Linux, I have another machine running Linux Mint.
JohnWoe
Posts: 508
Joined: Sat Mar 02, 2013 11:31 pm

Re: Operating system for engine development?

Post by JohnWoe »

Installed Pop!_OS 22.04 on my Ryzen 4800.

I'm getting Mayhem perft 57MNPS w/ Pop 22.04.
Vs of 51MNPS in Mint 21.3.

PopOs updated lots of firmware on my ryzen. And using the latest kernel.

Pop!_OS looks pretty good. And feels pretty fast.

Code: Select all

me@pop-os:~/Downloads/nicenux-1.2$ nicenux.py 
  _      _____ _   _ _    ___   __ KERNEL: 6.8.0-76060800daily20240311-generic
 | |    |_   _| \ | | |  | \ \ / / OS:     Pop!_OS 22.04 LTS
 | |      | | |  \| | |  | |\ V /  ARCH:   x86_64
 | |      | | | . ` | |  | | > <   CPU:    AMD Ryzen 7 4800U with Radeon Graphics 16@1.97GHz ( 2.90% )
 | |____ _| |_| |\  | |__| |/ . \  RAM:    14.85 GiB / 3.47 GiB ( 30.00% )
 |______|_____|_| \_|\____//_/ \_\ DISK:   224.81 GiB / 19.78 GiB ( 8.80% )
me@pop-os:~/Downloads/nicenux-1.2$ 
smatovic
Posts: 2714
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Operating system for engine development?

Post by smatovic »

Followup:

I switched to Debian over Ubuntu on my laptop for several reasons, still use Ubuntu 22.04 LTS and Windows 10 on workstation for GPGPU and chess, tried a NetBSD Unix for laptop in a first step, still on my todo list, to switch primary laptop to BSD Unix.

--
Srdja
JohnWoe
Posts: 508
Joined: Sat Mar 02, 2013 11:31 pm

Re: Operating system for engine development?

Post by JohnWoe »

I have switched from Mint to Pop!_OS on all my laptops. Clearly superior choice.
All BIOS is updated automatically. Full encryption of computer. Key shortcuts.
On my Ryzen laptop my keyboard sometimes didn't startup. I didn't know the DOCK needed a BIOS upgrade. After Pop!_OS it works like charm.
JohnWoe
Posts: 508
Joined: Sat Mar 02, 2013 11:31 pm

Re: Operating system for engine development?

Post by JohnWoe »

Never seen Mayhem getting in perft 100,000,000+ NPS. Absolutely crazy fast.

Pop!_OS 22.04
g++ 11.4.0 + / i7-12th
startpos depth 6

Code: Select all

perft 
1. a2a3 -> 4463267 (48 ms)
2. a2a4 -> 5363555 (54 ms)
3. b2b3 -> 5310358 (54 ms)
4. b2b4 -> 5293555 (52 ms)
5. c2c3 -> 5417640 (55 ms)
6. c2c4 -> 5866666 (59 ms)
7. d2d3 -> 8073082 (79 ms)
8. d2d4 -> 8879566 (87 ms)
9. e2e3 -> 9726018 (97 ms)
10. e2e4 -> 9771632 (98 ms)
11. f2f3 -> 4404141 (44 ms)
12. f2f4 -> 4890429 (49 ms)
13. g2g3 -> 5346260 (53 ms)
14. g2g4 -> 5239875 (52 ms)
15. h2h3 -> 4463070 (44 ms)
16. h2h4 -> 5385554 (54 ms)
17. b1a3 -> 4856835 (49 ms)
18. b1c3 -> 5708064 (57 ms)
19. g1f3 -> 5723523 (57 ms)
20. g1h3 -> 4877234 (48 ms)

===========================

Nodes:    119060324
Time(ms): 1190
NPS:      100050692