4 ms·
> limitations > Written in Node.js and packaged into an executable with nexe, so it's huge. Sorry it's not written in C. > future work > Rewrite in C or C++ to
by stephenr 8y ago
> limitations
> Written in Node.js and packaged into an executable with nexe, so it's huge. Sorry it's not written in C.
> future work
> Rewrite in C or C++ to make it considerably smaller
if all it does is install via apt, record the version, and then refer to the lock file the next time it's called, why on earth would you use C?
I'd be surprised if you need more than ~50 lines of shell to do that, including help output, error handling, etc
- TrevorSundberg 8y agoGreat point! Honestly I only started using linux back in October and my shell experience is still pretty limited, but growing.
- stephenr 8y agoFor deb based distros at least all the tool needs to do is `apt-get install foo=x.y.z; apt-mark hold foo`