
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
github.com/Kromster80/RecastNavigationDelphi
Port of Recast Navigation into Delphi
Source code location: https://github.com/memononen/recastnavigation
Source code version: Around 01 Nov 2014
Porting guidelines:
Hints about the code:
Multi-condition "for" loops and loops where iterator gets changed inside the loop, were converted to while/repeat loops. Loop code needs to be repeated before any "continue".
Move method first two arguments (Src, Dst) need to be swapped in Delphi.
Delphi needs to wrap overflowing manipulations with a {$O} directive to supress errors.
Delphi needs manual disposal of objects created within record , as they dont have built-in destructor support in them.
To simplify the pointer trickery, {$POINTERMATH ON} had to be enabled almost in every unit.
Typed @ operator setting is great help, but sadly it does not work sometimes.
Common pitfalls during porting:
Todos:
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.