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

I am starting to like Java

Name: Anonymous 2016-06-11 6:24

Building abstraction upon abstraction, design pattern upon design pattern, isn't as much of a chore as it felt before.

I feel like I am building a large structure to solve a simple problem, like a rube goldberg machine, and I can revel in the complexity.

There is a certain zen-like quality in chaining seemingly unrelated design patterns together to create a crazy behemoth that still completes the task assigned.

I suppose doing Enterprise™ Java™ Development™ for a living won't be so bad, after all...

Name: Anonymous 2016-06-11 7:12

Clearly you've never used CLOS if you think Java's object model is good.

Name: Anonymous 2016-06-11 7:19

>>2

What makes it better?

Name: Anonymous 2016-06-11 8:31

Scala is the dankest programming language.

Name: Anonymous 2016-06-14 5:32

Java is a programming language you can use while your brain is off, because it's just on-rails (lol) superfluous manual template expansion. While you might be lulled by that sedating feeling, do not confuse that with any sense of quality.

Name: Anonymous 2016-06-14 6:45

it's fun to write code like that when you do it alone and have a well defined scope. now imagine trying to debug huge bloated Java code written by someone on the other side of the globe with comments like

//sets x to 2
x = 2;

and no other documentation. now imagine that in true ENTERPRISE fashion you don't have access to all the source code because muh secrets and you have to either treat it like a broken black box or decompile/disassemble it (protip: all decompilers are different flavors of shit while bytecode/jasmin/smali is assembly for a computer that doesn't exist).

the same goes for C++ and C# - the bigger and more enterprisey things get, the worse it is

Name: Anonymous 2016-06-14 7:19

The JVM is the most amazing piece of software in existence. It gets near bare metal performance and runs on basically all hardware out there. I used to make fun of the JVM, but now I realize why Google decided to use it as the foundation for Android. I don't know why anyone would choose to write code on native platforms anymore. Anything not using the JVM inevitably is under vendor/hardware lock-in.

Name: Anonymous 2016-06-14 7:27

>>7
You were wrong all those years, I remember that.

Name: Anonymous 2016-06-14 9:05

>>6
Enterprise documentation should be filled with formalized system models and project specification documentation.

Name: Anonymous 2016-06-14 9:25

>>9
enterprise documentation is filled with bullshit

Name: Anonymous 2016-06-14 9:39

>>10
Now that's just rude.

Name: Anonymous 2016-06-14 13:25

>>11
Now that's just dubs.

Name: Anonymous 2016-06-14 15:41

I am starting to hate JEWS

Name: Anonymous 2016-06-17 4:30

>>7
lock-in this
*my dick*

Name: Anonymous 2016-06-17 6:09

>>7
you know Android doesn't use JVM but has its own virtual machine and a different bytecode format? I know, IHBT

Name: Anonymous 2016-06-17 6:31

>>15
I thought ART was a JVM.

Name: Anonymous 2016-06-17 7:46

>>16
ART is a runtime that executes Dalvik bytecode, the instruction set, which is a different specification from Java bytecode, meaning that ART cannot interpret Java bytecode, therefore, as a JVM is defined as executing Java bytecode, ART is not a JVM.

Name: Anonymous 2016-06-17 10:16

>>17
it's a bit more complicated than that. Dalvik bytecode (.dex) on older devices is turned into optimized, JIT-compiled version (.odex) that is then executed by Dalvik VM. on newer devices, Dalvik bytecode. ART is able to compile .dex files ahead of time and just execute them natively.

Name: Anonymous 2016-06-17 16:34

>>18
execute them natively
To expand on that slightly, ART uses dex2oat to produce an ELF file.

Name: Anonymous 2016-06-17 18:23

>>19
What programming language is this?

Name: Anonymous 2016-06-17 19:01

>>20
C++

Name: Anonymous 2016-06-17 21:19

Isn't Java the main language used by Android appers? So do you write source code in the Java language and then compile it to Dalvik bytecode rather than JVM bytecode?

Name: Anonymous 2016-06-18 18:57

Check em

Name: Anonymous 2016-06-18 21:42

>>22
yes, Android compilers turn Java code into dex bytecode. then they turn them into .apk files which is a fancy way to say .jar which is a fancy way to say .zip and sign them. then ART turns them to machine code anyway.

Name: Anonymous 2016-06-19 1:35

>>22
JVM bytecode is actually retarded, slow, and hard to optimize. It's also a stack machine, which while it was cool in the sixties, he's a lot of problems. DVM is a register machine. With that, many instructions for the JVM became irrelevant because you got it for free with registers. Overall though, Dalvik bytecode is much closer to the bare metal, and doesn't contain many of the pointless abstractions the JBC spec has, for example.

>>24
Not quite. Everything is compiled into a single file for Android, comparable to linking I guess, rather than .class file pollution.

Name: Anonymous 2016-06-19 2:04

>>25
Everything you say about a stack machine is entirely the intentional fucking point of the advantages of a JIT VM. It's disassociated with the number of real registers, so the compiler is free to shuffle it in any way it can, and view it in a more abstract dataflow model.

Name: Anonymous 2016-06-19 8:48

I have proven that Java is, in fact, as slow as balls.
https://progrider.org/fossil/tree?ci=tip&name=antifibs
java time: 136 ms
python time: 62 ms
racket time: 473 ms

That's right, this dung-heap of an language is twice as slow as FIOC. What a joke. Larry Page is a fucking idiot.

Name: Anonymous 2016-06-19 10:48

>>27
Also, there's a Seeples test now, and it's only twice as fast as Python. Good for you Guido.

Cudder, if you write me a super optimized assembler I'll love you forever, nipah~★!

Name: Anonymous 2016-06-19 11:06

Check em

Name: Anonymous 2016-06-20 13:14

>>27
you're counting the cold startup time for the JVM, which everyone knows is slow but amortized over 2000 hours of uptime 100 extra ms is not that much
sage

Name: Anonymous 2016-06-20 14:16

>>30
As I did with Sepples, Pythong, and Typed Racket. And if it takes a hundred milliseconds to start, it is as fast as C++, which is unlikely because it is not only slow as balls, but it (and the rest of them) use their bignumber libraries, but I didn't feel like going through the bullshit to do that for C++, it really would be impressive.

Name: Anonymous 2016-06-20 21:10

>>33
gg wp m8

Name: Anonymous 2016-06-20 21:19

>>32
What did you say when you were continually gangraped in prison?

Name: Anonymous 2016-06-20 23:14

Check em

Name: Anonymous 2016-06-25 4:44

poopi

Name: Anonymous 2016-06-25 6:47

>>33
Gangrape my anus

Name: Anonymous 2016-11-10 16:57

>>24
which is a fancy way to say .jar
So Android binaries are Java bytecode then?

Name: Anonymous 2016-11-10 17:27

>>37
Not really.

Name: Anonymous 2016-11-10 18:47

>>37
technically speaking they are Java bytecode on non-ART releases and a mixture of that and native code on the ones with ART. but that Java bytecode is not JVM bytecode because Android has its own virtual machine

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