Re:Reflections on Rust, and the Sand Castle Metaphor
by lmm on Friday April 27, 2018 @12:54PM
(#16942273)
Depends what you're competing on. IIRC (can't view your link) OCaml/Haskell performance is much closer to Rust than it is to Python (runtime tends to like x for rust, 2x-5x for OCaml/Haskell, and 70x or more for Python) - if IshKebab's starting point was "my Python script is too slow, I need something an order of magnitude faster" then OCaml/Haskell would be competitive with Rust in that space.
Re:Reflections on Rust, and the Sand Castle Metaphor
by igouy on Friday April 27, 2018 @01:42PM
(#16942665)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
stirner seems to mean something different by "competitive".
Re:Reflections on Rust, and the Sand Castle Metaphor
by pjmlp on Saturday April 28, 2018 @05:57AM
(#16946911)
If I have a budget of 300ms and 100MB, am able to deliver it within 150ms and 30MB, why should I spend more money to make it lets say 50ms and 10MB?
Re:Reflections on Rust, and the Sand Castle Metaphor
by stirner on Saturday April 28, 2018 @08:00AM
(#16947256)
There are many reasons why you might use a systems programming language [1].
> System programming requires a great degree of hardware awareness. Its goal is to achieve efficient use of available resources, either because the software itself is performance critical (AAA video games) or because even small efficiency improvements directly transform into significant monetary savings for the service provider (cloud based word processors).
Re:Reflections on Rust, and the Sand Castle Metaphor
by pjmlp on Saturday April 28, 2018 @10:13AM
(#16947718)
A few languages do support such low-level controls to have such fine grain memory control outside GC hands.
So the question is, having been able to achieve half of the allowed budget, why pay for more development effort?
Of course, if the bugdet is only achievable with a lower level language, there is no way around using it.
[1] http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan... [2] https://benchmarksgame.alioth.debian.org/u64q/compare.php?la...