Orthanc plugin in Rust

77 views
Skip to first unread message

Andrew Webber

unread,
Dec 5, 2021, 3:44:52 PM12/5/21
to Orthanc Users
Seasonal greetings to all,

I have completed an Orthanc plugin in Rust and would like to ask if it is permitted to contribute back the community using official contribution channels.

The SDK documentation / license indicates that plugins can only be written in C/C++.

However I believe Rust has a place in the Medical ecosystem, especially regarding critical systems and security.

The plugin uses the C FFI to ensure compatibility.

Thanks in advanced.

Many kind regards,

Andrew 

Alain Mazy

unread,
Dec 6, 2021, 4:45:37 AM12/6/21
to Andrew Webber, Orthanc Users
Hi Andrew,

Glad to know that you've developed a plugin in Rust and, of course, feel free to share it with the community. 

I think that "plugins can only be written in C/C++" should be interpreted as "plugins can only be written through the C Orthanc SDK".  Even the python plugins actually use the C interface.  It's a technical limitation more than a license limitation.

HTH,

Alain.





--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/59d3ed07-e9e8-4d4b-9117-386cac994089n%40googlegroups.com.

Sébastien Jodogne

unread,
Dec 6, 2021, 7:20:57 AM12/6/21
to Orthanc Users
Dear Andrew,

I have just updated the Orthanc Book by the information given by Alain, in the hope that this will clarify your question:

Summarizing, yes, feel free to develop Rust plugins (or plugins using any C-compatible language such as Objective-C or C++). We'll happily index your contribution in the Orthanc Book:

Kind Regards,
Sébastien-

Andrew Webber

unread,
Dec 6, 2021, 7:36:08 AM12/6/21
to Orthanc Users
Sébastien, Alain,

Thank you so much for the clarification.
I will now move ahead with publishing, licensing and documenting the plugin.

Many kind regards,

Andrew 

Reply all
Reply to author
Forward
0 new messages