← Back to context

Comment by pmarreck

6 years ago

It's true that things went from embedded Java applets (or, eh, ActiveX objects, thanks Microsoft!) to embedded Flash applets to... HTML5/Canvas, but the latter does seem finally stable-ish, especially once web assembly is widespread (which it kinda is, already: https://caniuse.com/#search=wasm)

The technological endurance of LaTeX is legendary, though

Forgive me but the page says "WebAssembly or "wasm" is a new portable, size- and load-time-efficient format suitable for compilation to the web." It is the "new" part that makes me shy.

  • It IS newish and it is fair to be cautious of new things, but this one may stick around for awhile, as it's mostly just a modification/refinement of what Emscripten was already doing successfully https://github.com/emscripten-core/emscripten acting as a build target for the vast majority of C/C++ code out there, and Emscripten is not at all new. Here are some demos/examples to show what it's already accomplished: https://github.com/emscripten-core/emscripten/wiki/Porting-E...

    And JavaScript itself (for better or worse) isn't going anywhere, it is literally "too big to fail" at this point.

    I'm a web developer and have been following this space since the Web came out, these are just my best educated guesses. I would deem "developing with a target of HTML5/Canvas/JS/emscripten/wasm" to be future-proof for the foreseeable future (the next 10 years).

    BONUS: You may already know about being able to convert LaTeX to HTML5 via JS, but just in case you haven't, this is pretty cool: https://latex.js.org/

    • Thanks. I was unaware of the web page. I've saved a bookmark.

      I'll trade you. I perceive that the standard for conversion at this point, which you may not know about, is https://www.tug.org/tex4ht/.

      (Sorry, do you know the author of the latex.js package? I would like to contact him.)

      1 reply →