Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Why not just compile C++ to the JVM

Name: Anonymous 2015-11-22 17:17

... instead of programming in Java?

Like what's the point? Can't you basically do everything in C++ that you could do in Java, and then some?

Name: Anonymous 2015-11-22 17:42

because someone would have to write the compiler which doesn't currently exist

Name: Anonymous 2015-11-22 17:51

It would probably be like compiling BCPL on the Burroughs B5000.

Name: Anonymous 2015-11-22 19:01

Two words: Garbage Collection.

Name: Anonymous 2015-11-22 20:14

Why no just program in Java bytecode?

Name: Anonymous 2015-11-22 20:14

s/no/not/

Name: Anonymous 2015-11-22 20:16

>>5
Yea, we need a platform-independent Javacudder who would despise Java's bloat and preach programming in bare JVM assembly.

Name: Anonymous 2015-11-23 1:50

asm.js basically does the equivalent. You get a big byte array, and your code gets to diddle around at the manually managed byte level like a faggot.

Name: Anonymous 2015-11-23 4:38

>>4

If Java has garbage collection, why doesn't it collect itself?

Name: Anonymous 2015-11-23 8:35

>>9
ba sum tsh

Name: Anonymous 2015-11-26 6:15

One word the forced avoidance of buffer overflows

C and C++ are used for job security. Hire a programmer to write your business's program in C/C++ and you basically signed a 20 year contract with him because you'll have to continually pay him to fix whatever mem leaks or buffer overflows crop up 2 yrs down the line in specific edge cases that are significant enough to lose your business money.

Name: Anonymous 2015-11-26 6:23

Java is a significantly better language than Sepples. That's saying something because Java sucks balls. I still would rather write any nontrivial program in Java over Sepples obviously, Python, ruby, bash, scheme, and cl. All languages are toys compared to Java and maybe .NET. Honestly no one will write a program these days in C++ unless they have absolutely no choice && are being paid for it (which rules out most of this forum).

Name: Anonymous 2015-11-26 6:40

Java is a baby crib for ENTERPRISE DEVELOPERS so that they don't puke on anybody else's clothes. However, it does serve that purpose well.

Python, Ruby, Bash, Scheme, and CL are all light years beyond Java in terms of what any sane individual would prefer to use given the choice.

Name: Anonymous 2015-11-26 7:24

>>1
Can't you basically do everything in C++ that you could do in Java, and then some?

That's the problem. If you do something in C++ that Java doesn't support, it'd have to say "Lol, can't do that!", or do the asm.js shit and give you an insecure byte array to have the same problems in as your normal C++ address space.

Name: Anonymous 2015-11-26 14:07

>>14
le who are you epic quoting xD

Name: Anonymous 2015-11-26 14:14

>>15
He's quoting >>1. Are you blind?

Name: Anonymous 2015-11-26 15:32

choke on a rusty dick, >>15

Name: Anonymous 2015-11-27 8:51

Why not just cripple C++
What is next? Interpret cpp?

Name: Anonymous 2015-11-27 9:33

>>18
Interpreting source code or compiling source code is not particularly meaningful. Whether source code is interpreted or compiled is simply a matter of implementation.

https://www.softintegration.com/

Name: Anonymous 2015-11-27 20:02

>>18
Nobody said that!

Don't change these.
Name: Email:
Entire Thread Thread List