Just a quick question is pact written in ruby but ...
# general
j
Just a quick question is pact written in ruby but been refactored to rust via the ffi?
m
The initial implementation was Ruby, and a number of languages to assist with getting it up and going, bundled Ruby into them as the “shared core”. This worked great, but as Ruby is not easily distributed there were some challenges. There is a program of work to migrate to Rust. See also https://docs.pact.io/history and https://github.com/pact-foundation/pact-specification/issues/83
why do you ask?
j
ah i saw some ffi in the pacts for rust and some rust like error messages and i was curious if it was refactoring i9t or building it fromt he ground up
👍 1
m
Are you a Rustacian? 😛
j
i think i mentioned it previously, but i dabble quite a bit outside of work with Rust. Mainly games development and some stuff like that. Though i have been dabbling in writing rust and importing it as python functions etc. My current project ive been dabbling quite a biit with Warp and will get around to maybe writing some contract tests in rust. My next project will be to get some games into the browser with web assembly
😎 3
t
^ This sounds awesome, John!