HN user

ljsb

66 karma
Posts0
Comments4
View on HN
No posts found.

Dollar Cost Averaging a lump sum might reduce your risk while you're averaging in, but why weren't you happy with the risk/return profile in the first place? And are you happy with increasingly higher risk/return as you commit more of your lump sum? Isn't it better to pick a portfolio with a risk profile you're happy with in the first place, then commit your entire lump sum?

I can't think of any practical way to do that without macros, unfortunately. I've found incremental compilation to be pretty speedy for small markup changes so far though. I do tend to put the presentation code in it's own crate for larger projects, which might make a difference. Maybe as my projects get bigger I'll start to run into problems.

Some other ideas:

- Temporarily stopping the rust-analyser server to avoid lock contention on the build dir.

- Using cranelift codegen backend (not sure of it's current status).