Re:Fornjot: A next-generation Code-CAD application
by hannobraun on Thursday March 10, 2022 @07:30AM
(#30626165)
Fornjot is architected to be language-agnostic. Rust is just the easiest language to support, given that the rest of the project is written in it too.
I (author of Fornjot) don't have any near-term plans to add support for other languages, but I hope that people will start experimenting (and someone already has: https://github.com/WeirdConstructor/Fornjot/tree/wlambda_int...).
Re:Fornjot: A next-generation Code-CAD application
by eurasiantiger on Thursday March 10, 2022 @01:41AM
(#30623819)
The FP approach has some readability limitations, for example flexbox-like distribution of multiple elements over a distance requires some heavy recursion.
I would argue such a system would be best implemented in a language that only has expressions. For example Elm has a wonderful geometry library [1].
[1] https://package.elm-lang.org/packages/ianmackenzie/elm-geome...