Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #8235 > unrolled thread

And what about the debate of wich is better Java or C++ ?

Started byIntelli2 <intelli2@mama.com>
First post2017-12-21 17:03 -0500
Last post2018-03-27 15:56 +0100
Articles 5 — 4 participants

Back to article view | Back to comp.programming


Contents

  And what about the debate of wich is better Java or C++ ? Intelli2 <intelli2@mama.com> - 2017-12-21 17:03 -0500
    Re: And what about the debate of wich is better Java or C++ ? Inigo joseph <inigojoseph89@gmail.com> - 2018-03-27 02:19 -0700
      Re: And what about the debate of wich is better Java or C++ ? Richard Heathfield <rjh@cpax.org.uk> - 2018-03-27 10:25 +0100
        Re: And what about the debate of wich is better Java or C++ ? Chad <cdalten@gmail.com> - 2018-03-27 07:50 -0700
          Re: And what about the debate of wich is better Java or C++ ? Richard Heathfield <rjh@cpax.org.uk> - 2018-03-27 15:56 +0100

#8235 — And what about the debate of wich is better Java or C++ ?

FromIntelli2 <intelli2@mama.com>
Date2017-12-21 17:03 -0500
SubjectAnd what about the debate of wich is better Java or C++ ?
Message-ID<p1hb3t$cv3$2@dont-email.me>
Hello,


And what about the debate of wich is better Java or C++ ?

I think what i have learned with C++ compilers and Delphi and FreePascal 
compilers is that i can do inline assembler with them and this permits 
me to understand more the hardware and talk to the hardware in Embedded 
systems etc. this can not be done with Java or C# or the like, also
forcing garbage collection in Java and C# is not optimally efficient,
please read this to understand it:

Quantifying the Performance of Garbage Collection vs. Explicit Memory 
Management

https://people.cs.umass.edu/~emery/pubs/gcvsmalloc.pdf

Other than that i am working with Delphi and Lazarus because they have 
there strenght such as being more productive with there RAD tools for 
developing GUI etc. and FreePascal and Delphi support modern Object 
Pascal, and even if they lacks static type inference, you can compensate 
for than by using dynamic type inference with variants and RTTI, and 
they support anonymous methods or Lambdas and i think they support 
decently generics etc. etc. and they are single-pass compilers that have 
there advantage because they are much faster than C++ at compiling.


I am also working with C++ because it is also good.



Thank you,
Amine Moulay Ramdane.

[toc] | [next] | [standalone]


#8567

FromInigo joseph <inigojoseph89@gmail.com>
Date2018-03-27 02:19 -0700
Message-ID<3c622d1d-6af4-4bab-ba75-443abec37eed@googlegroups.com>
In reply to#8235
C++ is also common with gaming applications where speed is necessary. You can manipulate hardware with Java, but it's not a common language for low-level programming since it's a “safer” language. ... Java is more widely known and versatile, so it's also easier to find a Java developer than a “harder” language such as C++. https://www.besanttechnologies.com/training-courses/java-training

[toc] | [prev] | [next] | [standalone]


#8568

FromRichard Heathfield <rjh@cpax.org.uk>
Date2018-03-27 10:25 +0100
Message-ID<p9d2m5$6na$2@dont-email.me>
In reply to#8567
On 27/03/18 10:19, Inigo joseph wrote:
> C++ is also common with gaming applications where speed is necessary.

Can you give me a specific example of ways in which C++ is faster than 
other languages such as, say, C?

<spam snipped>

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [next] | [standalone]


#8569

FromChad <cdalten@gmail.com>
Date2018-03-27 07:50 -0700
Message-ID<7991ff34-e73f-4138-95dd-3f15666bbff5@googlegroups.com>
In reply to#8568
On Tuesday, March 27, 2018 at 2:25:29 AM UTC-7, Richard Heathfield wrote:
> On 27/03/18 10:19, Inigo joseph wrote:
> > C++ is also common with gaming applications where speed is necessary.
> 
> Can you give me a specific example of ways in which C++ is faster than 
> other languages such as, say, C?
> 
> <spam snipped>
> 

Hello World in C++ vs. a packet sniffer, written in C, being set to promiscuous mode?

[toc] | [prev] | [next] | [standalone]


#8570

FromRichard Heathfield <rjh@cpax.org.uk>
Date2018-03-27 15:56 +0100
Message-ID<p9dm2k$1cn$1@dont-email.me>
In reply to#8569
On 27/03/18 15:50, Chad wrote:
> On Tuesday, March 27, 2018 at 2:25:29 AM UTC-7, Richard Heathfield wrote:
>> On 27/03/18 10:19, Inigo joseph wrote:
>>> C++ is also common with gaming applications where speed is necessary.
>>
>> Can you give me a specific example of ways in which C++ is faster than
>> other languages such as, say, C?
>>
>> <spam snipped>
>>
> 
> Hello World in C++ vs. a packet sniffer, written in C, being set to promiscuous mode?

The question was aimed at determining whether (or, to be rather more 
pessimistic, demonstrating that) "Inigo joseph" is a write-only Usenet 
subscriber, in which case we can without further investigation safely 
dismiss any URL he is seeking to plug.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web