News for hackers. Stuff that matters.
Re:Fornjot: A next-generation Code-CAD application by axelerator on Wednesday March 09, 2022 @03:25PM (#30619527)
I think 3D modelling lends itself exceptionally well to the functional programming style. Rusts syntax is heavily influenced to solve a breadth of system level problems that don't exist in the "application" space this is solving.

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...

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.