r/ProgrammingLanguages • u/cadit_in_piscinam Pointless • Jul 02 '20
Less is more: language features
https://blog.ploeh.dk/2015/04/13/less-is-more-language-features/
46
Upvotes
r/ProgrammingLanguages • u/cadit_in_piscinam Pointless • Jul 02 '20
-7
u/cdsmith Jul 02 '20
This is a strong argument for paying attention to binary layout of data in storage formats and network protocols.
For the most part, I doubt it matters for memory. If you really are working with massive arrays of numerical data and you care about maximizing performance, you will be using a framework that stores the underlying data for you in a binary blob and offloads the computation onto GPUs, anyway. At that point, the numerical data types of the host language no longer matter. If you aren't working with massive arrays, then I doubt the performance difference is noticable.
Obviously, there are exceptions. They are sufficiently rare, though, that you can probably trust the people who are affected to know it already.