3 ms·
Julia got it right with its macro system. You can write embedded DSLs easily.
by fithisux 9mo ago
Julia got it right with its macro system. You can write embedded DSLs easily.
- wolvesechoes 9mo agoBut they are still worse experience that dedicated, separate languages. Compare ModelingToolkit.jl with Modelica (ok, there are some differences in capacilities, but just compare how better is to express models in Modelica).
- fithisux 9mo agoDSL is always better until you need to grow an ecosystem around it. If you can, go down the DSL path, otherwise use embedded DSL. If you can, go down the embedded DSL path otherwise use a library.