News for hackers. Stuff that matters.
Re:Go bindings to Rust's regex engine by robohamburger on Monday May 02, 2016 @08:56PM (#11617050)
What will be interesting is when rust gets its own ABI. There is an rfc for it even: https://github.com/rust-lang/rfcs/issues/600

Hopefully if such a thing exists you could link directly to a rust library from other high level languages and possibly even have lower overhead.

For now being able to do the equivalent of extern "C" is not that new but still really useful I suppose.

Re:Go bindings to Rust's regex engine by kibwen on Monday May 02, 2016 @11:15PM (#11617615)
I wouldn't quite say that's an RFC, it's just an issue in the RFCs repo. Typically people use the issue tracker in order to represent RFCs that they would like to see written, sort of a wishlist.
Re:Go bindings to Rust's regex engine by robohamburger on Tuesday May 03, 2016 @01:01PM (#11622378)
Ah I misunderstood! Thinking about it a bit more and given how heavily rust uses generics it seems like having an ABI that is at all usable by another higher level language might be challenging. I guess there is always compiler plugins though :)