Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #8342 > unrolled thread
| Started by | computer45 <computer45@cyber.com> |
|---|---|
| First post | 2018-01-29 13:41 -0500 |
| Last post | 2018-01-31 04:08 -0800 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.programming
And what about the debate of wich is better Java or C++ ? computer45 <computer45@cyber.com> - 2018-01-29 13:41 -0500
Re: And what about the debate of wich is better Java or C++ ? JJ <jj4public@vfemail.net> - 2018-01-30 04:51 +0700
Re: And what about the debate of wich is better Java or C++ ? Ed Prochak <edprochak@gmail.com> - 2018-01-30 11:33 -0800
Re: And what about the debate of wich is better Java or C++ ? Öö Tiib <ootiib@hot.ee> - 2018-01-31 04:08 -0800
| From | computer45 <computer45@cyber.com> |
|---|---|
| Date | 2018-01-29 13:41 -0500 |
| Subject | And what about the debate of wich is better Java or C++ ? |
| Message-ID | <p4nptk$mfs$10@dont-email.me> |
Hello, Read this: 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 I think Java or C# are not like C++ or modern Object Pascal of Delphi and FreePascal compilers, because Java and C# wanted to be more high level that avoids more to leaking memory by for example forcing garbage collection and by being more high level by avoiding bugs of pointers and inline assembler, but forcing garbage collection is not optimally efficient and being high level as Java and C# by forbiding inline assembler and pointers is not raking wide or being more general, this is why Java and C# are not the solution for all, and this is why C++ compilers and FreePascal and Delphi compilers are still useful. Other than that i am also 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 lack static type inference, you can compensate for that by using dynamic type inference with variants and RTTI that are supported by modern Object Pascal of Delphi and FreePascal, 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 Delphi and with C++ because it is also good. And About Applying the Universal Scalability Law to organisations Read more here: https://blog.acolyer.org/2015/04/29/applying-the-universal-scalability-law-to-organisations/ And i am Amine Moulay Ramdane, a white arab who has invented many scalable algorithms and there implementations, and i have implemented also Universal Scalability Law, I have included a 32 bit and 64 bit windows executables called usl.exe and usl_graph.exe inside the zip, please read the readme file to know how to use it, it is a very powerful tool. You can download my USL software from: https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal Thank you, Amine Moulay Ramdane.
[toc] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2018-01-30 04:51 +0700 |
| Message-ID | <ul8rhg0z7ci4$.11p6trq11tany.dlg@40tude.net> |
| In reply to | #8342 |
On Mon, 29 Jan 2018 13:41:54 -0500, computer45 wrote: > Hello, > > Read this: > > 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 > > I think Java or C# are not like C++ or modern Object Pascal of Delphi > and FreePascal compilers, because Java and C# wanted to be more high > level that avoids more to leaking memory by for example forcing garbage > collection and by being more high level by avoiding bugs of pointers and > inline assembler, but forcing garbage collection is not optimally > efficient and being high level as Java and C# by forbiding inline > assembler and pointers is not raking wide or being more general, this is > why Java and C# are not the solution for all, and this is why C++ > compilers and FreePascal and Delphi compilers are still useful. > > Other than that i am also 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 lack static type inference, you can compensate > for that by using dynamic type inference with variants and RTTI that are > supported by modern Object Pascal of Delphi and FreePascal, 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 Delphi and with C++ because it is also good. > > And About Applying the Universal Scalability Law to organisations > > Read more here: > > https://blog.acolyer.org/2015/04/29/applying-the-universal-scalability-law-to-organisations/ > > And i am Amine Moulay Ramdane, a white arab who has invented many > scalable algorithms and there implementations, and i have implemented > also Universal Scalability Law, I have included a 32 bit and 64 bit > windows executables called usl.exe and usl_graph.exe inside the zip, > please read the readme file to know how to use it, it is a very powerful > tool. You can download my USL software from: > > https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal > > Thank you, > Amine Moulay Ramdane. "Better" is relative. Java's main advantage is that its binaries are multi platforms (i.e. one binary for multiple platforms), while C/C++ binaries platform specific (bound to a single platform) but excel at efficiency and performance.
[toc] | [prev] | [next] | [standalone]
| From | Ed Prochak <edprochak@gmail.com> |
|---|---|
| Date | 2018-01-30 11:33 -0800 |
| Message-ID | <ed87ff52-6e00-4fe6-904a-056e68bf33bd@googlegroups.com> |
| In reply to | #8344 |
On Monday, January 29, 2018 at 4:51:03 PM UTC-5, JJ wrote: > > "Better" is relative. > > Java's main advantage is that its binaries are multi platforms (i.e. one > binary for multiple platforms), while C/C++ binaries platform specific > (bound to a single platform) but excel at efficiency and performance. Agreed, but there is a bigger issue. To limit the discussion to a half dozen programming languages is like trying to determine the best chemical compounds but limiting yourself to only metallic alloys. There are many languages to choose from. So if we are going to discuss the "best" language, then we need to agree on the application area. Ed
[toc] | [prev] | [next] | [standalone]
| From | Öö Tiib <ootiib@hot.ee> |
|---|---|
| Date | 2018-01-31 04:08 -0800 |
| Message-ID | <cad9b9f2-ab86-4fa2-bae3-a833b5a9f642@googlegroups.com> |
| In reply to | #8344 |
On Monday, 29 January 2018 23:51:03 UTC+2, JJ wrote: > On Mon, 29 Jan 2018 13:41:54 -0500, computer45 wrote: > > Hello, > > > > Read this: > > > > 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 > > > > I think Java or C# are not like C++ or modern Object Pascal of Delphi > > and FreePascal compilers, because Java and C# wanted to be more high > > level that avoids more to leaking memory by for example forcing garbage > > collection and by being more high level by avoiding bugs of pointers and > > inline assembler, but forcing garbage collection is not optimally > > efficient and being high level as Java and C# by forbiding inline > > assembler and pointers is not raking wide or being more general, this is > > why Java and C# are not the solution for all, and this is why C++ > > compilers and FreePascal and Delphi compilers are still useful. > > > > Other than that i am also 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 lack static type inference, you can compensate > > for that by using dynamic type inference with variants and RTTI that are > > supported by modern Object Pascal of Delphi and FreePascal, 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 Delphi and with C++ because it is also good. > > > > And About Applying the Universal Scalability Law to organisations > > > > Read more here: > > > > https://blog.acolyer.org/2015/04/29/applying-the-universal-scalability-law-to-organisations/ > > > > And i am Amine Moulay Ramdane, a white arab who has invented many > > scalable algorithms and there implementations, and i have implemented > > also Universal Scalability Law, I have included a 32 bit and 64 bit > > windows executables called usl.exe and usl_graph.exe inside the zip, > > please read the readme file to know how to use it, it is a very powerful > > tool. You can download my USL software from: > > > > https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-freepascal > > > > Thank you, > > Amine Moulay Ramdane. > > "Better" is relative. > > Java's main advantage is that its binaries are multi platforms (i.e. one > binary for multiple platforms), while C/C++ binaries platform specific > (bound to a single platform) but excel at efficiency and performance. Most users dislike platform-unaware good at nothing and for nothing programs. Who cares how convenient and cheap it was to make? It is still unpleasant trash. Good software has different usage per platform. Its UI for desktop, tablet and phone are designed separately. The UI assets for one platform are usually way over 90% of binary size of program. The UI logic of one platform is usually more than half of its code base size. So ... the compatibility of part of executable byte-code just matters not that much if we talk about good software.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web