Rust anyone?

255 views
Skip to first unread message

John Melton G0ORX/N6LYT

unread,
Oct 18, 2025, 11:00:18 AMOct 18
to Hermes-Lite
I have been working on some new Linux code written in Rust that works with the HPSDR protocol radios (Hermes Lite and ANAN).

I have the RX side working well and have tested with my HL2, 8000DLE and 100D running Protocol 1 and Protocol 2.

Not ready for a full release yet but the performance is promising.

It uses gtk4-rs for the UI and I have written a simple Rust interface to WDSP.  The UI is defined in an XML file along with a CSS file, so is fairly easy to move components around and change their look.

Hopefully I will have a fully working version within the next couple of weeks.  It will all be published on my github.

-- John G0ORX

Screenshot From 2025-10-18 15-57-26.png

brhl...@gmail.com

unread,
Oct 18, 2025, 2:06:46 PMOct 18
to Hermes-Lite
Tnx, keep on working.

DL1YCF

unread,
Oct 19, 2025, 4:38:10 AM (14 days ago) Oct 19
to John Melton G0ORX/N6LYT, herme...@googlegroups.com
Is GTK4-rs a „universal“ GUI in the sense that it runs on Linux, Windows, MacOS?

I used to be sure that the next program written from scratch will use Qt.
> <Screenshot From 2025-10-18 15-57-26.png>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/hermes-lite/fa923fcc-e3dd-45c2-966a-469bf65e5f20n%40googlegroups.com.
> <Screenshot From 2025-10-18 15-57-26.png>

John Melton

unread,
Oct 19, 2025, 4:55:56 AM (14 days ago) Oct 19
to DL1YCF, herme...@googlegroups.com
This was not attempt to build an SDR application for cross platform use,
it was an exercise in learning Rust.

-- John G0ORX

Gary Abercrombie

unread,
Oct 19, 2025, 7:24:29 AM (14 days ago) Oct 19
to John Melton, DL1YCF, herme...@googlegroups.com
I developed my SDR (with WDSP) in QT so I could port easily to other platforms.  All of the radio modules (Ettus, Hermes, BladeRF, SdrPlay, HackRF) are in C/C++ and they ported fairly easily between Linux and Windows also.  Biggest issue is how to handle all of GPIO's to make a fully functional radio for each radio module as they are all different  in this regard.  Just not enough time in the day to support everything out there.

I have versions that run in Windows 10/11, Raspberry PI, and Nvidia Nano.

Having been a software developer in C/C++ for 40 years,  I am set in my ways and don't mess with other languages much.

Gary, N8CQ

image.png


Ed Grafton

unread,
Oct 19, 2025, 8:00:17 AM (14 days ago) Oct 19
to Hermes-Lite
N8CQ, I am getting warnings after downloading. I was hoping for a description of your software, but it just downloaded & WINDefender didn't like it.

Ed

Robert Dale

unread,
Oct 19, 2025, 12:28:27 PM (13 days ago) Oct 19
to Hermes-Lite
Gary, is your CQSDR available for others? Would like to give it a spin…
73,
Robert VE7ZN

Steve Haynal

unread,
Oct 19, 2025, 9:06:32 PM (13 days ago) Oct 19
to Hermes-Lite
Hi John,

Thanks for the update. It is very interesting work. I have been watching Rust from a distance but haven't done anything with it yet. Are you finding some clear advantages to using Rust?

73,

Steve
kf7o

"Christoph v. Wüllen"

unread,
Oct 20, 2025, 3:27:09 AM (13 days ago) Oct 20
to Steve Haynal, herme...@googlegroups.com
My $0.02 is, that some sort of AI should be able to convert from one
programming language into the other semi-automatically in the
forseeable future, so the
question of which programming language is used is perhaps a secondary
one.

The question which platforms support the GUI
(GTK is very different from Qt in this respect) is therefore
possibly more important.

Apart from that, the key design questions for a SDR software are:

- does it need a large screen or is a small one good enough

- does it need a high-precision pointer device (mouse) or does
it work with touch screens

I think we should concentrate on such questions, rather on whether
this is actually coded in FORTRAN, C, or rust.

Yours,

Christoph DL1YCF
> --
> You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/hermes-lite/30e02f06-ba93-4335-9f7e-0612475816bdn%40googlegroups.com.

Ron Lewkowicz

unread,
Oct 20, 2025, 3:13:20 PM (12 days ago) Oct 20
to Hermes-Lite
GTK is portable across Linux, Mac and Windows.
QT is portable across many, many more platforms.  You could probably build an app to run your HL2 from your android auto car screen.

John:
No issues compiling and installing.  Rust was very simple to install.  I was quite surprised there.  Let us know if and/or  when you wish to receive bug reports.

Your piHPSDR has been receiving a lot of love from both Christoph and now also Heiko in the deskHPSDR variation.  Just an absolutely fabulous solution for HL2.  

Alan Hopper

unread,
Oct 20, 2025, 4:02:50 PM (12 days ago) Oct 20
to Hermes-Lite
Hi John,
really cool, I've played a bit with rust and totally get the attraction but also have niggles.  SDR is a wonderful test of a language as the dsp side is non trivial and needs speed and the GUI side is ideally easy and still fast. If I were to write Spark again I would probably do far more in c# rather than c++ and maybe replace anything that could not be made fast enough in c# with rust. Have you enjoyed the experience?

73 Alan M0NNB
Reply all
Reply to author
Forward
0 new messages