Tangentially related, LaTeX's siunitx package makes typesetting units a joy. Is there similar functionality available in HTML/Markdown ecosystems? https://ctan.org/pkg/siunitx
Julia: https://github.com/PainterQubits/Unitful.jl
Python: https://pint.readthedocs.io/en/0.6/
C++: https://github.com/nholthaus/units
etc.
And yes, it has always struck me as strange that date/time/calendar utilities are standard as canonical functionality shipped with language distributions, but units are not.
Maybe, but I'm doubtful. Scientific domain experts flock to languages like Python, Julia, Matlab, R, etc. because they're interactive and allow them to quickly iterate on ideas, query data, produce plots, etc. Swift is not much of an interactive language and is not built around that kind of repl driven experience.
> In particular, do you have another example aside from DifferentialEquations.jl ?
Sure, here's a smattering of high quality packages made by and for research scientists:
https://github.com/JuliaApproximation/ApproxFun.jl
https://github.com/BioJulia
https://github.com/JuliaDiffEq/ModelingToolkit.jl
https://github.com/crstnbr/MonteCarlo.jl
https://github.com/chriselrod/LoopVectorization.jl
https://github.com/JuliaNLSolvers/Optim.jl
https://github.com/PainterQubits/Unitful.jl
https://github.com/mcabbott/TensorCast.jl
https://github.com/JuliaPhysics/Measurements.jl
https://github.com/Jutho/TensorOperations.jl
There are many many more, these are just the first that came to mind.