Pages:
Author

Topic: [Code] Will Code in Java (Read 1594 times)

legendary
Activity: 2058
Merit: 1452
January 27, 2013, 10:23:15 PM
#28
Hey! Java still rules and will exist long after c# is gone...
  • security holes
  • terrible performance
  • wtf syntax

yeah, it's going to exist in the same realm as FORTAN

If java is really so bad, then why is one of the first things colleges and employers ask here in silicon valley whether or not you know java?
And if java is so bad, then is minecraft bad? Even with it's 2,637,857 PAYING customers?
let's see the games made in c++:
ALL the AAA games in the last 10 years

Hey all,

I am pretty good at Java, but would like to get better.
I will code some programs in Java for anyone here. Price depends on how complicated the program is, but as I am doing this mostly just to get better it probably will be fairly cheap.
Payment will only be made AFTER I complete the program to your satisfaction, and an escrow can be arranged if you prefer.
Feel free to PM me or post here and please include how much you would be willing to pay.
You can also email me at [email protected]

3 questions:
can you force the GC to do its job?
can you work directly with memory?
do you use Arrays or Lists?
i got you covered:

1: delete myMemory;
2: type2* var2 = reinterpret_cast(var1); or *(int*)0x12345678 = 1337;
3. T a[10], or std::vector
full member
Activity: 126
Merit: 100
January 27, 2013, 12:33:55 AM
#27
Bump
legendary
Activity: 965
Merit: 1000
January 23, 2013, 05:01:24 AM
#26
Well...since it's more than 100 classes, you 'll need some time,  I guess...
legendary
Activity: 1792
Merit: 1008
/dev/null
January 23, 2013, 03:54:44 AM
#25
That's cool, but I try to avoid the sun* classes usually. Maybe I should give you my trading sources, so you could speed them up a bit... Smiley
atm im quite busy, but if u want i can give it a look/try later.

ok, but I'm afraid you are more low level engineer/hacker so Java don't really fit your needs. Smiley how about C??
yes, C is one of my favorite ones. i dev with Java too, but only little tools and such (if i need it fast and speed dosnt matter). i didnt intend to bash java with these questions Wink
legendary
Activity: 965
Merit: 1000
January 22, 2013, 12:21:49 PM
#24

u can work directly with memory with the intern class named "Unsafe".
http://highlyscalable.wordpress.com/2012/02/02/direct-memory-access-in-java
http://robaustin.wikidot.com/how-to-write-to-direct-memory-locations-in-java

this is usefull in situations when primitives (char/int/... arrays) arent fast enough and u need it even faster.
for comparsion (didnt test primitive array vs direct memory way, altough i dont think its much faster.):
Integer[] -> 56 nano seconds
ArrayList -> 27755 nano seconds


That's cool, but I try to avoid the sun* classes usually. Maybe I should give you my trading sources, so you could speed them up a bit... Smiley
legendary
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
January 22, 2013, 12:18:08 PM
#23
K1773R: your second question is kinda tough for me. You want a method, that writes a value directly in some given address? I only know some Java hardware, where you can access the ram as a (pseudo-) byte array.

Is there a generic solution?

Or do you just mean some serialization to bytes?

I guess , I don't really understand your question...hmmh...
u can work directly with memory with the intern class named "Unsafe".
http://highlyscalable.wordpress.com/2012/02/02/direct-memory-access-in-java
http://robaustin.wikidot.com/how-to-write-to-direct-memory-locations-in-java

this is usefull in situations when primitives (char/int/... arrays) arent fast enough and u need it even faster.
for comparsion (didnt test primitive array vs direct memory way, altough i dont think its much faster.):
Integer[] -> 56 nano seconds
ArrayList -> 27755 nano seconds


ok, but I'm afraid you are more low level engineer/hacker so Java don't really fit your needs. Smiley how about C??
legendary
Activity: 1792
Merit: 1008
/dev/null
January 22, 2013, 12:08:06 PM
#22
K1773R: your second question is kinda tough for me. You want a method, that writes a value directly in some given address? I only know some Java hardware, where you can access the ram as a (pseudo-) byte array.

Is there a generic solution?

Or do you just mean some serialization to bytes?

I guess , I don't really understand your question...hmmh...
u can work directly with memory with the intern class named "Unsafe".
http://highlyscalable.wordpress.com/2012/02/02/direct-memory-access-in-java
http://robaustin.wikidot.com/how-to-write-to-direct-memory-locations-in-java

this is usefull in situations when primitives (char/int/... arrays) arent fast enough and u need it even faster.
for comparsion (didnt test primitive array vs direct memory way, altough i dont think its much faster.):
Integer[] -> 56 nano seconds
ArrayList -> 27755 nano seconds
legendary
Activity: 965
Merit: 1000
January 22, 2013, 10:35:25 AM
#21
K1773R: your second question is kinda tough for me. You want a method, that writes a value directly in some given address? I only know some Java hardware, where you can access the ram as a (pseudo-) byte array.

Is there a generic solution?

Or do you just mean some serialization to bytes?

I guess , I don't really understand your question...hmmh...
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 22, 2013, 10:24:23 AM
#20
If java is really so bad, then why is one of the first things colleges and employers ask here in silicon valley whether or not you know java?
And if java is so bad, then is minecraft bad? Even with it's 2,637,857 PAYING customers?
i don't play minecraft, so i don't know.

the reason why java has spread is because of Sun's marketing campaigns. and true its a widely used language but that does not make it good. the reason for people to ask if you know java, is because all their applications are already written in java, so they need people who can code the shit.

McD does earn a shitload of money, but that does not make their burgers good.
legendary
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
January 22, 2013, 10:12:48 AM
#19
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.

You are WRONG! Cheesy
i can develop in java, it has some nice features but thats it, its a huge mess. so yes hes right.
if you say hes wrong, atleast try to argument why, otherwise ur post/opinion is worthless.

I don't argue with people which don't love Java!  Tongue Java fit my needs. period.

full member
Activity: 126
Merit: 100
January 22, 2013, 10:05:54 AM
#18
If java is really so bad, then why is one of the first things colleges and employers ask here in silicon valley whether or not you know java?
And if java is so bad, then is minecraft bad? Even with it's 2,637,857 PAYING customers?
legendary
Activity: 2324
Merit: 1125
January 22, 2013, 10:03:32 AM
#17
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.

You are WRONG! Cheesy
and thats _your_ uninformed and uneducated opinion.

It is also my informed and educated opinion.
legendary
Activity: 1792
Merit: 1008
/dev/null
January 22, 2013, 09:54:42 AM
#16
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.

You are WRONG! Cheesy
i can develop in java, it has some nice features but thats it, its a huge mess. so yes hes right.
if you say hes wrong, atleast try to argument why, otherwise ur post/opinion is worthless.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 22, 2013, 09:10:09 AM
#15
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.

You are WRONG! Cheesy
and thats _your_ uninformed and uneducated opinion.
legendary
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
January 22, 2013, 08:35:50 AM
#14
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.

You are WRONG! Cheesy
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 22, 2013, 08:32:28 AM
#13
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
java is stupid on so many levels. The language just sucks. Use Python, haskell, or even C. Java is for stupid people, who wants to design themselves out of the problems, and write verbose unmaintainable code.

The standard lib sucks even more. Is does funny and stupid thing everywhere.
and jvm's always crash, or does not GC properly. and are other wise fucked up.

plain simply: java sucks much.
legendary
Activity: 1792
Merit: 1008
/dev/null
January 22, 2013, 05:46:11 AM
#12
Hey all,

I am pretty good at Java, but would like to get better.
I will code some programs in Java for anyone here. Price depends on how complicated the program is, but as I am doing this mostly just to get better it probably will be fairly cheap.
Payment will only be made AFTER I complete the program to your satisfaction, and an escrow can be arranged if you prefer.
Feel free to PM me or post here and please include how much you would be willing to pay.
You can also email me at [email protected]

3 questions:
can you force the GC to do its job?
can you work directly with memory?
do you use Arrays or Lists?
legendary
Activity: 965
Merit: 1000
January 22, 2013, 05:15:20 AM
#11
I do like it, but I don't fully understand what you want to do.

Ok. I'm always willing to explain the details, if you're interested. And I have some running sources, that I can show...
full member
Activity: 126
Merit: 100
January 21, 2013, 11:59:17 PM
#10
So you don't like my idea? What's wrong with it?
I do like it, but I don't fully understand what you want to do.
legendary
Activity: 2324
Merit: 1125
January 21, 2013, 03:37:22 PM
#9
Wait, Java still exists?!

You're kidding, right?

This is dumb on so many levels ..... If you have no Software Engineering knowledge you can also choose not to post. You should try that sometimes.
Pages:
Jump to: