Re: On Java and C++
"Luc The Perverse" <sll_noSpamlici ous_z_XXX_m@cc. usu.edu> wrote in message
news:798ii3xdnn .ln2@loki.cmear s.id.au...[color=blue]
> "Remon van Vliet" <remon@exmachin a.nl> wrote in message
> news:44565dcd$0 $31644$e4fe514c @news.xs4all.nl ...[color=green]
>>
>> "Luc The Perverse" <sll_noSpamlici ous_z_XXX_m@cc. usu.edu> wrote in
>> message news:s61ii3xm0m .ln2@loki.cmear s.id.au...[color=darkred]
>>> "Remon van Vliet" <remon@exmachin a.nl> wrote in message
>>> news:445650da$0 $31651$e4fe514c @news.xs4all.nl ...
>>>>
>>>> "Chris Smith" <cdsmith@twu.ne t> wrote in message
>>>> news:MPG.1ebffc fce1a489db9896a 0@news.astraweb .com...
>>>>> Remon van Vliet <remon@exmachin a.nl> wrote:
>>>>>> It can be, but with Java2D API you have access to hardware
>>>>>> accelerated
>>>>>> graphical features that should be on par with Flash performance. In
>>>>>> my
>>>>>> opinion everything that can be done in Flash can be done in Java.
>>>>>> However,
>>>>>> Flash is way more efficient from a time to market point of view, it's
>>>>>> just a
>>>>>> bit easier (and dare i say it better) for web based content.
>>>>>
>>>>> The problem is not with the performance of the graphics hardware. The
>>>>> limiting factor is the initialization of the virtual machine.
>>>>> Undoubtedly, if things got anywhere near the point of maxing out the
>>>>> graphics card, an applet would greatly outperform Flash.
>>>>>
>>>>
>>>> I know, but it's two different things, initialisation isnt in the way
>>>> of performance and vice versa. That said, i can see how VM
>>>> initialisation is a limiting factor. Having to wait 5+ seconds kind of
>>>> shoots applets down as a good option for dynamic web content.
>>>
>>> I wonder if running the JVM as a process would eliminate this delay, or
>>> at least greatly reduce it[/color]
>>
>> I think it sort of is after the first invocation. I cant say for sure
>> though.[/color]
>
> Typically I am opposed to background services running - but if I could
> make Java programs initial startup cost go away, I could sacrifice a few
> MB.
>
> Does anyone know for sure? (To be honest, java programs interest me more
> than applets.)[/color]
That's definitely not the case. I was referring to different applets running
in the same browser instance. JVM initialisation also depends on whether or
not you start it in client or server mode. The latter takes considerbly
longer to load.
"Luc The Perverse" <sll_noSpamlici ous_z_XXX_m@cc. usu.edu> wrote in message
news:798ii3xdnn .ln2@loki.cmear s.id.au...[color=blue]
> "Remon van Vliet" <remon@exmachin a.nl> wrote in message
> news:44565dcd$0 $31644$e4fe514c @news.xs4all.nl ...[color=green]
>>
>> "Luc The Perverse" <sll_noSpamlici ous_z_XXX_m@cc. usu.edu> wrote in
>> message news:s61ii3xm0m .ln2@loki.cmear s.id.au...[color=darkred]
>>> "Remon van Vliet" <remon@exmachin a.nl> wrote in message
>>> news:445650da$0 $31651$e4fe514c @news.xs4all.nl ...
>>>>
>>>> "Chris Smith" <cdsmith@twu.ne t> wrote in message
>>>> news:MPG.1ebffc fce1a489db9896a 0@news.astraweb .com...
>>>>> Remon van Vliet <remon@exmachin a.nl> wrote:
>>>>>> It can be, but with Java2D API you have access to hardware
>>>>>> accelerated
>>>>>> graphical features that should be on par with Flash performance. In
>>>>>> my
>>>>>> opinion everything that can be done in Flash can be done in Java.
>>>>>> However,
>>>>>> Flash is way more efficient from a time to market point of view, it's
>>>>>> just a
>>>>>> bit easier (and dare i say it better) for web based content.
>>>>>
>>>>> The problem is not with the performance of the graphics hardware. The
>>>>> limiting factor is the initialization of the virtual machine.
>>>>> Undoubtedly, if things got anywhere near the point of maxing out the
>>>>> graphics card, an applet would greatly outperform Flash.
>>>>>
>>>>
>>>> I know, but it's two different things, initialisation isnt in the way
>>>> of performance and vice versa. That said, i can see how VM
>>>> initialisation is a limiting factor. Having to wait 5+ seconds kind of
>>>> shoots applets down as a good option for dynamic web content.
>>>
>>> I wonder if running the JVM as a process would eliminate this delay, or
>>> at least greatly reduce it[/color]
>>
>> I think it sort of is after the first invocation. I cant say for sure
>> though.[/color]
>
> Typically I am opposed to background services running - but if I could
> make Java programs initial startup cost go away, I could sacrifice a few
> MB.
>
> Does anyone know for sure? (To be honest, java programs interest me more
> than applets.)[/color]
That's definitely not the case. I was referring to different applets running
in the same browser instance. JVM initialisation also depends on whether or
not you start it in client or server mode. The latter takes considerbly
longer to load.
Comment