Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by Cthulhu_ on Monday August 25, 2025 @04:29AM
(#45011583)
If that is the objective, there's a few options available; a more pragmatic one is to use a tool that bundles a Python runtime and the application into a single executable, there's a few options there. Rewriting in a different language should always be a last resort given the time investment required.
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by guessmyname on Monday August 25, 2025 @05:07AM
(#45011831)
> Rewriting in a different language should always be a last resort given the time investment required.
Makes no sense. This is a relatively small program that can easily be rewritten by a large large model like ChatGPT, Claude, Gemini, etc. in a day session.
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by kunley on Monday August 25, 2025 @05:09AM
(#45011843)
> Rewriting in a different language should always be a last resort given the time investment required.
..or, a refreshing and exciting experience.
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by import on Monday August 25, 2025 @07:49AM
(#45012827)
Not here to advise rewriting from scratch but I found myself considering using go/rust/c stuff instead of Python in the last few years. Less headache and more predictable
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by zorlack on Monday August 25, 2025 @07:47AM
(#45012814)
You're certainly right that statically linked binary is the most optimal expression of this goal. Especially for use in a secure environment.
Alas, this is just a python tool :)
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by akx on Monday August 25, 2025 @07:29AM
(#45012689)
These days, once you have https://docs.astral.sh/uv/ installed, `uvx --from service-ping-sping sping` is pretty much zero effort to run this software.
Re:Show HN: Sping – A HTTP/TCP Latency Tool That's Easy on t...
by 1718627440 on Monday August 25, 2025 @04:18PM
(#45018488)
Except if you don't like pulling random programs from the internet.
Consider rewriting the program in Go, then you’ll have a statically linked binary that’s much easier to install (less dependencies) and will be much faster too.