Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Full rewrite in C++ #401

Open
aviallon opened this issue Apr 21, 2021 · 10 comments
Open

Full rewrite in C++ #401

aviallon opened this issue Apr 21, 2021 · 10 comments

Comments

@aviallon
Copy link

aviallon commented Apr 21, 2021

Hello, just to let you know, I did a full rewrite of Ananicy in C++
Code is located here:
https://gitlab.com/ananicy-cpp/ananicy-cpp/

Have a nice day,
Antoine Viallon

@aviallon
Copy link
Author

@nefelim4ag you should really check this out.

@ghost
Copy link

ghost commented Jun 30, 2021

claps

@enkeyz
Copy link

enkeyz commented Aug 3, 2021

What about in Go? :P Better concurrency out of the box.

@aviallon
Copy link
Author

aviallon commented Aug 3, 2021

What about in Go? :P Better concurrency out of the box.

Because parallelism isn't really needed here, because I have to make bare syscalls, because I want a relatively low memory footprint, and because I can do concurrency in C++ just fine.

@LinuxOnTheDesktop
Copy link

LinuxOnTheDesktop commented Oct 2, 2021

@aviallon

Is the rewrite (at least intended to be) a drop-in replacement, i.e. one that requires no changes other than replacing the actual program? EDIT: oh, I see that it is (barring a bug or two).

@riccardv
Copy link

It works well, less resource used compared to Ananicy. Unique problem is the compiling procedure: gcc/binutils must be updated and support last C++ features. But it is a great work!

@LinuxOnTheDesktop
Copy link

@LinuxOnTheDesktop
Copy link

I note that on this the original ananicy, CPU usage does seem a little high: on a system with an Intel i5-3320M @ 3.300GHz, ananicy's python process takes up to 4% of total CPU every $check_freq seconds.

@kuche1
Copy link
Contributor

kuche1 commented Apr 11, 2022

@aviallon You are doing god's work.

@RubenKelevra
Copy link

@aviallon Maybe it makes sense to use a shared ruleset in form of a repository which just gets packaged into both versions? :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants