Results 1 to 6 of 6
  1. #1
    ElvisMachuca is offline Member
    Join Date
    Jan 2013
    Posts
    32
    Rep Power
    0

    Default Is There Java Hardware That Can Process Text Functions By Acceleration

    Hi,

    Is there hardware, like chip, or a GPU that can be used to process text function faster in java.

    The thing is that I am working on a cryptographic java program that can compress text to a shorter length.

    However, when I raise the compression strength, the program, even though it is running in a Thread, takes up a lot of time.

    I mean, the compression method that I am applying works. So far, when compressing a line of text 389 characters long, I can get a compression difference of 70 characters less. And it decompresses to the original text just fine. But it takes twice or more longer when I increase the compression strength.

    Any help.

    Like how GPU can be used for processing shaders, can one adopt a GPU or a specific chip in the computer to do this task for you faster?

    thanks.

  2. #2
    jim829 is online now Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,029
    Rep Power
    6

    Default Re: Is There Java Hardware That Can Process Text Functions By Acceleration

    Well you are talking about a GPU (Graphics processing Unit), a cryptographic algorithm, and compression. I am not certain how they relate. The compression may be a side feature of the cryptographic algorithm. In any event I am unaware of such hardware. Since java is executed by a JRE it wouldn't perform consistently unless other platforms had the same hardware (that's true to some degree anyway depending on processor speed). But it sort of removes some of the benefits of Java. If your code isn't too long why not show it? There may be some improvements that can be made.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    ElvisMachuca is offline Member
    Join Date
    Jan 2013
    Posts
    32
    Rep Power
    0

    Default Re: Is There Java Hardware That Can Process Text Functions By Acceleration

    Program is long.

    And I wouldn't want to show it that openly. Given that I don't want people to copy work and then claim they were the ones that did it.

    Besides, there is nothing wrong with the program. The problem is with the process of how fast it takes to compress and decompress.

    Never mind then.

    Thanks.

  4. #4
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: Is There Java Hardware That Can Process Text Functions By Acceleration

    I know the GPU can be used for cryptographic computation. Are you asking if there is a Java API for that?

    I would not trust a cryptographic program that wasn't open-source.
    Get in the habit of using standard Java naming conventions!

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,358
    Rep Power
    6

    Default Re: Is There Java Hardware That Can Process Text Functions By Acceleration

    With the invention of OpenCL, the GPU can be used for most of anything nowadays.

    jocl.org - Java bindings for OpenCL
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  6. #6
    ElvisMachuca is offline Member
    Join Date
    Jan 2013
    Posts
    32
    Rep Power
    0

    Default Re: Is There Java Hardware That Can Process Text Functions By Acceleration

    The program will not be open source, it is for my own research personal use.

Similar Threads

  1. Replies: 2
    Last Post: 03-09-2013, 04:26 AM
  2. Replies: 1
    Last Post: 02-12-2012, 09:30 PM
  3. How do I create chips and hardware coded on java?
    By Addez in forum Advanced Java
    Replies: 15
    Last Post: 09-07-2010, 03:33 PM
  4. Replies: 4
    Last Post: 11-26-2009, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •