Sometimes, though, you *need* to keep doing low-level things. It's not much of a necessity in the current state of technology anymore, but if you recall back in the 90s people used to hand-tune assembly code because the C code generated by the compiler was not efficient enough. The hardware was also the cause of such trickery, like Quake's fast inverse square root, which was created because integer aritmetic was much faster than floating point arithmetic back then. Most of these problems are solved by compiler optimizations and hardware improvements but people working on embedded systems sometimes still need to do low-level magic.
On July 25, 2017 12:04:15 PM GMT+03:00, Didier Kryn <kryn@???> wrote:
>Le 25/07/2017 à 00:34, Alessandro Selli a écrit :
>> On Mon, 24 Jul 2017 at 21:52:23 +0200
>> Ruediger Meier <sweet_f_a@???> wrote:
>>
>>> On Monday 24 July 2017, Joachim Fahrner wrote:
>>>> Am 2017-07-24 20:34, schrieb Hendrik Boom:
>>>>> How much source code actually cares whether pointers are 32 or 64
>>>>> bits?
>>>> Clean written code should not care about pointers or integers are
>32
>>>> or 64 bit or byte order. Code written in a higher language should
>run
>>>> on any hardware, otherwise I call it "defect".
>>> In theory you may have right but in practice I guess most currently
>used
>>> code would not run correctly on 16bit machines.
>>>
>>> In practice you have to run and test the code on all target
>>> architectures to keep it portable.
>> Right. Remember the Ariane!
>>
>> https://around.com/ariane.html
>
> Even with a high level language carefully designed to discourage
>loose programming and dirty low-level tricks, it is still possible,
>although with strong efforts, to fuck the compiler and keep programming
>
>at a very low level. And, unfortunately, there are programmers who like
>
>doing such things.
>
> Didier
>
>_______________________________________________
>Dng mailing list
>Dng@???
>https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
--- :^) --- :^) --- :^) --- :^) --- :^) --- :^) --- :^) --- :^) ---
https://blaze.nextchan.org -
https://gitgud.io/m712/blazechan
https://nextchan.org -
https://gitgud.io/nextchan/infinity-next
I am awake between 7AM-12AM UTC, hit me up if something's wrong
garbage of the day: hola