Native apps written in TypeScript and CSS

(github.com)

39 points | by arbayi 1 hour ago

4 comments

  • bertili 1 hour 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 56 minutes ago
    What do they use for graphics and audio?
    • dashersw 53 minutes 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 32 minutes ago
        I mean, is it OpenGL, Vulkan, Metal? etc...
  • sublinear 57 minutes ago
    Ah this is for embedded apps. Pretty neat!
    • dashersw 41 minutes ago
      It also supports iOS, macOS, Android, Windows, Linux, XBox for Three.js games, as well as (some) Node.js apps.
      • jr3592 8 minutes ago
        could you throw a react project (WEB) at it and get a native macos project out of it?
  • tarcon 53 minutes 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