Search found 1823 matches

by mar
Thu Nov 15, 2018 5:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 1636

Re: std::cout or printf

Let's agree to disagree. I wonder where this misconception comes from, but C is NOT high level assembly, not even close. LLVM IR may be considered "high level assembly", but the term itself is dubious. I too did a lot of assembly in the past but C really is nothing like it, not even if you use some ...
by mar
Thu Nov 15, 2018 8:29 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 1636

Re: std::cout or printf

I agree with most that you wrote. But Java really is super-simple compared to C++, I'd even say it's trivial. C++ is easily the most complex language out there (and I don't think it's a good thing, sane people don't like complexity). I also don't think that the comparison of C and high level assembl...
by mar
Wed Nov 14, 2018 1:00 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 1636

Re: std::cout or printf

This is typically the result of the "design by a committee" approach: * some idiot, who just discovered namespaces, and wet his pants dreaming about them says: hey this is awesome, we should encapsulate C library in a namespace too! * someone else, likely the political kind, who knows it's a stupid...
by mar
Tue Nov 13, 2018 1:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: std::cout or printf
Replies: 27
Views: 1636

Re: std::cout or printf

Than you'd immediately stop using printf, because it's also a part or the C++ standard liblary, defined in header <cstdio>. You got it wrong, printf belongs to C runtime of course. cstdio is shitty wrapper which typically includes stdio.h internally, no magic here except it injects these C function...
by mar
Sat Nov 10, 2018 1:47 am
Forum: Computer Chess Club: General Topics
Topic: Demolito 20181029 released
Replies: 47
Views: 1938

Re: Demolito 20181029 released

Dann Corbit wrote:
Sat Nov 10, 2018 12:46 am
Sharable link:
https://drive.google.com/open?id=1hhhs3 ... sFdhWW41_y

Contains my tiny source change and a 64 bit Windows binary.
This compile of yours has asserts enabled (I get abs(score)<MATE at depth 9 from startpos). Did you actually test it?
by mar
Fri Nov 09, 2018 12:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Is there a tool to ask the computer how it can understand code?
Replies: 11
Views: 819

Re: Is there a tool to ask the computer how it can understand code?

Why pick definition of std gives me different result in stockfish and in a different code? When I click pick definition of std in the first line of main.cpp in stockfish it show me the fstream code but when I pick the same in a different file that has part of stockfish it shows me the ostream code ...
by mar
Thu Nov 08, 2018 12:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Is there a tool to ask the computer how it can understand code?
Replies: 11
Views: 819

Re: Is there a tool to ask the computer how it can understand code?

What you want is called "goto definition" in IDEs/Editors which support this feature.
by mar
Tue Nov 06, 2018 8:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: The Xiphos Material Evaluator
Replies: 14
Views: 1170

Re: The Xiphos Material Evaluator

So you tuned what exactly with Texel method? Piece values or imbalance?

"There is nothing to tune." really?! Then you must have some unknown source of elo, sitting on your hands and improving :D

I was out of luck with imbalance but for everything else Texel tuning worked extremely well.
by mar
Sat Nov 03, 2018 11:45 am
Forum: Computer Chess Club: General Topics
Topic: Which OS is better for chess? Windows or Linux.
Replies: 34
Views: 2447

Re: Which OS is better for chess? Windows or Linux.

I used to like IDEs, and goet fed up. Was using Codelite, and Code::Blocks. I guess these IDEs are good for doing GUI programming, although Qt Creator is probably a better choice for that. But for chess programming, I just use a terminal. Plain and simple. Text Editor + Clang/GCC. I'm not going to ...
by mar
Fri Nov 02, 2018 7:39 pm
Forum: Computer Chess Club: General Topics
Topic: Which OS is better for chess? Windows or Linux.
Replies: 34
Views: 2447

Re: Which OS is better for chess? Windows or Linux.

Have you tried code::blocks? It behaves pretty much like Visual Studio and you can run it on Windows, Mac, and Linux. (I think the Mac version is old, though). The new versions are pretty nice. They find your compilers and let you choose which one you want for the project. You can trace along debug...