Re: Of Yarn and Source Code
From: Frank G. Pitt (frankie@mundens.gen.nz)
Date: Sat, 21 Mar 1998 00:58:21 +1200
In article <TJaE18XCDzUL092yn@nada.kth.se>,
d96-mst-ingen-reklam@nada.kth.se (Mikael Ståldal) wrote:
>In article <T/2D14c5Rm1G092yn@dynamite.com.au>,
>ciaran@dynamite.com.au (Ciaran Dunn) wrote:
>
>>The other problem with Java is the lack of any kind of console
>>support(I think - could be wrong)
>
>You are correct, Java has no console support except stream output to screen
>via stdout/stderr and stream input from keyboard via stdin. And that is of
>course inadequate for Yarn.
Only if you _insist_ on using a text mode screen.
It's easier to write a gui app in Java
than it is to write a windowed text mode
application in any language.
And for filters and batch processes, stdout is all you need.
What Java gives you for a filter is automatic portability
(Assuming the newsbase is implemented the same on each platform,
I haven't actually checked my little program on OS2 yet
as I'd have to get a news.dat file onto my OS/2 machine at
work and, my current news.dat is over 80Mb )
--
Frankie