Multithreading implementation - pro and cons between java and C -
i have task extend implementation of ongoing project written in c working well, multi-threaded.
i have many years of experience java, limited c. have options following:
rewrite of code java , later implement multi-threading in java implement multi-threading in java calling methods c library through jni learn c , go on task in c.by considering multi-threaded version not have latest update c library, , later might need set these code in big info framework hadoop.
in order find out alternative improve me, need comments next questions based on have experienced before.
how smooth phone call c function java , if there important limitation? what pro , cons of implementing multi-threading in c?and alternative think better?
i go on 3. multithreading relies on few basic concepts of mutex , semaphores, both in posix standard, , recommend learning them. c concepts basic, hard thing have larn pointers nil hard. having coded multithread projects both in java , in c recommend c (having hard java background it's hard me! ) larn of import part of posix standard (used in unix too), not depend on extern libraries , virtual machines. if want in java, exclude solution 2 , create standalone java project, has appropriate libraries back upwards multithreading.
java c multithreading parallel-processing
No comments:
Post a Comment