Post Reply 
Gentle Reminder: hpprgm
04-05-2014, 06:42 PM (This post was last modified: 04-05-2014 06:43 PM by debrouxl.)
Post: #11
RE: Gentle Reminder: hpprgm
Quote:Well I was just thinking on a simplistic approach for restricted environment (i.e. a microprocessor with ethernet to read the version of the file to know if it is supported or no Tongue rather than parsing the xml)
But then, with more files into the container, you're complicating container parsing Smile

Ultra-constrained environments wouldn't treat the files we're envisioning in the first place, as screenshots and .hpprgm files can be hundreds of KBs (currently, as shown by the documents generated by TI-Planet's mViewer GX Creator, beyond 1 MB, not only the slow transfer rate is tiresome, but instability ensues when trying to launch the programs). However, but both JSON and XML can be parsed on the fly, and in an absolute worst case (without a JSON or StAX parser), one could parse:
* for JSON: {, then optional whitespace, then e.g. ", version, ", optional whitespace, :, optional whitespace, text to integer, comma;
* for XML: <?xml version="1.0" encoding="UTF-8"?>, optional whitespace, <!DOCTYPE ...>, optional whitespace, <some root tag>, optional whitespace, <version>, text, </version>, and decode the text.

I'm aware of both the existence of mkbundle, and the bloat of the generated solution Smile
It's not just .Net / Mono: embedding a subset of the Java VM + class library, even in Java 8 times, or Python, Perl and friends, would yield similar results to embedding a subset of the .Net / Mono VM + class library.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Gentle Reminder: hpprgm - Tim Wessman - 03-28-2014, 10:17 PM
RE: Gentle Reminder: hpprgm - jebem - 03-31-2014, 09:12 PM
RE: Gentle Reminder: hpprgm - jte - 01-20-2023, 02:39 AM
RE: Gentle Reminder: hpprgm - eried - 04-04-2014, 10:18 PM
RE: Gentle Reminder: hpprgm - patrice - 04-04-2014, 10:58 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014, 08:14 AM
RE: Gentle Reminder: hpprgm - eried - 04-05-2014, 04:11 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014, 04:31 PM
RE: Gentle Reminder: hpprgm - eried - 04-05-2014, 04:45 PM
RE: Gentle Reminder: hpprgm - debrouxl - 04-05-2014 06:42 PM
RE: Gentle Reminder: hpprgm - Tugdual - 04-05-2014, 08:00 PM
RE: Gentle Reminder: hpprgm - Han - 04-05-2014, 11:47 PM
RE: Gentle Reminder: hpprgm - Tim Wessman - 04-06-2014, 01:58 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-10-2015, 03:21 PM
RE: Gentle Reminder: hpprgm - bobkrohn - 03-12-2015, 12:20 AM
RE: Gentle Reminder: hpprgm - Thomas_Sch - 03-12-2015, 07:28 AM
RE: Gentle Reminder: hpprgm - DrD - 03-12-2015, 10:01 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 10:58 AM
RE: Gentle Reminder: hpprgm - DrD - 03-12-2015, 11:23 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 11:32 AM
RE: Gentle Reminder: hpprgm - Marcio - 03-12-2015, 11:35 AM



User(s) browsing this thread: 4 Guest(s)