Native apps written in TypeScript and CSS

(github.com)

47 points | by arbayi 2 hours ago ago

9 comments

  • bertili 2 hours ago ago

    Not apparent at first, but this is a TypeScript to c++ compiler at the core (https://github.com/geastack/compiler), with bindings for various platforms.

  • zerr an hour ago ago

    What do they use for graphics and audio?

    • dashersw an hour ago ago

      Each platform has its native bindings. For graphics, you write CSS and HTML canvas API as well as JSX, it renders to native components and their alignments, the canvas API is converted to native surfaces, whatever the platform uses.

      • zerr an hour ago ago

        I mean, is it OpenGL, Vulkan, Metal? etc...

  • sublinear an hour ago ago

    Ah this is for embedded apps. Pretty neat!

  • tarcon an hour ago ago

    "The earlier implementation could not be driven to zero of them, because boxing was load-bearing in its emitter"

    In the docs of the repo of their TS to C++ compiler. https://github.com/geastack/compiler