TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: MARTIN GREGORIE
date: 2021-01-09 19:20:00
subject: Re: AI and decompilation?

On Sat, 09 Jan 2021 18:33:04 +0000, The Natural Philosopher wrote:

> Never used java. Runtime is enormous...I know curses.
>
Depends what the program is: Hello World in Java is 419 bytes (the C
version is 19554 bytes and the source is smaller too (21 lines, 147 chars
vs 26 lines, 282 chars) and anyway I like the WORA principle

> Looked at gtk toolkit and decided learning curve too big.
>
Thats interesting - I've wondered about learning gtk, but so far have
always used Java instead: once you grok MVC (message, view, controller)
program structure) understand how keyboard and how keyboard and mouse
listeners tie in its all pretty straight forward.

> browser based was in fact more portable than native code
>
Yes, I'd well believe that:
if your program is talking direct to the browser its organisation needn't
be a lot different to a Java GUI program using the MVC structure:

- Model contains data storage, input parser, and HTML assembly
- Controller handles comms with the web browser
- Viewer functions provided by the web browser.


--
--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.