
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Extreme QuadTree is an insanely fast QuadTree library made in C++.
This QuadTree includes moving entities and deleting them making it great for game engines/collision systems.
It uses the Node Addon API to run native C++ code in NodeJS.
If you want to use this in raw C++, just include src/qt/tree.cpp.
npm i extremeqt
This bench mark is against the extremely popular JS QuadTree, timohausmann-quadtree-js.
All benchmarks can be seen in the benchmarks/
folder
const ExtQT = require("extremeqt");
const width = 100;
const height = 100;
const qt = new ExtQT.Instance(width, height);
qt.create(3, 50, 50); // Create an entity on the QuadTree with an ID of 3, at position 50, 50.
console.log(qt.get(20, 20, 60, 60)); // Get all entities in a square with the width and height of 60, at position 20,20
qt.move(3, 70, 70); // Moves an entity with an ID of 3 into position 70,70
qt.destroy(3); // Deletes an entity with an ID of 3
qt.deallocate(); // Do this when you will not be using the quadtree anymore. Otherwise it will cause a memory leak.
new Instance(width, height)
create(id, x, y)
destroy(id)
move(id, x, y)
get(x, y, width, height)
deallocate()
FAQs
An Extremely fast and lightweight QuadTree made in C++ for NodeJS
The npm package extremeqt receives a total of 8 weekly downloads. As such, extremeqt popularity was classified as not popular.
We found that extremeqt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.