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

Can Java be faster than C?

Name: Anonymous 2012-09-27 11:54

Can Java be faster than C?

Name: Anonymous 2012-09-27 15:20

nobody has even mentioned V8 :<

Name: Anonymous 2012-09-27 15:34

>>35
Modern smart phones are all written in C and have *nix at their core.

>>36
platform = SDK

>>39
By bootstrap code I mean the minimal amount of reusable code needed to start developing a given type of program. A programming template if you will.

Name: Anonymous 2012-09-27 15:38

>>42
iOS is not *nix

Name: Anonymous 2012-09-27 15:42

http://en.wikipedia.org/wiki/Mobile_operating_system

not everything is android, and it's nothing new

Name: Anonymous 2012-09-27 15:48

>>5
/polecat kebabs/

Name: Anonymous 2012-09-27 15:58

>>43
It's based on Darwin, which meets the SUS. Apple only bought the UNIX® license for OS X, though:
http://www.opengroup.org/openbrand/register/
Why they haven't for iOS is beyond me. It's certainly a Unix, and definitely a ``*nix''.

Name: Anonymous 2012-09-27 16:11

>>26
what the fuck is implying and why are you quoting something that wasn't said

get your ass back to reddit onegai

Name: Anonymous 2012-09-27 16:41

>>43
If you compile a few extra POSIX utils, most of which are written in C, it's close enough.

Name: Anonymous 2012-09-27 16:48

While some Java code may be written in a way that will be faster than some equivalent code made in C, such cases are rare, and always stem from the equivalent C being less optimized. C by nature must always be faster given that Java does not translate to a one to one set of instructions for the CPU, and must always be run in an interpreter, which is written in C.

>>29

Yes you can run it on your phone, you just need to find a fucking compiler for your phone.

Name: Anonymous 2012-09-27 16:59

>>46
Darwin doesn't have a SUS-compliant vi. The fact that it's certified in spite of this obvious deficiency shows that the Open Group doesn't give a shit about the UNIX brand, and will sell certification to anyone who pays them enough.

Name: Anonymous 2012-09-27 17:10

Java can be faster than C, but it does so at the (extreme) cost of size.

Name: Anonymous 2012-09-27 17:25

>>28
>>47
What I wanted to say was that C was never meant to be fast. At least not as the main selling point. A C implementation might be fucking slow and still expose it's (real) main features of being a language that can do low-level-ish tasks without having to include some sort of assembler.

Name: Anonymous 2012-09-27 17:45

There exists a C compilet that can compile code for any cell phone out there, but you'll never have access to it since it's top secret proprietary software and the phone company isn't becoming any less jewish

Name: Anonymous 2012-09-27 17:49

>>53
You compile for the architecture, not for the operating system/sys call layer/API.

But yes the phone market is very locked down, even from a physical point it is usually hard to tinker with the machines, and programming without libraries is not for everyone.

Name: Anonymous 2012-09-27 17:55

Just write a C compiler in Java, bam, there you go.

Name: Anonymous 2012-09-27 18:25

>>55
It would have to be an interpreter, or we're just back to square 1

Name: Anonymous 2012-09-27 20:47

/prog/ - Finding new ways to bring C to Android

Name: Anonymous 2012-09-27 21:05

>>56
What if we made a JIT compiler for C in Java?

That would be effectively what the Java Virtual Machine is, except it's in reverse. Written in C that JITs java bytecode.

Name: Anonymous 2012-09-27 21:18

>>58
>JIT compiler

Name: Anonymous 2012-09-27 21:42

>>59
Sure, but how many phones have a shell with STOUT redirection?

Name: Anonymous 2012-09-27 22:05

>>60

All android's when rooted

Name: Anonymous 2012-09-27 22:10

>>60
I'm a little program,
short and STOUT,
Here is my HANDLE,
Here is my spout,
When I get all redirected,
Hear me shout,
Tip me up and Segmentation fault.

Name: Anonymous 2012-09-27 22:16

Can Java be faster than C?
yes
Can C be faster than Java?
yes


all of you go back to /g/.

Name: Anonymous 2012-09-27 22:32

>>61
s/ when rooted//

Name: Anonymous 2012-09-27 23:15

>>62
That was pretty good

Name: Anonymous 2012-09-28 0:19

>>39
>Not running the all new and better kind of C

Name: Anonymous 2012-09-28 0:48

>>66
Back to /g/

Name: Anonymous 2012-09-28 1:34

Name: Anonymous 2013-12-01 17:21

%░████▀▀▒▒▒▒▒░░░░▄▄▄▄▒▒▒▀▀███████░░
%░░██▒▒▄▄▒░░░░▒▒▀▒▒▒▒▒▒▒▒▒▒▒▒▀▀██▌░
%░░█▌▄▀▀▒▒▒▒▒▒▒▒▒▄▄▄▄▄▒▒▒▒▒▒▒▌▐▒█▐░
%░░▀▌▒▒▒▄▄▄▒▒▒▒▒▀▄▄█▀▒▒░▒▒▒▒▒▐▒▐▒█░
%░░░▐▒▄▀██▄▀▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▌▌▒█░
%░░░▐▒▒▒▒▒▒▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▌▄▀█░
%░░░▐▒▒▒▒▒▒▌▒▒▒▒▀▄░░░▒▒▒▒▒▒▒▒▒▌▐██░
%░░░░▌▒▒▒▒▐▒▒▒▒▄▄▀░░░░▒▒▒▒▒▒▒▒▒▌▒█░
%░░░░▐▒▒▒▒▒▀▀▒▀▒▄▄▄▄░▒▒▒▒▒▒▒▒▒░███░
%░░░░░▌▒▒▒▄█▀▀▀▀▀▀▀▀█▒▒▒▒▒▒▒▒░▀▐██░
%░░░░░▐▒▒▒█▒▀████▀▀▒▐▌▒▒▒▒▒░▄▒▒▐░░░
%░░░░░░▐▒▒▀▒▒▒▒▒▒▒▒▒▒▐▒▒▒▒▄▒▒▒▄▐░░░
%░░░░░░▀▌▒▐▌▐▌▀▌▀▌▀▌▀▌▐▀▀▌▒▐▐▌▌▌▌░░
%░░░░░░░█▒▐▒▐▌▒▌▄▌▐▌▄▒▐▌▄▌▒█▌█▒▒▐░░
%░░░░░░░▐▌▌▒▐▌▒▌▒▒▐▌▒▄▐▌▀▄▒▒▒▒▒▒▒▀▄
%░░░░░░░░▀▒▐▀▀▒▀▒▒▀▀▀▀▒▀▒▀▀▒▒▒▒▒▒▒
%YOU'LL COWARDS DON'T EVEN SMOKE CRACK
%POST lN 3 THREADS OR YOU'LL COWARD

Name: Anonymous 2013-12-02 0:29

**YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IS 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

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