TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JAN PANTELTJE
from: THE NATURAL PHILOSOPHER
date: 2018-04-23 11:43:00
subject: Re: Apologies where they

On 23/04/18 11:24, Jan Panteltje wrote:
> On a sunny day (Mon, 23 Apr 2018 10:09:11 +0100) it happened The Natural
> Philosopher  wrote in :
>
>> On 23/04/18 09:55, jack4747@gmail.com wrote:
>>> Il giorno lunedì 23 aprile 2018 10:16:01 UTC+2, Gordon Henderson ha
scritto:
>>>
>>>> I have looked at compiling my BASIC to native code - and there is more
>>>> or less a 1:1 relationship with a line of BASIC and a Line/Block of ASM
>>>> - it's no-where near efficient as C though (and 'compiling' BASIC into
>>>> C is just as easy and may actually result in faster code, but that's a
>>>> job for another day)
>>>
>>> It's not that C is inherently efficient, it's the compiler that optimize
the asm.
>>> If you compile a C source code with optimization disabled, you'll get a
(almost) 1:1 relationship line of C : line of asm.
>>>
>>> Bye Jack
>>>
>> I think that is only half of it: The other half is that C IS assembler,
>> written in shorthand. I cannot offhand think of any native c operation
>> that is not an atomic assembler operation.
>
> I am not sure that is correct.
> Accessing structures and members of structures comes to mind.
>
>
>> Ok sometimes on some processors operation on the contents of memory are
>> two opcodes.
>>
>> The difference with for example C++ is astonishing.
>
> C++ is a crime against humanity, a sad failed attempt to change C
> into an object oriented language.
> C++ is the reason for all bloated software in the known universe,
> including, but not limited to, Mikeysoft.
>
> Just a question, now that all of you are ready to throw pies,
> did any of you guys ever read Dr Dobbs magazine long ago?
> I always found that inspiring, for sure some software coding methods in C
> I picked up from that.
> Not sure what became of it, stopped reading it when the world wide spiders
> took over, as google and wikipedia answer most questions.
> stackexchange.com is for example a good site.
> Linked lists in C in Dr Dobbs comes to mind.
> There is no need for C++, really, Linus does not want it in the kernel
either.
> And of course the power of C is in the libraries, libc, there are many,
> for almost anything.
> If you want to write a new language than you have to supply libraries.
> The other point is portability, C runs on - there is a compiler for,
> almost any platform.
> Unfortunately these days people invest time in snakes, some dangerous like
Pythons,
> not in languages close to the hardware they actually use.
> My take.
>
>
>
I have to agree with you. I looked at C++ and the supposed efficiencies
and safeguards of object orientation and decided than all the good
things about it could be achieved by coding C in separate object FILES
with limited public entry points and private (static) data spaces and
subroutines.

And all the bad things avoided as well. Like operator overloading.

It's the same with web sites. They too now use bloated 'frameworks'
designed to let people who can't code screw up in yet more novel ways.



--
"And if the blind lead the blind, both shall fall into the ditch".

Gospel of St. Mathew 15:14

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.