[m-dev.] Rust backend?

Fabrice Nicol fabrnicol at gmail.com
Fri Sep 19 21:49:00 AEST 2025


Is there any project around aiming at a Rust backend?
With its growing adoption as a memory-safe alternative to C and runtime
wonders one might be tempted to see it as a possible step forward for
Mercury integration in a number of promising projects.
The elephant in the room here will be how to cleanly get rid of global heap
GC. Not a minor hurdle to jump over considering the extensive use of the
Boehm GC at runtime. Note that some stack-oriented Prologs like GNU do not
resort to GC and might be better candidates for a Rust backend.So my
question, before giving it a try myself: is the whole endeavour doomed from
the start or is there any glimmer of hope?
Regards
Fabrice Nicol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20250919/807e6ced/attachment.html>


More information about the developers mailing list