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: 98
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: 1573
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: 511
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: 2760
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: 511
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: 511
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
smatovic
Posts: 2760
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Operating system for engine development?

Post by smatovic »

Some 2024 Linux market share numbers, now ~4% on the desktop PC. Ubuntu, Debian, Mint, Arch seem to be the top distros for users:
Some of the latest stats include:

Statcounter: Linux occupies 3.77% of the market share, compared to 14.91% for macOS, and 73.9% for Windows.

Steam Survey: In terms of desktop gaming, Linux has a market share of 2.32% (Arch Linux, Ubuntu, and Linux Mint as the top three) when compared to 1.47% for macOS and 96.21% for Windows.

Statista (last updated on Jan. 2023): The Linux desktop market share was 2.76% compared to 14.55% for macOS, and 70.39% for Windows.

Stack Overflow Survey: Among the developers who participate in the Stack Overflow survey 2023,
27.28% of users use the Ubuntu operating system for personal use, and 26.69% use it for professional use.
8.39% of users use the Debian operating system for personal use, and 8.09% use it for professional use.
You can view the detailed stats on the official website. Furthermore, the stats for Linux-based distributions are briefly given on the chart.
https://itsfoss.com/linux-market-share/
Editor’s Choice

47% of Professional developers prefer Linux operating systems. (Statista)
Its capabilities account for 39.2% of websites whose operating systems are known. (W3Techs)
85% of smartphones are powered by Linux (Hayden James).
Its marketing share is 2.09 %. is, without doubt, third in Statista's top ten most-used desktop operating systems.
By 2027, the global Linux market will reach $15.64 trillion. (Fortune Business Insights).
Linux is the operating system of all the world's fastest supercomputers. (Blackdown)
96.3% of The top 1,000,000 web servers use Linux. (ZDNet)
Active Linus distros are still available today(Tecmint).
In 2022, Linux claimed a 34% market share in the container orchestration market, reflecting its versatility.
Linux holds approximately 3% of the desktop operating system market share according to StatCounter.
The Linux kernel, the core of the operating system, consists of more than 80 million lines of code, showcasing its complexity and robustness.
Linux is the preferred choice for web hosting, powering more than 95% of the top 1 million websites.
It enjoys ubiquity in the supercomputing realm, running on 100% of the world's supercomputers.
In 2022, Linux server revenue reached an impressive USD 13.4 billion, indicating its economic significance.
Linux offers a diverse landscape with over 500 different distributions catering to various user needs.
The cloud computing landscape heavily relies on Linux, with over 90% of public cloud workloads being Linux-based.
Despite its desktop market share, Linux accounts for approximately 36.7% of all operating systems on desktop computers.
Android, built on the Linux kernel, dominates the global smartphone market with a staggering 70% market share.
The Linux server market is expected to continue growing with an annual growth rate of 8.6%.
Linux's prowess extends to supercomputing, as over 92% of the world's top 500 fastest supercomputers run on Linux.
The global community of active Linux users exceeds a remarkable 100 million.
Android, a Linux-based operating system, sees over 1.5 billion smartphone shipments annually.
The embedded Linux market boasts an estimated size of USD 5.3 billion, signifying its role in various industries.
Linux is the platform of choice for 68% of IoT devices and systems, indicating its reliability.
With over 25,000 contributors, the Linux kernel enjoys robust development and continuous improvement.
The enterprise Linux market is projected to reach USB 14.4 billion by 2025, driven by business adoption.
Linux's reputation for security is strong, being considered 10 times more secure than some other operating systems.
Linux plays a critical role in the world's stock exchanges, powering more than 75% of them.
Its open-source nature leads to an average of 10,000 lines of code added daily, demonstrating its active development.
Linux remains the primary operating system for 70% of web servers globally.
Job postings related to Linux have surged by 31% in the last year, highlighting the high demand for Linux professionals.
https://www.enterpriseappstoday.com/sta ... stics.html

Guess 2025 with Windows 10 EOL we will see some more users switch.

--
Srdja