Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@lastolivegames/becsy
Advanced tools
A multithreaded Entity Component System (ECS) for TypeScript and JavaScript, inspired by [ECSY](https://github.com/ecsyjs/ecsy) and [bitecs](https://github.com/NateTheGreatt/bitECS), and guided by [ideas from Flecs](https://ajmmertens.medium.com/why-vanil
A multithreaded Entity Component System (ECS) for TypeScript and JavaScript, inspired by ECSY and bitecs, and guided by ideas from Flecs.
From ECSY we take:
From bitecs we take:
ArrayBuffer
for performanceThen we add:
Overall, becsy aims to be feature rich without sacrificing too much performance. The goal is to be 10x faster than ECSY when single-threaded, and faster than bitecs when multithreaded as long as the problem is parallelizable. Here's a snapshot of current performance per ecs-benchmark -- note that there are separate development and performance builds of becsy, with all safety checks removed from the latter:
packed_1 | packed_5 | simple_iter | frag_iter | entity_cycle | add_remove | |
---|---|---|---|---|---|---|
becsy | 14,661 op/s | 15,994 op/s | 2,877 op/s | 29,098 op/s | 1,166 op/s | 5,166 op/s |
becsy/perf | 57,102 op/s | 56,185 op/s | 35,354 op/s | 93,403 op/s | 1,063 op/s | 6,651 op/s |
bitecs | 185,036 op/s | 182,400 op/s | 114,440 op/s | 376,528 op/s | 1,790 op/s | 3,357 op/s |
ecsy | 4,769 op/s | 3,197 op/s | 2,174 op/s | 12,033 op/s | 18 op/s | 397 op/s |
FAQs
Becsy is an Entity Component System (ECS) framework for TypeScript and JavaScript that will make it nearly effortless to write performant, multi-threaded code.
We found that @lastolivegames/becsy 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.