syzygy1 / rustfish Goto Github PK
View Code? Open in Web Editor NEWRust port of Stockfish
License: GNU General Public License v3.0
Rust port of Stockfish
License: GNU General Public License v3.0
$ cargo build --release
I've updated gcc and rust, all 64 b and all works flawlessly!
Major missed opportunity in the name of the project.
Should have called it "turbofish".
I got some immutable/mutable borrow errors and deprecated wearnings.
Witch rust compiler version is used in this project?
Hi Ronald,
I successfully compiled Rustfish, got an .exe with 536kB. But it's not really starting. On a Windows command Shell I get:
Rustfish 8 dev by Syzygy based on Stockfish
thread "main" has overflowed ist stack
Regards,
Saugstrahler
I am getting the following errors in the bitboard module while compiling the source code:
The code affected by these errors is the following:
// Compute the attack's index using the 'magic bitboards' approach
fn index_bishop(s: Square, occupied: Bitboard) -> usize {
unsafe {
u64::wrapping_mul((occupied & BISHOP_MAGICS.masks[s.0 as usize]).0,
BISHOP_MAGICS.magics[s.0 as usize]) as usize >> (64-9)
}
}
fn index_rook(s: Square, occupied: Bitboard) -> usize {
unsafe {
u64::wrapping_mul((occupied & ROOK_MAGICS.masks[s.0 as usize]).0,
ROOK_MAGICS.magics[s.0 as usize]) as usize >> (64-12)
}
}
Do you know why this error occurs or what I can do to fix the overflow?
Hi, I just tried building fresh from source with cargo build --release
and it failed to compile due to the most recent commit. When I compiled from the parent (c5cdb...) it worked fine
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.