Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just had a thought that made me ridiculously excited. Like in Pony, doing FFI in Rust is unsafe for obvious reasons. But would it be possible to define a subset of the typesystems of both languages to have a possibility of calling Rust code safely from Pony? (I doubt it would work another way around, since Pony needs its runtime.) That would create super cool synergy with ergonomic and ultra safe Pony and ultra performant and safe Rust.


I suppose it would be possible although I'm not sure it would be worth the effort. Only one way to find out though.


I think that would be really great. You can already call Rust code via FFI, but it looks like that languages have a lot in common with the LLVM backend, and memory- and type-safety. Imagine the boost to productivity Pony users would get if they could call Rust code from the crates.io ecosystem from Pony, with next to no glue code?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: