Re: Embedded java ?



On 5 Oct 2005 08:33:45 -0700, surfunbear@xxxxxxxxx wrote or quoted :

>I wonder if Cell
>phones will ever be able to run perl scripts ?

A cellphone has very limited ram. You get a mini Java burned into
EPROM. It would be unwise to waste your precious ram supporting yet
another language.

More likely the cell app would just send off an HTTP packet and get a
response and do a minimal display. It might do it at the raw socket
level, with a short exchange.

The libraries available for cellphones are quite different from
desktop java, so you would have to study the available tools.

In that situation you DON'T pile on layers of abstraction. You have
not the ram. You work much more at the level of raw bytes.

Further you want to make life as easy as possible for the cellphone --
no parsing or conversion. You hand it messages in as friendly as
possible a format for the cell-phone so it has almost nothing to do to
absorb them.

Cell phones can't display much at a time. All you can do is send them
a chunk of data and write a program to view it. You can't simply send
a whacking great HTML page and expect the end user to be happy
scanning over it with a toilet paper tube.

It is a bit like a step back in time to DOS programming.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Re: where do you store app wide data?
    ... Not the JVM.. ... Java applications. ... thats the fault of whoever wrote the application - not Java. ... Files are not stored in RAM when you close them. ...
    (alt.php)
  • Re: where do you store app wide data?
    ... > But it still uses and insane amount of RAM. ... process is larger than the PHP process - thats a different story. ... App scope just keeps things in RAM ... >>familiar enough with modern java jit compilers to realise that java runs ...
    (alt.php)
  • Re: Preup F10->F11: Eclipse looses Java and SVN capabilities
    ... a Java app, all Java-related menu items apparently have returned. ... This time, neither eclipse ...     Take care ... Oliver Ruebenacker, Computational Cell Biologist ...
    (Fedora)
  • assembler syntax
    ... For my Forth CPU I'll write an assembler. ... create ram 20000 allot ... target definitions ... The idea is to read one cell for each line and add it to the memory. ...
    (comp.lang.forth)
  • Re: Altera introduces Cyclone III devices, ships 65nm
    ... I'm no RAM designer, but I'll give it a shot... ... The SRAM cells still have the bit lines, still have the decodes, ... cells. ... Another reason is for power. ...
    (comp.arch.fpga)