Imagine an application in FLASH (for display of videos, streaming, dynamic media, etc.) and C (memory control, internal http server for communication between flash and C, storage management, etc.) hardware. It works? Yes, it is what we have so far and is doing very well, however, FLASH is "finished" and well limited, and an absurd consumption of memory.
My idea is: Migrate from FLASH to HTML5 and JS. However, I am not very knowledgeable about these technologies and I have some doubts, which are them:
• Javascript is a language that does not have strong typing as well as flash, so memory consumption (any little consumed within a hardware with little memory is too much) becomes equivalent to or less than FLASH (this is based on way, and not how the code is programmed)?
• Javascript is not multithreaded, but I saw that there are libraries that can "do this". What is the most recommended in this situation? Basically I need to do a state machine, however, I wanted to be able to separate the tasks into different threads.
AngularJS: I'm thinking of using this framework due to the fact that it is possible to implement tests, it is an MVC framework (today the code that runs is very structured), easy calls to HTTP servers, and also because it does not depend on our C library (I think it's a lot to mokar for development right?). This is the best for this kind of situation that I have described (there is also the detail of the databind that will be a little useful since the application has a 6 configuration screens and such)?• HTML5: Is it recommended for streaming videos? Does it have native support for this, or is it necessary to use third-party libraries?
Well, that was it. A big hug to everyone!