Re:Onivim 2: Lightweight, Modal Code Editor
by bfrog on Wednesday June 24, 2020 @09:42AM
(#23627762)
Is this another electron ide that takes minutes to copy paste in?
[ Parent
| on HN ]
Re:Onivim 2: Lightweight, Modal Code Editor
by bryphe on Wednesday June 24, 2020 @10:48AM
(#23628441)
We built a new UI framework to support development called Revery: https://github.com/revery-ui/revery
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.
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
Re:Onivim 2: Lightweight, Modal Code Editor
by ryannevius on Wednesday June 24, 2020 @09:48AM
(#23627826)
No, it's using Reason/Revery.