Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27380

Re: What's the best non-JVM native language to look at?

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: What's the best non-JVM native language to look at?
Date 2014-01-21 22:17 +0000
Organization A noiseless patient Spider
Message-ID <lbmrmj$fr9$4@dont-email.me> (permalink)
References (3 earlier) <52dc4c29$0$301$14726298@news.sunsite.dk> <lbho0v$8t0$1@dont-email.me> <52dc71c3$0$295$14726298@news.sunsite.dk> <lbk52r$vcc$2@dont-email.me> <52dda167$0$303$14726298@news.sunsite.dk>

Show all headers | View raw


On Mon, 20 Jan 2014 17:21:24 -0500, Arne Vajhøj wrote:

> On 1/20/2014 4:39 PM, Martin Gregorie wrote:
>> On Sun, 19 Jan 2014 19:45:53 -0500, Arne Vajhøj wrote:
>>> On 1/19/2014 6:44 PM, Martin Gregorie wrote:
>>>>      If your OS exposes a set of, say, APIs to manage a graphical
>>>> display, that should work on all hardware regardless of whether the
>>>> code implementing the system side of the API is the same on all
>>>> hardware or not. In fact I'd expect the system code to differ in
>>>> order to do something sensible with the different screen sizes, pixel
>>>> size and colour palettes supported by target hardware and to hide
>>>> differences between a single-touch screen and a mouse. Again, this is
>>>> nothing new. the X system works perfectly well on the RPi and can
>>>> easily handle different screen sizes and resolutions. I can easily
>>>> run code written for a WinCE-based PNA on a Windows box after its
>>>> been recompiled. Actually its running on a remote Linux box under
>>>> Wine and using my Linux laptop's display: the window it presents on
>>>> the laptop is a lot bigger than the PNA's screen, but it has the same
>>>> aspect ratio and much better resolution and, given that mouse clicks
>>>> and drags and a keyboard are used instead of the single touch PNA
>>>> screen with a graphical keyboard, inputs  works exactly the same too.
>>>
>>> ????
>>>
>>> The menus of a modern PC app is useless on a phone.
>>>
>> Sure - I'm not saying they should be the same, only that I don't see
>> any reason why a program shouldn't use the same API to display menus
>> and accept input from them regardless of how the OS chooses to display
>> the menus. After all, a program that is useful on a desktop, tablet or
>> phone will need to display the same menus and accept the same inputs
>> from them regardless of which device its running on. Similar arguments
>> apply to all the other elements of a graphical interface.
> 
> But applications does not have the same menus on PC and phone. The phone
> version is usually a lot simpler.
> 
I'd say that depends on the program and what it is expected to do. 

And, BTW, we're almost there in a lot of respects: Swing's layout 
managers and Xserver manage most of what's needed here, apart from their 
use of pixel counts to set the size of displayed objects. I accept that 
this is most unlikely to change but would like to point out that if the 
sizes of said displayed objects were given in fractions of the screen or 
containing window size, then programs using them would be even more 
portable than they are at present.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's the best non-JVM native language to look at? Saxo <jeti789@web.de> - 2014-01-16 04:35 -0800
  Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-16 13:05 +0000
    Re: What's the best non-JVM native language to look at? Saxo <jeti789@web.de> - 2014-01-16 07:05 -0800
      Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-16 16:11 +0000
    Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-16 20:39 +0000
      Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-16 16:18 -0500
        Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-16 21:50 +0000
          Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-16 17:27 -0500
    Re: What's the best non-JVM native language to look at? Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-01-17 10:28 -0600
      Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-17 18:08 +0000
        Re: What's the best non-JVM native language to look at? Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-01-17 15:44 -0600
          Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-18 02:09 +0000
            Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-17 22:15 -0500
              Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-18 17:21 +0000
                Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-18 12:41 -0500
                Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-18 19:46 +0000
          Re: What's the best non-JVM native language to look at? Arved Sandstrom <asandstrom2@eastlink.ca> - 2014-01-18 03:56 -0400
            Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-18 08:58 +0000
        Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-18 02:02 +0000
          Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-17 22:17 -0500
            Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-18 17:36 +0000
          Re: What's the best non-JVM native language to look at? Arved Sandstrom <asandstrom2@eastlink.ca> - 2014-01-28 10:13 -0400
            Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-28 16:21 +0000
              Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-28 22:09 +0000
      Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-18 20:02 -0500
  Re: What's the best non-JVM native language to look at? leif.roar@invalid.com (Leif Roar Moldskred) - 2014-01-16 11:30 -0600
  Re: What's the best non-JVM native language to look at? Silvio <silvio@internet.com> - 2014-01-16 23:27 +0100
  Re: What's the best non-JVM native language to look at? Arved Sandstrom <asandstrom2@eastlink.ca> - 2014-01-17 01:08 -0400
  Re: What's the best non-JVM native language to look at? Roedy Green <see_website@mindprod.com.invalid> - 2014-01-17 01:43 -0800
  Re: What's the best non-JVM native language to look at? Saxo <jeti789@web.de> - 2014-01-17 01:53 -0800
    Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-17 11:03 -0500
      Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-17 11:27 -0500
  Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-18 19:49 -0500
    Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-19 12:35 +0000
      Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-19 17:05 -0500
        Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-19 23:44 +0000
          Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-19 19:45 -0500
            Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-19 19:55 -0500
              Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-19 20:04 -0500
                Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-20 15:38 -0500
                Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-20 18:30 -0500
                Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-20 19:43 -0500
                Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-20 20:16 -0500
                Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-20 20:30 -0500
                Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-20 20:43 -0500
                Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-21 00:55 -0500
              Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-20 21:41 +0000
                Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-20 17:10 -0500
                Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-21 08:59 +0000
                Re: What's the best non-JVM native language to look at? leif.roar@invalid.com (Leif Roar Moldskred) - 2014-01-21 04:03 -0600
                Re: What's the best non-JVM native language to look at? lipska the kat <lipskathekat@example.com> - 2014-01-21 11:53 +0000
                Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-21 22:09 +0000
                Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-21 22:05 +0000
            Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-20 21:39 +0000
              Re: What's the best non-JVM native language to look at? Arne Vajhøj <arne@vajhoej.dk> - 2014-01-20 17:21 -0500
                Re: What's the best non-JVM native language to look at? Martin Gregorie <martin@address-in-sig.invalid> - 2014-01-21 22:17 +0000
  Re: What's the best non-JVM native language to look at? Jeff Higgins <jeff@invalid.invalid> - 2014-01-19 22:34 -0500

csiph-web