[Info-vax] The (now lost) future of Alpha.
Arne Vajhøj
arne at vajhoej.dk
Sun Aug 5 19:49:20 EDT 2018
On 8/5/2018 7:28 PM, Johnny Billquist wrote:
> On 2018-08-04 00:28, Arne Vajhøj wrote:
>> C, C++ or Ada still provide easy HW access and
>> good real time characteristics, so they will
>> not go away.
>
> I might strongly disagree with this one. With C++, you have no idea what
> happens when you do something in the language, making it horrible for
> figuring out any sort of real time characteristics.
>
> Think classes, inheritance (even multiple inheritance), exceptions and
> so on. You create an objects and you have no idea how much code is
> executed, or how much memory is required. C++ is in general very much
> depending on lots of memory, and a very dynamic memory management model,
> which is horrible if we talk embedded and realtime stuff.
>
> (But yes, I know C++ is being used by some people for those exact
> environments anyway. I can just feel sorry for when, for some surprising
> and unknown reason their devices do not work as expected.)
Compared to languages that use GC then C++ is pretty good in this
regard.
:-)
Arne
More information about the Info-vax
mailing list