Re:Onivim 2: Lightweight, Modal Code Editor
by ComputerGuru on Wednesday June 24, 2020 @11:18AM
(#23628859)
That looks really nice - great job! There’s been a great amount of innovation in GUI libraries in the past two years. What’s the ffi story here? Can it be used as the frontend for a rust or C# application?
Re:Onivim 2: Lightweight, Modal Code Editor
by bryphe on Wednesday June 24, 2020 @11:37AM
(#23629164)
Thanks ComputerGuru! :) Certainly, Revery is just putting together the building blocks the ReasonML and OCaml communities have developed. Inspired by ReactJS and Elm.
Revery supports the same FFI as OCaml [1] - C-style linking. I believe Rust would be straightforward to integrate that way - I'm not sure about C#.
- [1] https://caml.inria.fr/pub/docs/manual-ocaml/intfc.html
It's inspired by ReactJS, and has a similar API, but actually compiles to native code (not javascript). So you have a React-like developer experience, but with native perf.