Testing Ring on DragonFlyBSD, NetBSD, OpenBSD, and OpenIndiana

46 views
Skip to first unread message

Youssef Saeed

unread,
Jan 21, 2026, 9:22:51 PM (11 days ago) Jan 21
to The Ring Programming Language
Hello everyone,

I am writing to share the results of a portability assessment of Ring (v1.25) on several Unix-like operating systems, specifically within the BSD and OpenSolaris families.

To achieve successful execution on these platforms, I required a few minor modifications to the source code. I have attached the full `general.c` and `ring.h` files if you want to run Ring on these platforms.

Code Modifications:
  • src/general.c: Updated `ring_general_exefilename` to correctly handle executable path detection logic for these specific platforms (exefilename() and exefolder()).
  • include/ring.h: Added the necessary preprocessor definitions to recognize NetBSD, OpenBSD, and DragonFly BSD variants alongside the existing FreeBSD logic.
Test Results:
With these changes applied, the test suite results were excellent:
  • DragonFly BSD 6.4.2: 100% Pass (0 Fails)DragonFly.png
  • OpenIndiana Hipster 2025.10 (SunOS 5.11): 100% Pass (0 Fails)
    OpenIndiana.png
  • NetBSD 10.1: 99.8% Pass (1 Fail)NetBSD.png
  • OpenBSD 7.8: 99.7% Pass (2 Fails)OpenBSD.png
Note on Test Failures:
Regarding the minor failures on NetBSD (1) and OpenBSD (2): These are performance-related tests. Since I am running these operating systems inside Virtual Machines, these failures are expected due to virtualization overhead and do not indicate a bug in the Ring language implementation itself.

Best regards,
Youssef
general.c
ring.h

Mansour Ayouni

unread,
Jan 21, 2026, 9:25:28 PM (11 days ago) Jan 21
to Youssef Saeed, The Ring Programming Language
Hello Youssef,

That's wonderful!

Best,
Mansour

--

---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ring-lang/023ff8f7-666c-456d-9387-c12c1b9f6f66n%40googlegroups.com.

Mahmoud Fayed

unread,
Jan 21, 2026, 11:14:25 PM (11 days ago) Jan 21
to The Ring Programming Language
Hello Youssef

>> "To achieve successful execution on these platforms, I required a few minor modifications to the source code. I have attached the full `general.c` and `ring.h` files if you want to run Ring on these platforms."

Thanks for sharing :D

Greetings,
Mahmoud
Reply all
Reply to author
Forward
0 new messages