Code: Show/Hide Java Type Native Type Size in bits
boolean jboolean 8, unsigned byte jbyte 8 char jchar 16, unsigned short jshort 16 int jint 32 long jlong 64 float jfloat 32 double jdouble 64 void void n/a |
Bak wrote: |
Hey instead of doing that let's talk about programming.
Anyone every use native code in a Java application? Anyone know how Java objects are laid out in memory, and further more if it would be possible to create a structure in C++ that could be passed into a java program and cast to an object and actually used? It would seem this may be possible as when you to native code programming you must use the c++ objects like jstring when you want to pass in a java String to a method. My guess would be that jstring and the java String are laid out the same in memory and there is no conversion done when the function is called. I may be wrong about this, however. |
newb wrote: |
Last time I checked, Agurus nor Pysphi is present in the English Dictionary. GG |
newb wrote: |
Last time I checked, Agurus nor Pysphi is present in the English Dictionary. GG |
Agurus wrote: |
[..]
Oh yeah? |
Quote: |
A project manager, a computer programmer and a computer operator are driving down the road when the car they are in gets a flat tire. The three men try to solve the problem.
The project manager said: "Let's catch a cab and in ten minutes we'll reach our destination." The computer programmer said: "We have here the driver's guide. I can easily replace the flat tire and continue our drive." The computer operator said: "First of all, let's turn off the engine and turn it on again. Maybe it will fix the problem." Suddenly a Microsoft software engineer passed by and said: "Try to close all windows, get off the car, and then get in and try again." |
Quote: |
Once a programmer was drowning in the sea. Many marines were at that time on the beach, but the programmer was shouting "F1 F1" and nobody understood it. |
Quote: |
Life Before the Computer
An application was for employment. A program was a TV show. A cursor used profanity. A keyboard was a piano! Memory was something that you lost with age. A CD was a bank account. And if you had a 3½" floppy you hoped nobody found out! Compress was something you did to garbage. And if you unzipped anything in public you'd be in jail for awhile! Log on was adding wood to a fire. Hard drive was a long trip on the road. A mouse pad was where a mouse lived. And a backup happened to your commode! Cutting you did with a pocket knife. Paste is glue. A website was a location for a spider's home. Ram was something you did in bed. And a virus was the flu! I guess I'll stick to my pad and paper And the memory in my head I hear nobody's been killed in a computer crash But when it happens they wish they were dead! |
Donkano wrote: |
Oh come on, at least the 1st one was good about the Microsoft guy telling them to close all windows. |
Cyan~Fire wrote: |
You don't need to check this forum if you don't want to, Spec. We have some members that like to spam here, and it's better in TT than elsewhere. |