\

Native apps written in TypeScript and CSS

51 points - today at 7:42 PM

Source
  • bertili

    today at 8:16 PM

    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

      today at 8:26 PM

      What do they use for graphics and audio?

        • zero_shift

          today at 9:58 PM

          It's not clear at first glance, but given (1) the apps are written in JavaScript (2) the project has repos for different OS native bindings, my bet is some kind of embedded JavaScript engine that just calls through to OS native widets

          • dashersw

            today at 8:28 PM

            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

                today at 8:49 PM

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

        • sublinear

          today at 8:25 PM

          Ah this is for embedded apps. Pretty neat!

        • nuk3

          today at 9:34 PM

          [dead]

          • tarcon

            today at 8:28 PM

            "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