Compiler Speed Nowadays

Discussion of chess software programming and technical issues.

Moderator: Ras

mar
Posts: 2670
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Compiler Speed Nowadays

Post by mar »

Sesse wrote: Wed Dec 30, 2020 11:21 pm std::format?
nah, anything starting with std:: belongs in the trash can (YMMV)
Urm, that's one of the cases that's a mighty pain to do with anything but logging.

(I've spent a good chunk of my professional life debugging distributed systems :-) Good luck attaching a debugger when your process is spread over 500 different machines in a datacenter at the other side of the world.)
I believe I was talking threads :)
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Compiler Speed Nowadays

Post by mvanthoor »

Joost Buijs wrote: Tue Dec 29, 2020 5:43 pm To be honest I have the feeling that development tools under Linux are so cumbersome compared to Visual Studio that I don't want to step away from it. When I really like a piece of software I'm always willing to pay for it, I don't want everything for free.
To some extent, you are right.

Linux (or on Windows, when using open source tools) requires you to set up everything from scratch. Install the compiler. Install the debugger. Make the development environment aware of both the compiler and the debugger. Set environment variables, etc... everything works with everything (almost any compiler works with any debugger). You have to puzzle your way through the setup of the environment, especially if you haven't done so before.

Visual Studio on Windows: Start setup -> Check what you want -> Install -> Done. Go!

In the end, both the open source tools and Visual Studio give you roughly the same possibilities, but with the open source tools, its much more work (and you have to know much more technical stuff) to set it up.

The one thing is... I don't like Visual Studio. Compared to Visual Studio Code (I use both at work: the first for C# work, the other to maintain some legacy PHP software until a new C# version is ready), Visual Studio is a massive resource hog. Because I'm shifting from PHP to C# (from the older legacy application to starting to write a completely new version in C#), I've had to request a new laptop because the old laptop just can't cut it anymore; both with regard to compile speed, and Visual Studio user experience.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
JohnWoe
Posts: 529
Joined: Sat Mar 02, 2013 11:31 pm

Re: Compiler Speed Nowadays

Post by JohnWoe »

vim is basically the only program I would pay premium. No questions asked.
I do all my editing on Vim. Hell, I can even hack binaries in vim easily :lol:
IDEs are all heavy, buggy and slow. The Wirth's law.