• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Welcome Tara Calashain

 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This week, we're delighted to have Tara Calashain helping to answer questions about the new book java.lang.Void Hacks.

The promotion starts Sunday, April 1st 2007 and will end on Sunday, April 1st 2007.

We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, O'Reilly.

Please see the Book Promotion page to ensure your best chances at winning!

Posts in this welcome thread are eligible for the drawing.
[ April 01, 2007: Message edited by: Jeanne Boyarsky ]
 
Jeanne Boyarsky
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the first time ever, we are doing a promo for a pre-release copy of the book. Amazon doesn't even have it yet, but Tara will be happy to answer questions.

She was kind enough to share a cover with us:
 
Tara The Author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone. I'm excited to be here to promote my new book.

The dog ate my part of my table of contents so I'm just posting the beginning here.

java.lang.Void Hacks

Part I - Introduction
1 - What is java.lang.Void?
2 - What can I do with java.lang.Void? that I can't with void?
3 - What is the difference between Void in Java and C#?

Part II - Hacks
4 - Saving time with java.lang.Void
5 - Using java.lang.Void with Google
 
Tara The Author
Tara The Author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As noted above, you can't yet buy this book at Amazon. But you can buy a preview copy at Google Checkout if your are using their new wireless network.
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finally, will read this book ...
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
2 Questions:
1) A friend of mine claims, that c/c++ void is about 10 times faster than java-void.

Is it true?

It must be faster, because of the java overhead, but is '10 times faster' correct?
Will static Void improve speed?
Final Void?

2) How much memory do I need for a Void?
Is it clever to use a Void-Factory-Pattern, or to pool Voids for later use?
Or shall I go the opposite way and use lazy-Void-creation (perhaps, nobody needs a Void).

3) C++ has true Voidpointers.
I would like to cast some Objects (ResultSet for instance) to Void, send it via RMI to a different host, and cast it back to ResultSet (security by obscurity). Is it possible?
How would I do that?
Or shall I use VB?

Please answer by email, because I don't have time to visit this page again.
Th*.
[ April 01, 2007: Message edited by: Stefan Wagner ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Will your book reveal the secret command line parameters that make all Java programs, no matter what age, use Void and run twice as fast??
If so, watch out, I know the industry has suppressed these so as to sell more expensive hardware so watch your back.

Anon
 
Tara The Author
Tara The Author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is 9 questions, so I'll just pick the two most interesting ones

Originally posted by Stefan Wagner:
2 Questions:
I would like to cast some Objects (ResultSet for instance) to Void, send it via RMI to a different host, and cast it back to ResultSet (security by obscurity). Is it possible?


Sure. Just send it through a black hole. By the time you get it back it should be nice and unusable, err secure.

Or shall I use VB?


Gasp! No. You should use Ruby.
 
Tara The Author
Tara The Author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by William Brogden:
Will your book reveal the secret command line parameters that make all Java programs, no matter what age, use Void and run twice as fast??


It was going to, but the dog ate that part. I didn't have a draft so it's lost forever.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the old days I stored my arguments as void pointers, then it was pointed that void has no meaning and hence my arguments had no point and I forget what I was going to say.
 
Jeanne Boyarsky
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dave: I had to read that three times so my head didn't explode. Then it was hilarious.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a great book, the reading will be very nice.

---
Julio
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it true that Bin Laden uses Void classes to hide ?
(BTW, this forum's number is weired )
[ April 01, 2007: Message edited by: John Todd ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic