Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: unpack implementation

by dHarry (Abbot)
on Jan 07, 2011 at 14:44 UTC ( #881082=note: print w/replies, xml ) Need Help??


in reply to unpack implementation

I need to write the java implementation for unpack function of perl

Do you really need to implement *all* of unpack's functionality??

I can think of several approaches (each of them having pros and cons):

  1. Use Perl from Java
  2. (re)use/fiddle with the C implementation of unpack via the JNI (Java Native Interface)
  3. Implement only the unpack functionality that you need in Java. The Apache Commons could be a starting point.
  4. Think again! Maybe Java is not the right choice?!

Anyway, not knowing the reason behind you wanting to implement a "jUnpack" it sounds a bit like a XY Problem.

Cheers,

Harry

Replies are listed 'Best First'.
Re^2: unpack implementation
by siraj (Sexton) on Jan 07, 2011 at 15:30 UTC
    Thanks a lot for your suggestions.

    Regards,
    Siraj

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://881082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2018-11-15 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (180 votes). Check out past polls.

    Notices?