3 ms·
Unfortunately the architectural details of the machine will leak through to the program you are writing, and you will need to twist your code in order to get co
by daemin 9y ago
Unfortunately the architectural details of the machine will leak through to the program you are writing, and you will need to twist your code in order to get correct behaviour and fast execution.
Case in point is the recent article posted on HN about the platform specific details of getTimeMilliseconds() in Java.
- tpxl 9y agoCould you link that article? I searched and couldn't find it on hN.
- daemin 9y agoI believe the article was http://pzemtsov.github.io/2017/07/23/the-slow-currenttimemillis.html http://pzemtsov.github.io/2017/07/23/the-slow-currenttimemil... Although I couldn't easily find it in my history or on HN. I had to resort to the Googles.