Code Monkey home page Code Monkey logo

Comments (4)

let-def avatar let-def commented on July 30, 2024

It seems that this features and some other we have discussed will require an overhaul of the UI... Or rather, a proper UI rather than the current hack ;). I would like to get there eventually, but is will take time.

My plan is to write a new feature-equivalent UI in a modular way (I took some note on how I would like this), and once this is stable, experiment improvements (adding an help screen, moving some keyboard shortcuts to buttons for better discoverability, etc).

from texpresso.

gasche avatar gasche commented on July 30, 2024

I wonder if it is possible to isolate the "viewer" part of texpresso and implement it into some easier-to-use language that has a decent SDL API and is more likely to attract external contributions, for example OCaml^WPython. There is no shortage of UI features that would be reasonable, probably more than you want to work on yourself. Or maybe it is possible in the medium term to tweak an existing UI, just like you have done for the rendering part.

from texpresso.

DominikPeters avatar DominikPeters commented on July 30, 2024

I've also wondered if it would be possible to let extensions take care of doing the viewing, maybe by letting texpresso output bitmaps of the current page, or (partial) updates to previously communicated bitmaps. I don't know if there is a risk that such message passing would be a big performance hit.

from texpresso.

let-def avatar let-def commented on July 30, 2024

The viewer is in a sense already partially isolated in the form of the "engine" abstraction in the code, though it still uses a lot of side-channels for communication. I plan to make it more reusable so that one could plug a custom UI, but I don't have time for that right now.

A client enabling "remote use" by sharing bitmaps sounds like a good way to validate the design. To avoid a performance hit, the traditional way to achieve this locally has been to setup shared memory between the consumer and the producer (see, for instance, https://en.wikipedia.org/wiki/MIT-SHM). If possible for your use case, that would be nice. If not, there is enough memory bandwidth on a modern computer for a simple protocol to be performant enough.

from texpresso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.