[brailleblaster] Re: Transforming C into Java

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Thu, 16 Dec 2010 13:11:03 -0600

Yes, the SWT printing snippet uses threads. We might even use one with 
liblouisutdml for translating long documents, though I don't think this 
will be necessary.

John

On Thu, Dec 16, 2010 at 12:32:08PM -0500, Sina Bahram wrote:
> Well, first of all, there are these things called threads, guys, instead of 
> spawning heavy weight processes.
> 
> Just a thought ...
> 
> Ta ta
> 
> Take care,
> Sina
>  
> 
> -----Original Message-----
> From: brailleblaster-bounce@xxxxxxxxxxxxx 
> [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of Susan Jolly
> Sent: Thursday, December 16, 2010 12:21 AM
> To: brailleblaster@xxxxxxxxxxxxx
> Subject: [brailleblaster] Re: Transforming C into Java
> 
> In the first place, I don't see how you can avoid spawning some separate 
> processes such as for printing and embossing. So you can't
> avoid that issue.
> 
> As for rewriting your translator in Java, I can see advantages.  However, I'm 
> not familiar with any automated way of transforming C
> source to Java although Google suggests such tools might exist.  My guess is 
> that even if you could get something that worked, the
> resultant code would likely be unreadable and unmaintainable and with none of 
> the advantages of human-designed Java code.  Think how
> much trouble it is to convert print to braille, which is a much simpler 
> problem.
> 
> Susan 
> 
> 

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: