Hacker Newsnew | past | comments | ask | show | jobs | submit | salkar69's commentslogin

Its "literally possible" to do this with Unsafe, and has been for a long time. You get a block of memory, the base address, then you put things in it.

Just because its not the "idiomatic java style" doesn't mean its not Java. You might do this because you can use this for the parts that really need hand-tuned performance, then rely on the JVM/ecosystem for the parts that don't need it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: