On Sat, Jan 31, 2015 at 2:29 AM, Eric Auer <e.a...@jpberlin.de> wrote:
>
>> I have an assortment of sites bookmarked that make effective use of
>> Flash, but Flash is an option, and they can be used without it.
>> (The sites are art, design, and fashion sites...
>
> Please give some example what they do with flash. Do they use it
> for example for their image galleries? For navigation? Other...?

Image galleries, mostly.  You can do nice effects in Flash.
Navigation is also implemented in Flash, but Flash is not required to
navigate.

> Note that "in the old days", people just used Javascript for the
> odd "click here, unfold that menu there" code snippet, which did
> not need much of a library. Now people indeed use it for a lot
> heavier tasks, probably thanks to faster network and computers,
> often to the point of having a full GUI toolkit library in JS.

JavaScript was first implemented for the sort of functionality you
mention.  A Microsoft developer elsewhere commented on the difficulty
in maintaining large code bases in dynamically typed languages, with
JavaScript as example:

"The by-design purpose of JavaScript was to make the monkey dance when
you moused over it. Scripts were often a single line. We considered
ten line scripts to be pretty normal, hundred line scripts to be huge,
and thousand line scripts were unheard of. The language was absolutely
not designed for programming in the large, and our implementation
decisions, performance targets, and so on, were based on that
assumption."

http://programmers.stackexchange.com/questions/221615/why-do-dynamic-languages-make-it-more-difficult-to-maintain-large-codebases

JavaScript has grown far beyond those assumptions.

As an example, I use Firefox as my browwser.  Firefox uses the Mozilla
Gecko rendering engine.  Gecko renders HTML and CSS, and runs
JavaScript.  It also renders XUL, an XML language for creating user
interfaces.  The browser itself is simply another thing Gecko renders,
and the look-and-feel of the browser is created in XUL, CSS, and
widgets, with JavaScript providing the interactivity and actually
performing the actions when you click on a menu item.

> Examples of C cross-compiled to JS go up to complete virtual PC,
> for example for running DOS in a browser window.

I've seen examples of things like that.  The Internet Archive has a
beta effort now devoted to DOS games that uses virtualized DOSBOX
instances to display them in a browser window, with lots of JS
implementing the interface.

> For playing video in DOS, mpxplay and similar players using for
> example ported ffmpeg libraries can be used, quite versatile.

You *can*.  I generally have no pressing reason to actually *do* it,
beyond seeing whether it can be done.

> Regards, Eric
______
Dennis
https://plus.google.com/u/0/105128793974319004519

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to